[sf-lug] installing ubuntu but wanting a fixed ip address
jim at well.com
Wed Nov 5 09:41:50 PST 2008
for a command-line approach, what you did
seems right. you're not complaining about
too much typing, are you?
below i copied from an internet-available
tutorial on creating a static IP address
for an ubuntu host:
# The primary network interface
iface eth0 inet static
i used the above on my machine (slightly
adjusted for my LAN) without editing
resolv.conf or rc.local and the machine
works fine behind the linksys router that
sits as gateway to the internet.
On Tue, 2008-11-04 at 21:42 -0800, Alex Kleider wrote:
> I spent the evening installing Ubuntu 8.10 (while listening to the election results) but not without difficulties (with regard to Ubuntu, not the election:-) that I think do not speak well for Ubuntu.
> I'd be interested in others' comments.
> I wanted a fixed IP address for this machine.
> To achieve this I ended up having to edit the following files,each in the way indicated:
> /etc/resolv.conf : nameserver line(s) and making this file immutable
> /etc/network/interfaces: static, address, netmask, default, etc
> /etc/init.d/rc.local: added line ifup eth0
> Things now seem to be working but surely there must (or should be) an easier way.
> "I'll take my answer off the air."
> a_kleider at yahoo.com
> sf-lug mailing list
> sf-lug at linuxmafia.com
More information about the sf-lug