更新15.6后,无线网络速率降低
Tofloor
poster avatar
137******30
deepin
2018-06-25 19:57
Author
本帖最后由 whatdime 于 2018-6-25 11:57 编辑

    自从更新15.6以后,无线网卡的速率降到了 56MB/s ,以前使用15.5内核的时候,速率可以达到866MB/s 。

我的机器型号:
    Intel NUC7i5BNK


无线网卡型号:
    Intel® Wireless-AC 8265 + Bluetooth 4.2


lspci命令显示:
    3a:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)

iwconfg命令显示:
    wlp58s0   IEEE 802.11  ESSID:"xxx"  
          Mode:Managed  Frequency:5.18 GHz  Access Point: xxx   
          Bit Rate=54 Mb/s   Tx-Power=22 dBm   
          Retry short limit:7   RTS thrff   Fragment thrff
          Power Managementn
          Link Quality=70/70  Signal level=-29 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:53   Missed beacon:0


    无线AP确定是没有问题的,15.5使用的时候都是可以正常速率。请教大神,这个该怎么解决呀?感谢~

    顺便问一下deepin可以使用蓝牙4.0的鼠标么?省电技术会不会有什么影响?


Reply Favorite View the author
All Replies
duanyao
deepin
2018-06-25 22:15
#1
列出网卡支持的速率:iw phy
查看当前速率:iw dev wlp3s0 link
设置速率:sudo iwconfig wlp3s0 rate 54M

把 wlp3s0 和 54M 换成你的设备名和想要的速率。设置速率会禁止动态协商速率,成功后直到重启或关闭WIFI为止有效。

蓝牙鼠标不了解,你试过吗?
Reply View the author
137******30
deepin
2018-06-25 22:36
#2
https://bbs.deepin.org/post/159345
列出网卡支持的速率:iw phy
查看当前速率:iw dev wlp3s0 link
设置速率:sudo iwconfig wlp3s0 rate 54M

感谢!!我待会去试试看!

我现在用的蓝牙3.0的鼠标键盘

鼠标的话偶尔卡顿。

键盘偶尔会断开,有时候很容易恢复过来,但是有时候就需要时间久一点才能连接上。

看到蓝牙4.0的资料说睡眠后恢复连接的速度很快,所以想买,但是不知道效果怎样。
Reply View the author
137******30
deepin
2018-06-25 22:47
#3
https://bbs.deepin.org/post/159345
列出网卡支持的速率:iw phy
查看当前速率:iw dev wlp3s0 link
设置速率:sudo iwconfig wlp3s0 rate 54M

Wiphy phy0
        max # scan SSIDs: 20
        max scan IEs length: 464 bytes
        max # sched scan SSIDs: 20
        max # match sets: 11
        max # scan plans: 2
        max scan plan interval: 65535
        max scan plan iterations: 254
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Device supports AP-side u-APSD.
        Device supports T-DLS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * P2P-client
                 * P2P-GO
                 * P2P-device
        Band 1:
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (22.0 dBm)
                        * 2417 MHz [2] (22.0 dBm)
                        * 2422 MHz [3] (22.0 dBm)
                        * 2427 MHz [4] (22.0 dBm)
                        * 2432 MHz [5] (22.0 dBm)
                        * 2437 MHz [6] (22.0 dBm)
                        * 2442 MHz [7] (22.0 dBm)
                        * 2447 MHz [8] (22.0 dBm)
                        * 2452 MHz [9] (22.0 dBm)
                        * 2457 MHz [10] (22.0 dBm)
                        * 2462 MHz [11] (22.0 dBm)
                        * 2467 MHz [12] (22.0 dBm)
                        * 2472 MHz [13] (22.0 dBm)
                        * 2484 MHz [14] (disabled)
        Band 2:
                Bitrates (non-HT):
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 5180 MHz [36] (22.0 dBm) (no IR)
                        * 5200 MHz [40] (22.0 dBm) (no IR)
                        * 5220 MHz [44] (22.0 dBm) (no IR)
                        * 5240 MHz [48] (22.0 dBm) (no IR)
                        * 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
                        * 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
                        * 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
                        * 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
                        * 5340 MHz [68] (disabled)
                        * 5360 MHz [72] (disabled)
                        * 5380 MHz [76] (disabled)
                        * 5400 MHz [80] (disabled)
                        * 5420 MHz [84] (disabled)
                        * 5440 MHz [88] (disabled)
                        * 5460 MHz [92] (disabled)
                        * 5480 MHz [96] (disabled)
                        * 5500 MHz [100] (22.0 dBm) (no IR, radar detection)
                        * 5520 MHz [104] (22.0 dBm) (no IR, radar detection)
                        * 5540 MHz [108] (22.0 dBm) (no IR, radar detection)
                        * 5560 MHz [112] (22.0 dBm) (no IR, radar detection)
                        * 5580 MHz [116] (22.0 dBm) (no IR, radar detection)
                        * 5600 MHz [120] (22.0 dBm) (no IR, radar detection)
                        * 5620 MHz [124] (22.0 dBm) (no IR, radar detection)
                        * 5640 MHz [128] (22.0 dBm) (no IR, radar detection)
                        * 5660 MHz [132] (22.0 dBm) (no IR, radar detection)
                        * 5680 MHz [136] (22.0 dBm) (no IR, radar detection)
                        * 5700 MHz [140] (22.0 dBm) (no IR, radar detection)
                        * 5720 MHz [144] (22.0 dBm) (no IR, radar detection)
                        * 5745 MHz [149] (22.0 dBm) (no IR)
                        * 5765 MHz [153] (22.0 dBm) (no IR)
                        * 5785 MHz [157] (22.0 dBm) (no IR)
                        * 5805 MHz [161] (22.0 dBm) (no IR)
                        * 5825 MHz [165] (22.0 dBm) (no IR)
                        * 5845 MHz [169] (disabled)
                        * 5865 MHz [173] (disabled)
                        * 5885 MHz [177] (disabled)
                        * 5905 MHz [181] (disabled)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * new_mpath
                 * set_mesh_config
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * join_mesh
                 * remain_on_channel
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * set_wds_peer
                 * tdls_mgmt
                 * tdls_oper
                 * start_sched_scan
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * set_mcast_rate
                 * connect
                 * disconnect
                 * channel_switch
                 * set_qos_map
                 * add_tx_ts
                 * Unknown command (121)
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        WoWLAN support:
                 * wake up on disconnect
                 * wake up on magic packet
                 * wake up on pattern match, up to 20 patterns of 16-128 bytes,
                   maximum packet offset 0 bytes
                 * wake up on EAP identity request
                 * wake up on rfkill release
                 * wake up on network detection, up to 11 match sets
                 * wake up on TCP connection
        software interface modes (can always be added):
                 * AP/VLAN
                 * monitor
        valid interface combinations:
                 * #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
                   total <= 3, #channels <= 2
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports SAE with AUTHENTICATE command
        Device supports low priority scan.
        Device supports scan flush.
        Device supports per-vif TX power setting
        P2P GO supports CT window setting
        P2P GO supports opportunistic powersave setting
        Driver supports full state transitions for AP/GO clients
        Driver supports a userspace MPM
        Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
        Device adds DS IE to probe requests
        Device adds WFA TPC Report IE to probe requests
        Device can update TPC Report IE
        Device supports static SMPS
        Device supports dynamic SMPS
        Device supports WMM-AC admission (TSPECs)
        Device supports configuring vdev MAC-addr on create.
        Device supports TDLS channel switching


这是我网卡支持的速率,发现只能支持到54M,这种情况还能再进行设置么?
Reply View the author
duanyao
deepin
2018-06-25 22:51
#4
https://bbs.deepin.org/post/159345
Wiphy phy0
        max # scan SSIDs: 20
        max scan IEs length: 464 bytes

不能。换旧内核启动试试?
Reply View the author
137******30
deepin
2018-06-25 23:20
#5
https://bbs.deepin.org/post/159345
不能。换旧内核启动试试?

啊啊啊啊啊啊啊啊!!!!旧内核也不行了,也是只支持54M了,这下难搞了~
Reply View the author
duanyao
deepin
2018-06-25 23:28
#6
https://bbs.deepin.org/post/159345
啊啊啊啊啊啊啊啊!!!!旧内核也不行了,也是只支持54M了,这下难搞了~ ...

用15.5的live系统试试?
Reply View the author
137******30
deepin
2018-06-26 00:01
#7
https://bbs.deepin.org/post/159345
用15.5的live系统试试?

emmm......我再试试看吧,谢谢帮忙~
Reply View the author
临之
deepin
2018-06-26 00:41
#8
我也发现15.6好像是锁死在了2.4GHz,因为我的电脑的无线信号变强了,才去看的。
Reply View the author
buguniao374287
deepin
2018-06-26 00:57
#9
https://bbs.deepin.org/post/159345
列出网卡支持的速率:iw phy
查看当前速率:iw dev wlp3s0 link
设置速率:sudo iwconfig wlp3s0 rate 54M

15.5可以运行视频软件。15.6就不行
Reply View the author
jianguo922
deepin
2018-06-26 01:39
#10
换内核试试吧
Reply View the author
137******30
deepin
2018-06-26 01:44
#11

恩,我换回旧内核也不行了,还是54Mb。

更新之前,用旧内核还是可以正常速率的。
Reply View the author
duanyao
deepin
2018-06-26 01:45
#12
https://bbs.deepin.org/post/159345
15.5可以运行视频软件。15.6就不行

这似乎与楼主的问题无关,你可以新开个帖子问问。
Reply View the author
137******30
deepin
2018-06-26 06:18
#13
在网上查找了关于无线网卡连接的问题发现

    在文件 /etc/modprobe.d/iwlwifi.conf 中有以下内容:
        options iwlwifi 11n_disable=1 bt_coex_active=0 power_save=0 auto_agg=0 swcrypto=1


    其中 11n_disable=1 的意思是禁用802.11n协议的意思,是不是因为禁用了这个协议,导致无法连接高速的网络。


    网上查阅这个参数是因为路由器老旧,无法提供这个802.11n协议,导致新出的无线网卡无法连接,需要使用这个参数来禁用网卡协议,使网卡能够连接旧路由器。


    那么就是说,现在的设备都支持802.11n了,是不是可以去掉这个参数了?或者修改 11n_disable= 的值,那么这个值应该是修改成多少呢?


    召唤大神解答~感谢!
Reply View the author
137******30
deepin
2018-06-26 17:01
#14
已经解决!!

/etc/modprobe.d/iwlwifi.conf

把文件内容中的 11n_disable=1 去掉后重启就能恢复连接速率了。

新内核也是一样可以高速连接了。
Reply View the author
jerry79
deepin
2018-06-26 17:27
#15
https://bbs.deepin.org/post/159345
已经解决!!

/etc/modprobe.d/iwlwifi.conf

太谢谢了,困扰好久的问题终于解决了
Reply View the author
137******30
deepin
2018-06-26 17:54
#16
https://bbs.deepin.org/post/159345
太谢谢了,困扰好久的问题终于解决了

欢呼一下!!
Reply View the author
duanyao
deepin
2018-06-26 21:02
#17
https://bbs.deepin.org/post/159345
在网上查找了关于无线网卡连接的问题发现

    在文件 /etc/modprobe.d/iwlwifi.conf 中有以下内容:

是的,如果禁止802.11n,那么最多只有 54M 速率。Intel 的网卡驱动在有些型号上稳定性有问题,禁用 802.11n 可能有改善,所以有人建议禁用。如果你觉得稳定性没问题,可以打开。把 11n_disable=1 改为 0 或者删掉都行。
Reply View the author
137******30
deepin
2018-06-26 22:34
#18
https://bbs.deepin.org/post/159345
是的,如果禁止802.11n,那么最多只有 54M 速率。Intel 的网卡驱动在有些型号上稳定性有问题,禁用 802.1 ...

原来如此,还好发现了这个功能,现在已经恢复原样了,感谢感谢!!
Reply View the author