升级到 12.10 后没有互联网

升级到 12.10 后没有互联网

我昨天升级到了 Quantic;它可以在 Macbook Pro 上运行。在使用启动修复来启动 Ubuntu(通过 Live CD)后,我发现自己无法连接到互联网,无论是以太网还是无线。

当我尝试ping ubuntu.com从默认的 Ubuntu 终端执行时,我得到的唯一答案是ping: unknown host ubuntu.com

以下是一些事实:

  • 电脑是macbook pro(带的“MacBookPro3,1” sudo dmidecode -s system-product-name);
  • 通过路由器(装有Tomato)提供互联网;
  • 本地网络运行良好:我可以 ping 其他设备,通过 fstab 安装 NAS 卷等。
  • 其他设备可以连接到互联网;这就是我写这个问题的方式。
  • 我在 askubuntu.com 和其他网站上搜索过,但所有尝试都无果。

任何帮助将非常感激! :)

以下是 alspci -nnk给我的结果:

  Subsystem: Apple Inc. Device [106b:00a0]
00:01.0 PCI bridge [0604]: Intel Corporation Mobile PM965/GM965/GL960 PCI Express Root Port [8086:2a01] (rev 03)
  Kernel driver in use: pcieport
  Kernel modules: shpchp
00:1a.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 [8086:2834] (rev 03)
  Kernel driver in use: uhci_hcd
00:1a.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 [8086:2835] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: uhci_hcd
00:1a.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 [8086:283a] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: snd_hda_intel
  Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 [8086:283f] (rev 03)
  Kernel driver in use: pcieport
  Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 [8086:2843] (rev 03)
  Kernel driver in use: pcieport
  Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 [8086:2847] (rev 03)
  Kernel driver in use: pcieport
  Kernel modules: shpchp
00:1c.5 PCI bridge [0604]: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 [8086:2849] (rev 03)
  Kernel driver in use: pcieport
  Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 [8086:2830] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 [8086:2831] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 [8086:2832] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 [8086:2836] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev f3)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801HM (ICH8M) LPC Interface Controller [8086:2815] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel modules: lpc_ich
00:1f.1 IDE interface [0101]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller [8086:2850] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: ata_piix
00:1f.2 IDE interface [0101]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [IDE mode] [8086:2828] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: ata_piix
00:1f.3 SMBus [0c05]: Intel Corporation 82801H (ICH8 Family) SMBus Controller [8086:283e] (rev 03)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel modules: i2c-i801
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G84 [GeForce 8600M GT] [10de:0407] (rev a1)
  Subsystem: Apple Inc. Device [106b:00a0]
  Kernel driver in use: nvidia
  Kernel modules: nvidia_current, nouveau, nvidiafb
0b:00.0 Network controller [0280]: Atheros Communications Inc. AR5418 Wireless Network Adapter [AR5008E 802.11(a)bgn] (PCI-Express) [168c:0024] (rev 01)
  Subsystem: Apple Inc. AR5BXB72 802.11abgn Mini PCIe Card [AR5008E-3NX] [106b:0087]
  Kernel driver in use: ath9k
  Kernel modules: ath9k
0c:00.0 Ethernet controller [0200]: Marvell Technology Group Ltd. 88E8058 PCI-E Gigabit Ethernet Controller [11ab:436a] (rev 13)
  Subsystem: Marvell Technology Group Ltd. Imac 8,1 Wired Ethernet Adapter [11ab:00ba]
  Kernel driver in use: sky2
  Kernel modules: sky2
0d:03.0 FireWire (IEEE 1394) [0c00]: Texas Instruments TSB82AA2 IEEE-1394b Link Layer Controller [104c:8025] (rev 02)
  Kernel driver in use: firewire_ohci
  Kernel modules: firewire-ohci

答案1

我遇到了同样的问题,并通过禁用 dnsmask 解决了该问题。运行:

gksu gedit /etc/NetworkManager/NetworkManager.conf

并注释掉以下dns=dnsmaaq行:

[main]
plugins=ifupdown,keyfile
dns=dnsmasq

#在其前面写上以下内容来注释掉它:

[main]
plugins=ifupdown,keyfile
#dns=dnsmasq

然后,要应用您的更改,请重新启动或重启网络。

答案2

我终于找到了解决这个问题的方法。我不知道这样做是否正确,但对我来说很有效。以下是我根据以下信息所做的工作:网络配置 > 动态 IP 地址分配(DHCP 客户端)

我用 vi 打开了“/etc/network/interfaces”:

sudo vi /etc/network/interfaces

该文件的实际状态是:

auto lo
iface lo inet loopback

我将其更改为 dhcp 因为我使用路由器作为 DHCP 服务器:

auto eth0
iface eth0 inet dhcp

我还使用以下命令重新启动了“网络”服务:

sudo restart networking

然后我就能上网了。:)

我不太清楚为什么升级到 12.10 后这个文件会发生变化。也许其他逻辑已经改变,这是一个副作用;我说不准。不过,如果你遇到类似的问题,可以先尝试一下。

答案3

看起来这是一个已知问题:

启动板错误#1051348

相关内容