Static ip problem with Ubuntu 9.10

Post freely any questions you have about fit-PC2
Post Reply
morten
Posts: 2
Joined: Sat Apr 24, 2010 11:18 pm

Static ip problem with Ubuntu 9.10

Post 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

morten
Posts: 2
Joined: Sat Apr 24, 2010 11:18 pm

Re: Static ip problem with Ubuntu 9.10

Post 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

Post Reply

Return to “General fit-PC2 questions”