Static ip problem with Ubuntu 9.10
Posted: Sat Apr 24, 2010 11:26 pm
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
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