Hi all
This is on a Ubuntu VM, running 9.04.
I have an interface I am trying to setup, eth0 but i keep getting this error:
/etc/network/interfaces:5 option with empty value
But line 5 is the device name, which I clearly put as eth0.
this is my interfaces file:
Code:
root@ubuntu-vm:/etc/bind# vi /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
DEVICE=eth0
HWADDR=FA:16:3E:74:16:F8
IPADDR=10.120.36.63
NETMASK=255.255.252.0
ONBOOT=no
BOOTPROTO=static
TYPE=Ethernet
USERCTL=yes
IPV6INIT=no
GATEWAY=10.120.36.1
DNS1=10.120.36.63
NAME="System eth0"
NM_CONTROLLED=no
PEERDNS=yes
and this is my ifconfig:
Code:
root@ubuntu-vm:/etc/bind# ifconfig
eth0 Link encap:Ethernet HWaddr fa:16:3e:74:16:f8
inet addr:10.120.36.63 Bcast:10.120.39.255 Mask:255.255.252.0
inet6 addr: fe80::f816:3eff:fe74:16f8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:690 errors:0 dropped:0 overruns:0 frame:0
TX packets:627 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:90182 (90.1 KB) TX bytes:92450 (92.4 KB)
Can someone point out to me what am I missing?
Thanks
edit:
I should mention that I also tried the file without
Code:
auto eth0
iface eth0 inet static
but still get the same error about empty options.