comando para obter firmware limpo para o wr740n
make image PROFILE=tl-wr740n-v4 PACKAGES="luci -ip6tables -odhcpd-ipv6only -ppp -ppp-mod-pppoe -luci-proto-ipv6 -libip6tc -kmod-nf-conntrack6"
make image PROFILE=tl-wr740n-v4 PACKAGES="luci -ip6tables -odhcpd-ipv6only -ppp -ppp-mod-pppoe -luci-proto-ipv6 -libip6tc -kmod-nf-conntrack6"
cat /tmp/sysinfo/model
sysupgrade - se o firmware atual do router for openwrt
factory - se o firmware atual do router for o original da tplink
a versão do aparelho e do firmware têm que coincidir
ex:
openwrt-15.05.1-ar71xx-generic-tl-wr740n-v1-squashfs-factory.bin - firmware para router da versão v1(.x) ainda com firmware original
openwrt-15.05.1-ar71xx-generic-tl-wr740n-v4-squashfs-sysupgrade.bin - firmware para router da versão v4(.x) já com firmware openwrt
para testar alterar System|Schelude Tasks:
WINDOWS
https://wiki.openwrt.org/doc/recipes/terminate.console.on.serial
First method (NO need re-build the Kernel):
1. Edit sysctl.conf file on your device:
/etc/sysctl.conf
Add the new line at the begining of this file:
kernel.printk = 0 4 1 7
2. Edit inittab file on your device:
/etc/inittab
up to revision r28294
Find line in this file:ttyS0::askfirst:/bin/ash --login
ttyATH0::askfirst:/bin/ash --login
ping 192.168.80.14>/dev/null 2>&1 &
obter lista de estações ligadas
iw dev wlan0 station dump
estatísticas relativas à estação com mac 34:de:1a:xx:yy:zz
iw wlan0 station get 34:de:1a:xx:yy:zz
consultar o domínio regulatório
iw reg get
alterar o domínio regulatório
iw reg set XX
verificar capacidade do hardware
iw phy0 info
alterar a potência de transmissão (50mW - 17dBm):
iw phy phy0 set txpower fixed 17000
cd /tmp/
wget http://luci.subsignal.org/~jow/reghack/reghack.mips.elf
chmod +x reghack.mips.elf
./reghack.mips.elf /lib/modules/*/ath.ko
./reghack.mips.elf /lib/modules/*/cfg80211.ko
reboot
http://wiki.openwrt.org/doc/faq/faq.wireless
http://luci.subsignal.org/~jow/reghack/