这个问题已经持续了几个月了。经过一次又一次的故障排除失败后,我终于屈服了,并向您寻求帮助。我想先说一句,Ubuntu 现在是我喜欢并经常使用的操作系统。
我搜索了 askubuntu 论坛并尝试了许多提供的解决方案,但没有一个能够解决这些问题。ndiswrapper 也不起作用。
任何关于此问题的帮助都将不胜感激:)
编辑1:更详细地说,我的无线网络只能连接到 1 个路由器(ssid:NETGEAR-2.4G)。我无法连接到我们家里的第二个路由器(ssid:4NXG)。我正在使用无线连接访问这些论坛,但以太网仍然无法工作。如果可能的话,我想解决以太网和无线问题。
编辑2:根据 Elder Geek 的建议,我正在编辑这个问题以仅处理以太网问题。
编辑3:根据要求添加了额外的 lspci 信息。
编辑5:添加了更多信息,太多信息了
当前的问题
- 以太网显示“已连接”,但实际上没有连接。以太网很少会突然开始工作。然后立即再次停止工作。
- 路由器看到我的电脑(通过 192.168.1.1 远程访问时)
- Ping google.com 或任何 ipaddress 都会导致数据包丢失。
- 端口转发不起作用
症状(时间线)
2015 年 1 月 - Linux Mint Rebecca 安装。无线运行良好,以太网运行良好。
2015 年 2 月初-端口转发突然失败。
2015 年 2 月中旬 - 有线连接失败。只有无线可用。
我已安装 Ubuntu 14.04.02(当前操作系统)、Debian 7.8.0 和 Linux Mint Rebecca。所有全新安装均无法实现以太网连接。
连接到以太网后,无线路由器可以看到我的电脑,我的电脑显示“已连接”。但是,所有网页查询都超时。ping google.com 导致 100% 数据包丢失。
系统规格。
路线-n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
猫/etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
search home
lspci-k
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: Dell Device 0597
Kernel driver in use: ivb_uncore
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Subsystem: Dell Device 0597
Kernel driver in use: i915
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
Subsystem: Dell Device 0597
Kernel driver in use: xhci_hcd
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Dell Device 0597
Kernel driver in use: mei_me
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
Subsystem: Dell Device 0597
Kernel driver in use: ehci-pci
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Dell Device 0597
Kernel driver in use: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
Kernel driver in use: pcieport
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
Subsystem: Dell Device 0597
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04)
Subsystem: Dell Device 0597
Kernel driver in use: lpc_ich
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
Subsystem: Dell Device 0597
Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Dell Device 0597
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
Subsystem: Dell Device 0597
Kernel driver in use: r8169
02:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
Subsystem: Dell Wireless 1704 802.11n + BT 4.0
Kernel driver in use: wl
lspci-nn|复制代码
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)
网际协议连接
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether ec:f4:bb:94:2b:f6 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000
link/ether 54:35:30:e2:63:27 brd ff:ff:ff:ff:ff:ff
信息设备开发
phy#0
Interface wlan0
ifindex 3
type managed
系统配置
eth0 no wireless extensions.
wlan0 IEEE 802.11abg ESSID:"NETGEAR-2.4-G"
Mode:Managed Frequency:2.412 GHz Access Point: 30:46:9A:67:34:2F
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
lo no wireless extensions.
修改
Module Size Used by
bnep 19624 2
rfcomm 69509 8
dm_crypt 23216 0
nls_iso8859_1 12713 1
wl 6367833 0
uvcvideo 81073 0
videobuf2_vmalloc 13216 1 uvcvideo
videobuf2_memops 13362 1 videobuf2_vmalloc
btusb 32497 0
rtsx_usb_ms 18697 0
videobuf2_core 59104 1 uvcvideo
bluetooth 446409 22 bnep,btusb,rfcomm
memstick 16966 1 rtsx_usb_ms
v4l2_common 15681 1 videobuf2_core
videodev 153793 3 uvcvideo,v4l2_common,videobuf2_core
6lowpan_iphc 18702 1 bluetooth
media 21903 2 uvcvideo,videodev
dell_wmi 12761 0
sparse_keymap 13948 1 dell_wmi
snd_hda_codec_hdmi 47548 1
snd_hda_codec_realtek 77467 1
snd_hda_codec_generic 68937 1 snd_hda_codec_realtek
snd_hda_intel 30469 3
snd_hda_controller 31056 1 snd_hda_intel
snd_hda_codec 139682 5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 17698 1 snd_hda_codec
snd_pcm 104112 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
cfg80211 494362 1 wl
snd_seq_midi 13564 0
dell_laptop 18168 0
snd_seq_midi_event 14899 1 snd_seq_midi
dcdbas 14928 1 dell_laptop
snd_rawmidi 30876 1 snd_seq_midi
intel_rapl 18783 0
x86_pkg_temp_thermal 14205 0
intel_powerclamp 18823 0
snd_seq 63074 2 snd_seq_midi_event,snd_seq_midi
coretemp 13441 0
kvm_intel 143590 0
kvm 452043 1 kvm_intel
crct10dif_pclmul 14307 0
snd_seq_device 14497 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 29562 2 snd_pcm,snd_seq
crc32_pclmul 13133 0
ghash_clmulni_intel 13230 0
cryptd 20359 1 ghash_clmulni_intel
snd 79468 17 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel,snd_seq_device
joydev 17393 0
serio_raw 13483 0
mei_me 19696 0
lpc_ich 21093 0
shpchp 37047 0
mei 87875 1 mei_me
soundcore 15047 2 snd,snd_hda_codec
mac_hid 13227 0
parport_pc 32741 0
ppdev 17671 0
lp 17759 0
parport 42348 3 lp,ppdev,parport_pc
rtsx_usb_sdmmc 27787 0
rtsx_usb 20987 2 rtsx_usb_sdmmc,rtsx_usb_ms
hid_generic 12559 0
usbhid 52616 0
hid 110426 2 hid_generic,usbhid
uas 23159 0
usb_storage 66545 1 uas
psmouse 106561 0
wmi 19193 1 dell_wmi
i915 905966 3
r8169 71694 0
ahci 34062 3
video 20128 1 i915
i2c_algo_bit 13413 1 i915
drm_kms_helper 61574 1 i915
mii 13934 1 r8169
drm 311018 5 i915,drm_kms_helper
libahci 32424 1 ahci
ifconfig(仅当连接到以太网时)
james@james-Inspiron-3521:~$ ifconfig
eth0 Link encap:Ethernet HWaddr ec:f4:bb:94:2b:f6
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::eef4:bbff:fe94:2bf6/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:257 errors:0 dropped:0 overruns:0 frame:0
TX packets:282 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:68075 (68.0 KB) TX bytes:32489 (32.4 KB)
Interrupt:42 Base address:0xa000
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:65536 Metric:1
RX packets:430 errors:0 dropped:0 overruns:0 frame:0
TX packets:430 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:41427 (41.4 KB) TX bytes:41427 (41.4 KB)
wlan0 Link encap:Ethernet HWaddr 54:35:30:e2:63:27
inet6 addr: fe80::5635:30ff:fee2:6327/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:676 errors:0 dropped:0 overruns:0 frame:4651
TX packets:746 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:484022 (484.0 KB) TX bytes:107610 (107.6 KB)
Interrupt:17
答案1
下载并安装适用于内核 3.x、2.6.x 和 2.4.x 的 LINUX 驱动程序这里
在桌面上创建一个临时文件夹并将内容提取到其中。您将看到以下内容:
使用以下命令打开终端CtrlAltT
切换到内容的目录。就我而言。
cd ~/Desktop/temp/r8101-1.026.00/
然后发出命令sudo ./autorun.sh
这将安装支持您的以太网芯片组的驱动程序。
打开网络连接,选择有线连接,选择编辑并确保您的设置与上述相符。