Page 1 of 1

Static ip problem with Ubuntu 9.10

Posted: Sat Apr 24, 2010 11:26 pm
by morten
Hi

I have installed Ubuntu 9.10 on a new fitPC2i. Unfortunately I can only connect to the internet with dhcp not static ip.

Here is what I have done:

* Made the file /etc/network/interfaces with this content:

# The loopback interface
auto lo
iface lo inet loopback

auto eth1
iface eth1 inet static
address 192.168.1.2
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1

* Inserted my nameservers in the file /etc/resolv.conf

* Inserted my hostname in the file: /etc/hostname

I have succesfully used that configuration on my earlier Debian based servers.

An observation about /etc/network/interfaces: eth0 does not work (I receive error), only eth1 or eth2 works?

What do I do wrong? 'Ifconfig' show that the settings are understood by the server, but I'm not connected to the internet.

Best
Morten

Re: Static ip problem with Ubuntu 9.10

Posted: Tue Apr 27, 2010 10:50 pm
by morten
Hi again

I never solved the problem with Ubuntu 9.10 Desktop Edition. But I installed the Ubuntu 9.10 Server Edition and all the problems disappeared.

/Morten