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?
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 interfaces: 5: misplaced option interfaces" interfaces: 5: misplaced option interfaces"
[fail]
* Reconfiguring network interfaces... /etc/network/
ifdown: couldn't read interfaces file "/etc/network/
/etc/network/
ifup: couldn't read interfaces file "/etc/network/
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/NetworkMan ager/nm- system- settings. conf ifupdown, keyfile
[main]
plugins=
[ifupdown]
managed=true
Any ideas what's wrong anywhere?