On Fri, 22 Aug 2008 19:16:25 +1200
Aidan Gauland <[EMAIL PROTECTED]> wrote:

> Hello,
> 
>   I've got a really weird problem with my laptop.  What I've been doing that 
> has worked up until now is connect my laptop and desktop via a loopback 
> ethernet cable, and giving each a static IP address using the network manager 
> GUI (I'm using GNOME), and we're off.  When I try to do that now, the 
> laptop's 
> IP address changes to 169.254.93.80 within a few seconds of connecting (I can 
> see this only with ifconfig, but not the GUI).  Looking at the system log, I 
> see a bunch of messages about DHCPDISCOVER and eventually a message from 
> NetworkManager saying "No DHCP reply received.  Automatically obtaining IP 
> via 
> Zeroconf."  And goes on to say that it's using IP address 169.254.93.80
> 
>   I don't have the zeroconf package installed, and I can use the laptop on my 
> school's LAN with no problems.  The only recent change I have made to my 
> system is installing Firestarter, but I turned all that off to try and solve 
> this problem.
> 
> Thanks,
> Aidan

Looks like there's a dhcp client running on this box, and it's failing to find 
a dhcp server. Modify /etc/network/interfaces... ( change eth0 to the relevant 
one, and the IP addresses... )

iface eth0 inet dhcp

to ( as a minimum )

iface eth0 inet static
    address 10.0.0.100
    netmask 255.255.255.0
    gateway 10.0.0.254

Then run ( as root )

ifconfig eth0 10.0.0.100 netmask 255.255.255.0 up
route add default gw 10.0.0.254 

If you don't modify the config file as well as reconfiguring the interface, 
then it'll work for a while, then the system will try to reset the interface, 
and networking will fail again.

hth,

Steve



-- 
Steve Holdoway <[EMAIL PROTECTED]>

Reply via email to