on some linux do:
dd if=firmware.bin of=firmware.trx bs=32 skip=1
wget firmware.trx on /tmp of wrt54g
mtd -e linux -r write firmware.trx linuxreboot
root@OpenWrt:~# uci set wireless.@wifi-iface.encryption=psk2
root@OpenWrt:~# uci set wireless.@wifi-iface.key="your_password"
root@OpenWrt:~# uci commit wireless
Configuration is also possible via direct editing of
uci commit wireless
uci set wireless.@wifi-device.disabled=0 - can be other variable SEARCH disabled
uci show | grep disabled
and start it with
set new password for root with
password - this activate sshd after reboot and disable telnet
reenable dnsmasq and httpd and any in this dir /etc/rc.d/
It may seems that some of them are started but it's not so enable one by one.
Because wireless work devices are connected but can't get IP.
add your rules in
opkg list - for packages
opkg install name of package
You may need more of iptables pakages for TTL or some filtering or shaping !
They are named with "extra" at end
This is a good example of both adding a firewall rule to forward the TCP SSH port, and of the negative (-1) syntax used with uci.
uci add firewall rule uci set firewall.@rule[-1].src=wan
uci set firewall.@rule[-1].target=ACCEPT
uci set firewall.@rule[-1].proto=tcp
uci set firewall.@rule[-1].dest_port=22
uci commit firewall
change the wan MAC address.
/etc/config/network you can run the commands below to change the wan
uci set network.wan.macaddr="
uci commit network
ifdown wan && ifup wan