[sf-lug] installing ubuntu but wanting a fixed ip address

Alex Kleider a_kleider at yahoo.com
Wed Nov 5 15:25:24 PST 2008

--- On Wed, 11/5/08, Asheesh Laroia <asheesh at asheesh.org> wrote:

> > sudo ifup eth0
> ..."ifup eth0" will happen at boot.
> To show this, remove your rc_local line, and then reboot. 
> eth0 will be up just fine.
> Also, rc_local (isn't it rc.local?) is run as root, so
> the extra "sudo" is unnecessary and meaningless.
> I agree with Jim that you should definitely not need to
> hand-muck with /etc/resolv.conf, let alone its attributes!

Let me emphasize that I agree that one _should_ not need to hand-muck with /etc/resolv.conf..
BUT until I made some entries to what was an empty file, things didn't work.
I've done some experimentation and canceling the immutability of that file DID NOT break the system.
However removing the 
sudo ifup eth0 
from the /etc/init.d/rc.local file DID break the system.
(When I put it back I'll skip the sudo part:-)
Again I agree that eth0 is probably brought up somewhere else in the init sequence and I shouldn't have to do it...
BUT it is not up when the system finishes booting; it just isn't!
(until I do the sudo ifup eth0 from the command line OR put ifup eth0 into a last line in /etc/init.d/rc.local and have it there during boot time)
Another interesting thing is that the little icon showing two terminals indicating the network connection is no longer ever there and I never knowingly disabled network manager.
I had the same problem when ubuntu 7.10 was running on this machine before yesturday. You don't think it could be a hardware issue, could it?


More information about the sf-lug mailing list