Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] static ip
Date: Sun, 09 Aug 2009 08:04:56
Message-Id: 200908090904.50967.michaelkintzios@gmail.com
In Reply to: [gentoo-user] static ip by Andrey Vul
1 On Sunday 09 August 2009, Andrey Vul wrote:
2 > I somehow killed the dhcp in my openwrt router and failsafe mode
3 > requires a static IP address. Stopping net.eth0 and then running
4 > '#ifconfig eth0 up; ifconfig eth0 192.168.1.2' resulted with a 'No
5 > route to host' error when telnetting to 192.168.1.1 .
6
7 I think the No route to host means that your router interface is not up for
8 some reason.
9
10 Do you get the same problem if you run /etc/init.d/net.eth0 start and then you
11 run ifconfig eth0 192.168.1.2
12
13 Otherwise also run: route add default gw 192.168.1.1
14
15 HTH.
16 --
17 Regards,
18 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature