更新 12.04 后无互联网连接

更新 12.04 后无互联网连接

我更新了 12.04,然后无法通过 Firefox 或 Thunderbird 电子邮件连接到互联网。

它是有线连接。

ifconfig 输出:

eth0      Link encap:Ethernet  HWaddr 54:e6:fc:85:0b:63  
          inet6 addr: fe80::56e6:fcff:fe85:b63/64 Scope:Link 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1 
          RX packets:32 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:4713 (4.7 KB)  TX bytes:5004 (5.0 KB) 
          Interrupt:19 Base address:0xc00 

eth1      Link encap:Ethernet  HWaddr 00:25:22:a4:69:33  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1 
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B) 
          Interrupt:43 Base address:0xe000 

eth1:avahi Link encap:Ethernet  HWaddr 00:25:22:a4:69:33  
          inet addr:169.254.5.249  Bcast:169.254.255.255  Mask:255.255.0.0 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1 
          Interrupt:43 Base address:0xe000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0 
          inet6 addr: ::1/128 Scope:Host 
          UP LOOPBACK RUNNING  MTU:16436  Metric:1 
          RX packets:13074 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:13074 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:0 
          RX bytes:1059344 (1.0 MB)  TX bytes:1059344 (1.0 MB) 

和 lspci:

00:00.0 RAM memory: NVIDIA Corporation MCP61 Host Bridge (rev a1) 
00:01.0 ISA bridge: NVIDIA Corporation MCP61 LPC Bridge (rev a2) 
00:01.1 SMBus: NVIDIA Corporation MCP61 SMBus (rev a2) 
00:01.2 RAM memory: NVIDIA Corporation MCP61 Memory Controller (rev a2) 
00:02.0 USB controller: NVIDIA Corporation MCP61 USB 1.1 Controller (rev a3) 
00:02.1 USB controller: NVIDIA Corporation MCP61 USB 2.0 Controller (rev a3) 
00:04.0 PCI bridge: NVIDIA Corporation MCP61 PCI bridge (rev a1) 
00:05.0 Audio device: NVIDIA Corporation MCP61 High Definition Audio (rev a2) 
00:06.0 IDE interface: NVIDIA Corporation MCP61 IDE (rev a2) 
00:07.0 Bridge: NVIDIA Corporation MCP61 Ethernet (rev a2) 
00:08.0 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2) 
00:08.1 IDE interface: NVIDIA Corporation MCP61 SATA Controller (rev a2) 
00:09.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2) 
00:0b.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2) 
00:0c.0 PCI bridge: NVIDIA Corporation MCP61 PCI Express bridge (rev a2) 
00:0d.0 VGA compatible controller: NVIDIA Corporation C61 [GeForce 7025 / nForce 630a] (rev a2) 
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration 
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map 
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller 
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control 
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control 
01:08.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10) 
bill@bill-desktop:~$ 

答案1

我在很多地方找到了解决方案:打开文件 /etc/resolv.com
(您可以使用终端并输入sudo nano /etc/resolv.conf

添加一行名称服务器 8.8.8.8#这将添加一个 google dns

但是,这个解决方案并不是永久性的,因为它似乎被某些更新覆盖了……

相关内容