非常慢,间歇性的WiFi速度与14.04和英特尔PRO /无线5100 AGN

我在联想Y650 Ideapad笔记本电脑的硬盘上全新安装了Ubuntu 14.04 LTS。 无线适配器是Intel PRO / Wireless 5100 AGN [Shiloh]。

最初我无法连接到任何无线网络; 但是,我能看到他们。 通过以太网连接时没有问题。 我只能通过在终端中输入此命令来连接到无线网络:

echo "options iwlwifi 11n_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf 

速度极慢且间歇性。 当我能够运行速度测试时,ping是好的(24到26毫秒),但下载速度范围从0.15到0.30 Mbps。

iwconfig的

 eth0 no wireless extensions. lo no wireless extensions. wlan0 IEEE 802.11abg ESSID:"PinkRabbit" Mode:Managed Frequency:2.412 GHz Access Point: E8:40:F2:CD:18:0B Bit Rate=2 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=-26 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:3 Invalid misc:254 Missed beacon:0 

使用ifconfig

 eth0 Link encap:Ethernet HWaddr 00:23:5a:d2:70:91 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:17 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:171 errors:0 dropped:0 overruns:0 frame:0 TX packets:171 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15613 (15.6 KB) TX bytes:15613 (15.6 KB) wlan0 Link encap:Ethernet HWaddr 00:1e:65:3e:0c:48 inet addr:192.168.0.13 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::21e:65ff:fe3e:c48/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:42 errors:0 dropped:0 overruns:0 frame:0 TX packets:96 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9032 (9.0 KB) TX bytes:16851 (16.8 KB) 

纳米工具

 NetworkManager Tool State: connected (global) - Device: eth0 ----------------------------------------------------------------- Type: Wired Driver: tg3 State: unavailable Default: no HW Address: 00:23:5A:D2:70:91 Capabilities: Carrier Detect: yes Wired Properties Carrier: off - Device: wlan0 [PinkRabbit] -------------------------------------------------- Type: 802.11 WiFi Driver: iwlwifi State: connected Default: yes HW Address: 00:1E:65:3E:0C:48 Capabilities: Speed: 1 Mb/s Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes Wireless Access Points (* = current AP) *PinkRabbit: Infra, E8:40:F2:CD:18:0B, Freq 2412 MHz, Rate 54 Mb/s, Strength 92 WPA WPA2 IPv4 Settings: Address: 192.168.0.13 Prefix: 24 (255.255.255.0) Gateway: 192.168.0.1 DNS: 64.71.255.204 DNS: 64.71.255.198 DNS: 8.8.8.8 DNS: 8.8.4.4 

我不知道这可能有多大相关,仍然是一个Ubuntu新手,但我的Ralink 5362卡有类似的问题。

它似乎唯一有效的是:

Ubuntu中的Debian Avahi守护程序中存在一个错误。 要解决此问题,您需要编辑以下文件/etc/nsswitch.conf ,如下所示。

在命令行中键入以下内容

 sudo -H gedit /etc/nsswitch.conf 

这将在文本编辑器中打开nsswitch.conf文件。 然后只需更改以下行

 hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 

到下面的行并保存文件。

 hosts: files dns 

重置您的互联网连接或可能重新启动您的系统,您的无线连接应该以最快的速度恢复。 这至少对我有用。

我实际上也有这个问题,所以我期待任何永久的解决方案,但一个临时的解决方案是:

 sudo iwconfig wlan0 rate 54M 

其中54M是您的实际无线function。

我注意到我的笔记本电脑(英特尔无线7260 /联想W540)存在同样的问题。 每隔几天网络就会慢慢爬行(包括所有协议的流量:http,ssh,ftp等)。 我相信我也经历过与eth0相同的行为,但不记得了。

我的解决方法是重新启动网络管理器 – 这似乎可以解决任何问题。

 jmiranda@jmiranda-ThinkPad-W540:~$ sudo service network-manager restart 

lshw

 jmiranda@jmiranda-ThinkPad-W540:~$ sudo lshw -C network *-network description: Ethernet interface product: Ethernet Connection I217-LM vendor: Intel Corporation physical id: 19 bus info: pci@0000:00:19.0 logical name: eth0 version: 04 serial: 3c:97:0e:ea:1b:a4 capacity: 1Gbit/s width: 32 bits clock: 33MHz capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=2.3.2-k firmware=0.13-3 latency=0 link=no multicast=yes port=twisted pair resources: irq:44 memory:b2a00000-b2a1ffff memory:b2a3f000-b2a3ffff ioport:5080(size=32) *-network description: Wireless interface product: Wireless 7260 vendor: Intel Corporation physical id: 0 bus info: pci@0000:03:00.0 logical name: wlan0 version: 6b serial: 7c:7a:91:06:7b:e2 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless configuration: broadcast=yes driver=iwlwifi driverversion=3.13.0-29-generic firmware=22.1.7.0 ip=192.168.1.158 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn resources: irq:45 memory:b2800000-b2801fff 

我建议你从以下url安装内核3.13.0-37_3.13.0-37.64 + iwlltr0001: http ://people.canonical.com/~sforshee/iwl-ltr/trusty/

和英特尔固件iwlwifi-3160-9-ucode。

之后,我输入了一个终端:

$echo "options iwlmvm power_scheme=1" | sudo tee /etc/modprobe.d/iwlmvm.conf
$echo "options iwlwifi bt_coex_active=Y swcrypto=1 11n_disable=1" | sudo tee /etc/modprobe.d/iwlwifi.conf
$sudo reboot

  1. 打开“其他驱动程序”
  2. 转到“其他软件”选项卡,选中所有框
  3. 更新驱动程序

尝试禁用IPv6:转到编辑网络连接,选择连接,转到IPv6选项卡,将其更改为忽略。