F8 Network Woe

Jonathan Allen jonathan at barumtrading.co.uk
Mon Dec 10 17:20:23 UTC 2007


On Mon, Dec 10, 2007 at 04:21:27PM +0000, Mike wrote:
> 
> It might be worth trying the following:
> ifdown eth0

OK, that worked

> Edit /etc/resolv.conf as it might have got emptied during the attempt to
> get the interface up with dhcp. Make sure you have something sensible in
> it - preferably the same content as when it was working earlier. Make sure
> you have a search line containing the right dns server address.

It keeps getting purged by Network Manager; with that disabled, it will
keep contents set by vi

> Then ifconfig eth0 192.168.1.50 up (or some other unused ip address)

Yes, that came up.  I could now ping the local network.

   # route
   Destination     Gateway         Genmask        Flags Metric Ref   Use Iface
   192.168.1.0     *               255.255.255.0  U     0      0       0 eth0

but I couldn't see any other machines or get a DNS lookup to work.  By hand
I typed:

   # route add default gw 192.168.1.126 eth0
   # route
   Destination     Gateway         Genmask        Flags Metric Ref   Use Iface
   192.168.1.0     *               255.255.255.0  U     0      0       0 eth0
   default         192.168.1.126   0.0.0.0        UG    0      0       0 eth0

and now I can work properly.  It won't come up again automatically on boot
and Network Manager will trash it completely.

Jonathan




More information about the users mailing list