Pro instalaci nového firmwaru je třeba router přepnout do diagnostického módu.
Note: In diag mode, the router takes the address stored in nvram, usually 192.168.1.1, but if you changed the router's IP address in its original firmware or in the previously installed OpenWrt, it will use that. Once the installation is complete, the router's IP address will always be 192.168.1.1. In the further sections 192.168.1.1 is assumed.
To put the router in the diag mode, do this:
It responds to ping, so you can confirm that it is in diag mode and ready for the tftp by using “ping 192.168.1.1”.
It is possible to install OpenWrt using a TFTP client when the router is in diag mode.
tftp 192.168.1.1 (replace it with its real ip address) tftp> binary tftp> trace tftp> put openwrt-brcm-2.4-squashfs.trx
tftp -i 192.168.1.1 PUT openwrt-brcm-2.4-squashfs.trx
./ping_atftp 192.168.1.1 openwrt-brcm-2.4-squashfs.trx