我有一台 Thinkpad X201,配有基于 Intel 的网卡和 N-6200 WiFi。突然之间,以太网和 Wifi 都无法使用。我获得了 DHCP 地址,并且可以连接到本地 LAN 资源(通过 HTTP 或其他协议),但无法超越路由器。这不是特定于网络的,因为我在家里遇到过这个问题,在路上也遇到过。
我有一台 XP Virtual Box 计算机,以客户机身份运行。如果我将 Virtual Box 中的网络配置更改为“桥接”,并在 Windows 客户机会话中为自己提供一个带有外部 DNS 条目的静态 IP 地址(例如 8.8.8.8),我就可以访问 Internet。
另外,如果我在同一硬件、同一网络上启动到 Live USB,则不会出现任何问题。
我已经在 WLAN 接口上禁用了 N 网络,但这并不能解决问题,当然对以太网也没有影响。
帮助!!!!
eth0 Link encap:Ethernet HWaddr 5c:ff:35:04:ab:de
inet addr:192.168.1.29 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::5eff:35ff:fe04:abde/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:21563 errors:0 dropped:0 overruns:0 frame:0
TX packets:17982 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18938624 (18.9 MB) TX bytes:1921823 (1.9 MB)
Interrupt:20 Memory:f2500000-f2520000
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:1693 errors:0 dropped:0 overruns:0 frame:0
TX packets:1693 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:606855 (606.8 KB) TX bytes:606855 (606.8 KB)
wlan0 Link encap:Ethernet HWaddr 00:23:14:7a:bf:78
inet addr:192.168.1.28 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::223:14ff:fe7a:bf78/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2528 errors:0 dropped:0 overruns:0 frame:0
TX packets:610 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:427700 (427.7 KB) TX bytes:100284 (100.2 KB)
$ iwconfig
lo no wireless extensions.
vboxnet0 no wireless extensions.
wlan0 IEEE 802.11abg ESSID:"MANUKAI_1"
Mode:Managed Frequency:2.462 GHz Access Point: 4C:60:DE:2E:CC:C4
Bit Rate=1 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=70/70 Signal level=-7 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:61 Missed beacon:0
eth0 no wireless extensions.
$ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:16.3 Serial controller: Intel Corporation 5 Series/3400 Series Chipset KT Controller (rev 06)
00:19.0 Ethernet controller: Intel Corporation 82577LM Gigabit Network Connection (rev 06)
00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
答案1
好的,我似乎已经解决了这个问题……似乎某些东西在某个时候用我家路由器的地址 (192.168.0.1) 覆盖了我的 /etc/resolv.conf。我将其更改为包括 Google 的公共 DNS (8.8.8.8),果然现在可以正常工作了……不确定是什么会覆盖它。