Networking stopped working on Ubuntu

Posted by 1337Rooster on Super User See other posts from Super User or by 1337Rooster
Published on 2010-12-06T06:15:58Z Indexed on 2011/07/01 8:25 UTC
Read the original article Hit count: 1085

Filed under:
|

I installed Ubuntu 10.04 through the Wubi installer (Funny, I installed it today and thought I would have gotten 10.10). I had a network connection and everything was working fine. I rebooted my coumputer a couple of times and then suddenly, I could not connect to the network and when I click the wireless/networking icon it says "Networking Disabled".

I reinstalled Ubuntu and the problem went away. After a few reboots the problem returned. I have tried restarting to see if it would come back as well as a few other things listed below. Any other suggestions would be appreciated.

Tried to restart networking via /etc/init.d/networking:

[email protected]:~$ sudo /etc/init.d/networking restart
 * Reconfiguring network interfaces...                                          Ignoring unknown interface eth0=eth0.
                                                                         [ OK ]

Tried to stop and start it:

[email protected]:~$ sudo /etc/init.d/networking stop
 * Deconfiguring network interfaces...                                   [ OK ] 
[email protected]:~$ 
[email protected]:~$ sudo /etc/init.d/networking start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service networking start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start networking
networking stop/waiting

Tried start networking:

[email protected]:~$ start networking
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.58" (uid=1000 pid=2241 comm="start) interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))
[email protected]:~$ sudo start networking
networking stop/waiting

Tried service networking restart:

[email protected]:~$ service networking restart
restart: Rejected send message, 1 matched rules; type="method_call", sender=":1.60" (uid=1000 pid=2248 comm="restart) interface="com.ubuntu.Upstart0_6.Job" member="Restart" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))
[email protected]:~$ sudo service networking restart
restart: Unknown instance: 

Here are the contents of my /etc/network/interfaces.

auto lo
iface lo inet loopback

I even tried to modify it to this (based on something I read, online, not sure if I was doing the right thing here). Tried everything again and no luck:

auto lo eth0
iface lo inet loopback

iface eth0 inet dhcp

© Super User or respective owner

Related posts about networking

Related posts about ubuntu