Comment 19 for bug 259214

Revision history for this message
Shirish Agarwal (shirishag75) wrote :

Hi all,
       I dunno much about stuff but I got this while restarting networking (most of the times I think I'm on Auto DHCP but dunno how that works)

sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces... /etc/network/interfaces:5: misplaced option
ifdown: couldn't read interfaces file "/etc/network/interfaces"
/etc/network/interfaces:5: misplaced option
ifup: couldn't read interfaces file "/etc/network/interfaces"
                                                                                                           [fail]

These are the changes I had done on /etc/network/interfaces

 cat /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth1 inet static
address 192.168.1.2
netmask 255.255.255.0

This is what /etc/resolv.conf shows

 cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1

/etc/NetworkManager/nm-system-settings.conf
[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

Any ideas what's wrong anywhere?