1 |
On 9 Aug 2009, at 08:01, Andrey Vul wrote: |
2 |
|
3 |
> I somehow killed the dhcp in my openwrt router and failsafe mode |
4 |
> requires a static IP address. Stopping net.eth0 and then running |
5 |
> '#ifconfig eth0 up; ifconfig eth0 192.168.1.2' resulted with a 'No |
6 |
> route to host' error when telnetting to 192.168.1.1 . |
7 |
|
8 |
Better to edit /etc/conf.d/net for static IP, then restart /etc/init.d/ |
9 |
net.eth0 |
10 |
|
11 |
See /etc/conf.d/net.example |
12 |
|
13 |
Probably something like: |
14 |
|
15 |
config_eth0=( "192.168.1.44 netmask 255.255.255.0 broadcast |
16 |
192.168.1.255" ) |
17 |
routes_eth0=( "default via 192.168.1.1" ) |
18 |
|
19 |
Stroller. |