我通过Wubi安装程序安装了Ubuntu 10.04(有趣的是,我今天安装了它,并以为我会得到10.10)。我有网络连接,并且一切正常。我几次重新启动计算机,然后突然无法连接到网络,当我单击无线/网络图标时,它显示“网络已禁用”。
我重新安装了Ubuntu,问题消失了。重启几次后,问题返回。我尝试重新启动,看看是否还会回来以及下面列出的其他一些内容。任何其他建议,将不胜感激。
尝试通过/etc/init.d/networking重新启动网络:
amato@ubuntu:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... Ignoring unknown interface eth0=eth0.
[ OK ]
试图停止并启动它:
amato@ubuntu:~$ sudo /etc/init.d/networking stop
* Deconfiguring network interfaces... [ OK ]
amato@ubuntu:~$
amato@ubuntu:~$ 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
尝试开始联网:
amato@ubuntu:~$ 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"))
amato@ubuntu:~$ sudo start networking
networking stop/waiting
尝试重新启动服务网络:
amato@ubuntu:~$ 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"))
amato@ubuntu:~$ sudo service networking restart
restart: Unknown instance:
这是我的/ etc / network / interfaces的内容。
auto lo
iface lo inet loopback
我什至试图对此进行修改(根据我在网上阅读的内容,不确定我在这里做的是否正确)。再次尝试了一切,没有运气:
auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp
sudo service networking restart
,出现什么消息/var/log/syslog
?
ifconfig
哪个助手的输出来诊断正在发生的事情吗?