Wi-Fi 性能不佳:英特尔 PRO/无线 3945ABG

use*_*640 5 wireless drivers 13.04

情况如下:Ubuntu 13.04,无线适配器:intel PRO/Wireless 3945ABG [Golan]。无线驱动程序:iwl3945。

问题是无线性能不尽如人意。我可以毫无困难地连接到任何无线网络,但传输速度比应有的要差得多。对 speedtest.net 的快速测试表明,我在 Windows 环境中使用同一台笔记本电脑获得的速度大约是过去速度的一半(仅供参考,笔记本电脑直到上周才使用 windows7 并用于连接到完全相同的无线网络)。此外(如果这还不够……),当通过本地网络复制文件时,速度也远非令人满意……以前要慢得多。因此,无法流式传输存储在网络上另一台计算机或设备上的媒体文件。因为这就是我主要使用这台笔记本电脑的目的,所以我无法让它正常工作真的很痛苦。

到目前为止我所做的:我尝试禁用硬件扫描:

    modprobe -r iwl3945 
    modprobe iwl3945 disable_hw_scan=1
Run Code Online (Sandbox Code Playgroud)

但这不起作用,所以我没有费心让它永久化。

我还尝试用 wicd 替换网络管理器 - 根本没有帮助。

那可能是什么?

这是 lshw -C 网络的输出:

    icefire@Toshiba:~$ sudo lshw -C network
    [sudo] password for icefire: 
    *-network               
    description: Ethernet interface
    product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
    vendor: Realtek Semiconductor Co., Ltd.
    physical id: 0
    bus info: pci@0000:02:00.0
    logical name: eth0
    version: 02
    serial: 00:1e:33:5d:46:ab
    size: 10Mbit/s
    capacity: 100Mbit/s
    width: 64 bits
    clock: 33MHz
    capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical  tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-        NAPI duplex=half latency=0 link=no multicast=yes port=MII speed=10Mbit/s
    resources: irq:44 ioport:4000(size=256) memory:d0010000-d0010fff memory:d0000000-d000ffff

    *-network
    description: Wireless interface
    product: PRO/Wireless 3945ABG [Golan] Network Connection
    vendor: Intel Corporation
    physical id: 0
    bus info: pci@0000:03:00.0
    logical name: wlan0
    version: 02
    serial: 00:1f:3c:ae:d0:ea
    width: 32 bits
    clock: 33MHz
    capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=iwl3945 driverversion=3.8.0-19-generic firmware=15.32.2.9 ip=192.168.1.20 latency=0 link=yes multicast=yes wireless=IEEE 802.11abg
    resources: irq:46 memory:d4200000-d4200fff
Run Code Online (Sandbox Code Playgroud)

这是 iwconfig 输出的内容:

    icefire@Toshiba:~$ iwconfig
    wlan0     IEEE 802.11abg  ESSID:"dd-wrt"  
      Mode:Managed  Frequency:2.437 GHz  Access Point: 00:26:5A:B1:62:EE   
      Bit Rate=54 Mb/s   Tx-Power=15 dBm   
      Retry  long limit:7   RTS thr:off   Fragment thr:off
      Power Management:off
      Link Quality=61/70  Signal level=-49 dBm  
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:6  Invalid misc:224   Missed beacon:0

     lo        no wireless extensions.

     eth0      no wireless extensions.
Run Code Online (Sandbox Code Playgroud)

和 ifconfig:

    icefire@Toshiba:~$ ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:1e:33:5d:46:ab  
      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)

     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:554 errors:0 dropped:0 overruns:0 frame:0
      TX packets:554 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0 
      RX bytes:63267 (63.2 KB)  TX bytes:63267 (63.2 KB)

    wlan0     Link encap:Ethernet  HWaddr 00:1f:3c:ae:d0:ea  
      inet addr:192.168.1.20  Bcast:192.168.1.255  Mask:255.255.255.0
      inet6 addr: fe80::21f:3cff:feae:d0ea/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:9773 errors:0 dropped:0 overruns:0 frame:0
      TX packets:6310 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:10377083 (10.3 MB)  TX bytes:1143412 (1.1 MB)
Run Code Online (Sandbox Code Playgroud)

Fre*_*Ben 1

您可能会看到与我的英特尔卡所遇到的相同无线 N 问题略有不同的症状。这就是我的修复方法(参考为什么我的 wifi 互联网间歇性消失?):

尝试在终端输入以下命令。这些将关闭您的以太网端口并禁用 wifi 驱动程序中的无线 N。它不是永久性的,将在下次重新启动时恢复:

sudo ifconfig eth0 down
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi 11n_disable=1
Run Code Online (Sandbox Code Playgroud)

如果这对你有用,我的 Github 上有一个 bash 脚本,你可以下载并在每次重新启动时运行: https: //github.com/FreedomBen/handy-bash-scripts/blob/master/fixTheInternet.bash

我的桌面上有这个脚本,每次重新启动时都会运行它。从那以后我没有遇到任何问题。

注意:您必须使脚本可执行。在终端输入:

cd path/to/script
chmod +x fixTheInternet.bash
Run Code Online (Sandbox Code Playgroud)


小智 0

更新:最后,以下内容都没有真正起作用。几分钟后性能再次变差:(

我的情况和你一样,在 ubuntu 13.04 中 iwl3945 上的性能非常糟糕。

只需按照本文中的解决方案:Resolve Slow Connexion When Use Wifi In Ubuntu 13.04 Raring Ringtail, 12.04 And LinuxMint13

我实际上应用了文章中的解决方案 1 和 3,不知道到底哪个是有效的,但它现在有效。

解决方案 1:在 /etc/modprobe.d/ath9k.conf 中添加以下行

options ath9k nohwcrypt=1
Run Code Online (Sandbox Code Playgroud)

这对于 atheros 卡来说没有多大意义......

解决方案 2:在 /etc/sysctl.conf 上停用 ipv6,并在末尾添加以下行

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Run Code Online (Sandbox Code Playgroud)

除非你真的使用ipv6。我最后也放弃了这个解决方案,因为在工作良好一段时间后,它再次变坏了......

希望这可以帮助!