Ubuntu 12.10 没有网络和图形

Ubuntu 12.10 没有网络和图形

我最近将 Ubuntu 12.04 升级到了 12.10,结果发现它无法连接到任何网络,无论是有线还是无线,而且由于屏幕分辨率低,图形也很混乱。

对于 12.04,我的系统运行完美。我不知道为什么升级会搞得这么糟。重新安装操作系统是一个问题,因为我已经设置了很多开发环境,我负担不起再次设置它们。

一些输出:

lspci -nn | grep 0200

02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 02)

nm-tool

NetworkManager Tool

State: disconnected

cat /etc/network/interfaces

auto lo
iface lo inet loopback

sudo cat /var/log/syslog | grep etwork | tail -n20

Nov  2 13:50:22 Cobalt NetworkManager[978]:    SCPlugin-Ifupdown: (-1240454760) ... get_connections (managed=false): return empty list.
Nov  2 13:50:22 Cobalt NetworkManager[978]:    Ifupdown: get unmanaged devices count: 0
Nov  2 13:50:22 Cobalt bluetoothd[1016]: Failed to init network plugin
Nov  2 13:50:22 Cobalt NetworkManager[978]: <info> modem-manager is now available
Nov  2 13:50:22 Cobalt NetworkManager[978]: <info> monitoring kernel firmware directory '/lib/firmware'.
Nov  2 13:50:22 Cobalt NetworkManager[978]: <info> WiFi enabled by radio killswitch; enabled by state file
Nov  2 13:50:22 Cobalt NetworkManager[978]: <info> WWAN enabled by radio killswitch; enabled by state file
Nov  2 13:50:22 Cobalt NetworkManager[978]: <info> WiMAX enabled by radio killswitch; enabled by state file
Nov  2 13:50:22 Cobalt NetworkManager[978]: <info> Networking is enabled by state file
Nov  2 13:50:22 Cobalt NetworkManager[978]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
Nov  2 13:50:22 Cobalt NetworkManager[978]: <warn> /sys/devices/virtual/net/lo: couldn't determine device driver; ignoring...
Nov  2 13:50:22 Cobalt NetworkManager[978]: <warn> bluez error getting default adapter: Message did not receive a reply (timeout by message bus)
Nov  2 13:50:22 Cobalt NetworkManager[978]: <warn> bluez error getting default adapter: Message did not receive a reply (timeout by message bus)
Nov  2 13:50:22 Cobalt kernel: [   28.688167] type=1400 audit(1351882222.452:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1046 comm="apparmor_parser"
Nov  2 13:50:22 Cobalt bluetoothd[1062]: Failed to init network plugin
Nov  2 13:50:22 Cobalt NetworkManager[978]: <warn> bluez error getting default adapter: Message did not receive a reply (timeout by message bus)
Nov  2 13:50:22 Cobalt bluetoothd[1118]: Failed to init network plugin
Nov  2 13:50:22 Cobalt NetworkManager[978]: <warn> bluez error getting default adapter: Message did not receive a reply (timeout by message bus)
Nov  2 13:50:22 Cobalt bluetoothd[1237]: Failed to init network plugin
Nov  2 13:50:22 Cobalt NetworkManager[978]: <warn> bluez error getting default adapter: Message did not receive a reply (timeout by message bus)

ps aux | grep -i network

root       978  0.0  0.1  23732  4808 ?        Ssl  13:50   0:00 NetworkManager

sudo modprobe -r forcedeth

FATAL: Module forcedeth not found

答案1

sudo apt-get remove bcmwl-kernel-source

sudo apt-get purge bcmwl-kernel-source

sudo apt-get install linux-firmware-nonfree

我发现,按照这些说明并重新启动机器可以修复无线适配器。不要通过系统设置、附加驱动程序安装 Broadcom 专有驱动程序,否则您将把所有驱动程序重置为无法正常工作的驱动程序!

答案2

我也遇到了同样的情况,但我只是再次运行更新管理器,而没有连接我的电缆或移动宽带。更新管理器告诉我有可用的更新下载但尚未安装,然后我单击安装并重新启动计算机。一切正常。试试看。

答案3

与阿迪尔·埃尔西尔 (Adil Elsir) 的经历非常相似。

我从 12.04 升级到了 12.10。升级过程结束时,系统提示发生了一些错误。我查看了一下,但没发现什么有用的信息,所以重启了系统。然后出现了同样的症状:VGA 模式,没有网络。sudo restart networking桌面也崩溃了。

于是我尝试了sudo apt-get upgrade,它提示我出了点问题,我应该尝试强制安装,所以我照做了sudo apt-get upgrade -f,然后重启了几次。我再次尝试升级,他告诉我还有更多软件包被“保留”了。最值得注意的是 linux-image-generic (!)。apt-cache policy linux-image-generic告诉我我运行的是 3.2,可以安装 3.5。所以我照做了sudo apt-get dist-upgrade,一切进展顺利。

然而,重启时我遇到了内核崩溃(今天可不是这样)。但再次重启并在 grub 中选择内核 3.2 后,我便可以正常登录桌面并查看图形和网络。太棒了!

tl;dr 继续通过以下方式sudo apt-get upgrade -f升级sudo apt-get dist-upgrade

相关内容