On 9 Aug 2009, at 08:01, Andrey Vul wrote:
I somehow killed the dhcp in my openwrt router and failsafe mode
requires a static IP address. Stopping net.eth0 and then running
'#ifconfig eth0 up; ifconfig eth0 192.168.1.2' resulted with a 'No
route to host' error when telnetting to 192.168.1.1 .
Better to edit /etc/conf.d/net for static IP, then restart /etc/init.d/
net.eth0
See /etc/conf.d/net.example
Probably something like:
config_eth0=( "192.168.1.44 netmask 255.255.255.0 broadcast
192.168.1.255" )
routes_eth0=( "default via 192.168.1.1" )
Stroller.