doc:appunti:hardware:tl-wr741nd
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
doc:appunti:hardware:tl-wr741nd [2014/02/23 22:56] – created niccolo | doc:appunti:hardware:tl-wr741nd [2014/02/24 09:33] – [TP-LINK TL-WR741ND] niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== TP-LINK TL-WR741ND ====== | ====== TP-LINK TL-WR741ND ====== | ||
- | Wireless router with detachable antenna, upgradable with OpenWrt. Follow the instructions on the [[http:// | + | Wireless router with detachable antenna, upgradable with OpenWrt. Follow the instructions on the [[http:// |
- | This is the recipe for installing OpenWrt from trunk (BARRIER BREAKER, Bleeding Edge, r39638): | + | ^ CPU | Atheros AR9330 |
+ | ^ RAM | 32 Mb | | ||
+ | ^ Flash | 4 Mb | | ||
- | - Factory reset the router | + | |
- | - Download the [[http:// | + | * [[http:// |
- | - Use the original | + | ===== First OpenWrt installation ===== |
- | - Connect with telenet 192.168.1.1 and set the root password. | + | |
- | - Connect with ssh root@192.168.1.1 | + | This is the recipe to install OpenWrt, I used trunk (BARRIER BREAKER, Bleeding Edge, r39638): |
+ | |||
+ | - Reset the router | ||
+ | - Download the [[http:// | ||
+ | - Connecto to '' | ||
+ | - Connect with '' | ||
+ | - Connect with '' | ||
+ | |||
+ | ===== OpenWrt upgrade ===== | ||
+ | |||
+ | - Download the [[http:// | ||
+ | - Execute '' | ||
+ | |||
+ | ===== Exploring the system ===== | ||
< | < | ||
- | cat / | + | # cat / |
system type : Atheros AR9330 rev 1 | system type : Atheros AR9330 rev 1 | ||
machine | machine | ||
Line 30: | Line 45: | ||
VCED exceptions | VCED exceptions | ||
VCEI exceptions | VCEI exceptions | ||
+ | </ | ||
+ | |||
< | < | ||
+ | # free | ||
+ | | ||
+ | Mem: | ||
+ | -/+ buffers: | ||
+ | Swap: 0 0 0 | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | # cat / | ||
+ | dev: size | ||
+ | mtd0: 00020000 00010000 " | ||
+ | mtd1: 00104e2c 00010000 " | ||
+ | mtd2: 002cb1d4 00010000 " | ||
+ | mtd3: 00100000 00010000 " | ||
+ | mtd4: 00010000 00010000 " | ||
+ | mtd5: 003d0000 00010000 " | ||
+ | </ | ||
+ | |||
+ | We need OpenVPN and some other extra packages. Due low flash space we opted for libpolarssl SSL implementation, | ||
+ | |||
+ | * coreutils, coreutils-base64 | ||
+ | * etherwake, wol | ||
+ | * kmod-tun, libbz2, liblzo, libpolarssl, | ||
+ | * libpcap, tcpdump-mini | ||
+ | |||
+ | This is the **free space (84 kb)** after installing them: | ||
+ | |||
+ | < | ||
+ | # df -h | ||
+ | Filesystem | ||
+ | rootfs | ||
+ | / | ||
+ | tmpfs 14.1M | ||
+ | / | ||
+ | overlayfs:/ | ||
+ | tmpfs | ||
+ | </ | ||
+ | |||
+ | Some interesting lines from **'' | ||
+ | |||
+ | < | ||
+ | Memory: 28644k/ | ||
+ | |||
+ | ar933x-uart: | ||
+ | console [ttyATH0] enabled, bootconsole disabled | ||
+ | |||
+ | m25p80 spi0.0: en25q32b (4096 Kbytes) | ||
+ | 5 tp-link partitions found on MTD device spi0.0 | ||
+ | |||
+ | ag71xx-mdio.1: | ||
+ | eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII | ||
+ | ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1: | ||
+ | eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII | ||
+ | </ | ||
+ |
doc/appunti/hardware/tl-wr741nd.txt · Last modified: 2021/02/26 10:22 by niccolo