Re: [Hampshire] Static IP address keeps changing

Top Page

Reply to this message
Author: Tim
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Static IP address keeps changing
On Saturday 09 December 2006 17:08, Tony Whitmore wrote:
> Tim wrote:
> > On Saturday 09 December 2006 15:43, Tony Whitmore wrote:
> >> You probably have a DHCP client (like dhclient or dhcpc) running. This
> >> will keep over-writting static configuration information every time the
> >> DHCP lease is up for renewal.
> >
> > Thanks Tony dhclient was running, so I have killed it off.
> >
> > Not sure why dhclient starting on bootup is causing a problem as I never
> > had this problem till after last weeks bab, this box has been on static
> > IP since I have had it.
>
> <snip>
>
> > How do I stop dhclient from loading at bootup without uninstalling it?
>
> Well, your /etc/network/interfaces file should control whether dhclient
> is starting or not, and it looks correct to me. Who helped you set up
> your networking at the meeting? Perhaps they did something a little...
> non-standard?
>
> Tony


My box is normally static, once Adrian and Hugo got the router running (Adrian
had to pinch my keyboard!!) I had to switch to dhcp, so I asked Hugo how who
told me to hash out the static bits /etc/network/interfaces and add the lines
for dhcp, restart the network and that was it.

When I got home I simply hashed the dhcp bits (ready for my next bab
attendance) and unhashed the static lines saved the file did a restart and
the rest is history.

Tim

        
___________________________________________________________
All New Yahoo! Mail – Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html