![在 HP Stream 11 上使用 Realtek 8732be 速度非常慢](https://linux22.com/image/990853/%E5%9C%A8%20HP%20Stream%2011%20%E4%B8%8A%E4%BD%BF%E7%94%A8%20Realtek%208732be%20%E9%80%9F%E5%BA%A6%E9%9D%9E%E5%B8%B8%E6%85%A2.png)
我有一台全新的 HP Stream 11-r001nd。我可以连接到网络,但速度太慢了。即使我将笔记本电脑和路由器放在一起,观看 YouTube 视频的速度也太慢了(如果 YouTube 网页确实可以加载的话)。在 Windows 10 上不存在此问题。
在此Youtube 视频这表明使用 14.10 版本速度可以接受。但是该版本不再受支持。
########## wireless info START ##########
Report from: 21 Jun 2016 16:42 CEST +0200
Booted last: 21 Jun 2016 00:00 CEST +0200
Script from: 26 May 2016 21:56 UTC +0000
##### release ###########################
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial
##### kernel ############################
Linux 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 19:27:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Parameters: ro, quiet, splash, vt.handoff=7
##### desktop ###########################
Ubuntu
##### lspci #############################
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
DeviceName: Foxconn WLAN Realtek Sanji RTL8723BE bgn 1x1 + BT 4 LE PCIe+USB NGFF 2230 M.2 WW
Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:804c]
##### lsusb #############################
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0bda:b006 Realtek Semiconductor Corp.
Bus 001 Device 008: ID 0ace:1211 ZyDAS ZD1211 802.11g
Bus 001 Device 003: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 002: ID 04f2:b50d Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
##### PCMCIA card info ##################
##### rfkill ############################
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
2: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
##### lsmod #############################
hp_wmi 16384 0
sparse_keymap 16384 1 hp_wmi
mac80211 737280 1 zd1211rw
cfg80211 565248 2 mac80211,zd1211rw
snd_soc_rt5640 114688 0
snd_soc_rl6231 16384 1 snd_soc_rt5640
snd_soc_core 212992 2 snd_soc_rt5640,snd_soc_sst_mfld_platform
snd_pcm 106496 8 snd_soc_rt5640,snd_soc_core,snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_soc_sst_mfld_platform,snd_pcm_dmaengine,snd_hda_core
wmi 20480 1 hp_wmi
##### interfaces ########################
auto lo
iface lo inet loopback
##### ifconfig ##########################
wlx<IF from MAC [IF1]> Link encap:Ethernet HWaddr <MAC 'wlx<IF from MAC [IF1]>' [IF1]>
inet addr:192.168.2.5 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::6513:6163:ec8d:ccb5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2501 errors:0 dropped:0 overruns:0 frame:0
TX packets:2526 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1392891 (1.3 MB) TX bytes:375779 (375.7 KB)
##### iwconfig ##########################
lo no wireless extensions.
wlx<IF from MAC [IF1]> IEEE 802.11bg ESSID:"VGV75190BB329"
Mode:Managed Frequency:2.412 GHz Access Point: <MAC 'VGV75190BB329' [AC1]>
Bit Rate=54 Mb/s Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=66/100 Signal level=66/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:3 Invalid misc:19 Missed beacon:0
##### route #############################
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.254 0.0.0.0 UG 600 0 0 wlx<IF from MAC [IF1]>
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlx<IF from MAC [IF1]>
192.168.2.0 0.0.0.0 255.255.255.0 U 600 0 0 wlx<IF from MAC [IF1]>
##### resolv.conf #######################
nameserver 127.0.1.1
search home
##### network managers ##################
Installed:
NetworkManager
Running:
root 681 1 0 09:51 ? 00:00:03 /usr/sbin/NetworkManager --no-daemon
##### NetworkManager info ###############
Error: nmcli (1.2.0) and NetworkManager (1.1.93) versions don't match. Force execution using --nocheck, but the results are unpredictable.
Error: nmcli (1.2.0) and NetworkManager (1.1.93) versions don't match. Force execution using --nocheck, but the results are unpredictable.
##### NetworkManager.state ##############
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
##### NetworkManager.conf ###############
[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq
[ifupdown]
managed=false
##### NetworkManager profiles ###########
[[/etc/NetworkManager/system-connections/VGV75190BB329]] (600 root)
[connection] id=VGV75190BB329 | type=wifi | permissions=user:ubuntu:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=VGV75190BB329
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/VGV75190BB329 1]] (600 root)
[connection] id=VGV75190BB329 1 | type=wifi | permissions=user:thijs:;
[wifi] mac-address=<MAC address> | mac-address-blacklist= | ssid=VGV75190BB329
[ipv4] method=auto
[ipv6] method=auto
[[/etc/NetworkManager/system-connections/VGV75190BB329 2]] (600 root)
[connection] id=VGV75190BB329 2 | type=wifi | permissions=user:thijs:;
[wifi] mac-address=<MAC 'wlx<IF from MAC [IF1]>' [IF1]> | mac-address-blacklist= | ssid=VGV75190BB329
[ipv4] method=auto
[ipv6] method=auto
##### iw reg get ########################
Region: Europe/Amsterdam (based on set time zone)
country NL: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR
(5250 - 5330 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
##### iwlist channels ###################
lo no frequency information.
wlx<IF from MAC [IF1]> 13 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Current Frequency:2.412 GHz (Channel 1)
##### iwlist scan #######################
lo Interface doesn't support scanning.
Channel occupancy:
2 APs on Frequency:2.412 GHz (Channel 1)
2 APs on Frequency:2.437 GHz (Channel 6)
1 APs on Frequency:2.442 GHz (Channel 7)
1 APs on Frequency:2.462 GHz (Channel 11)
wlx<IF from MAC [IF1]> Scan completed :
Cell 01 - Address: <MAC 'VGV75190BB329' [AC1]>
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=66/100 Signal level=66/100
Encryption key:on
ESSID:"VGV75190BB329"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000032f60cab0e4
Extra: Last beacon: 68ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 02 - Address: <MAC '' [AC2]>
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=20/100 Signal level=20/100
Encryption key:off
ESSID:""
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=0000000eaf31214f
Extra: Last beacon: 440ms ago
Cell 03 - Address: <MAC 'VFNL-BA1D5B' [AC3]>
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=40/100 Signal level=40/100
Encryption key:on
ESSID:"VFNL-BA1D5B"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=00000374c72e2c2b
Extra: Last beacon: 80ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 04 - Address: <MAC 'UPC4419724' [AC4]>
Channel:11
Frequency:2.462 GHz (Channel 11)
Quality=31/100 Signal level=31/100
Encryption key:on
ESSID:"UPC4419724"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
9 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
Extra:tsf=000000203ca54961
Extra: Last beacon: 80ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (2) : CCMP TKIP
Authentication Suites (1) : PSK
Cell 05 - Address: <MAC 'walid72' [AC5]>
Channel:7
Frequency:2.442 GHz (Channel 7)
Quality=43/100 Signal level=43/100
Encryption key:on
ESSID:"walid72"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
18 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=0000051a371e5da7
Extra: Last beacon: 80ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Cell 06 - Address: <MAC 'TELE2-5D3D07' [AC6]>
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=16/100 Signal level=16/100
Encryption key:on
ESSID:"TELE2-5D3D07"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=000002d0d00fd9c5
Extra: Last beacon: 80ms ago
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
##### module infos ######################
[mac80211]
filename: /lib/modules/4.4.0-24-generic/kernel/net/mac80211/mac80211.ko
license: GPL
description: IEEE 802.11 subsystem
srcversion: 2FFAEED0245CA1D97FE1E44
depends: cfg80211
intree: Y
vermagic: 4.4.0-24-generic SMP mod_unload modversions
parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool)
parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int)
parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int)
parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int)
parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int)
parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp)
[cfg80211]
filename: /lib/modules/4.4.0-24-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 25A45701AAA64DAC1E47D9D
depends:
intree: Y
vermagic: 4.4.0-24-generic SMP mod_unload modversions
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)
##### module parameters #################
[mac80211]
beacon_loss_count: 7
ieee80211_default_rc_algo: minstrel_ht
max_nullfunc_tries: 2
max_probe_tries: 5
minstrel_vht_only: Y
probe_wait_ms: 500
[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00
##### /etc/modules ######################
##### modprobe options ##################
[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci
[/etc/modprobe.d/blacklist.conf]
blacklist evbug
blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx
blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac
[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off
alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off
[/etc/modprobe.d/intel-microcode-blacklist.conf]
blacklist microcode
[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en
##### rc.local ##########################
exit 0
##### pm-utils ##########################
##### udev rules ########################
##### dmesg #############################
[10532.987919] wlx<IF from MAC [IF1]>: authenticated
[10532.990572] wlx<IF from MAC [IF1]>: associate with <MAC 'VGV75190BB329' [AC1]> (try 1/3)
[10532.994114] wlx<IF from MAC [IF1]>: RX AssocResp from <MAC 'VGV75190BB329' [AC1]> (capab=0x411 status=0 aid=1)
[10532.994148] wlx<IF from MAC [IF1]>: associated
[10532.994253] IPv6: ADDRCONF(NETDEV_CHANGE): wlx<IF from MAC [IF1]>: link becomes ready
[24341.729193] wlx<IF from MAC [IF1]>: deauthenticating from <MAC 'VGV75190BB329' [AC1]> by local choice (Reason: 3=DEAUTH_LEAVING)
[24359.825298] zd1211rw 1-2.1:1.0 wlx<IF from MAC [IF1]>: renamed from wlan0
[24359.869707] IPv6: ADDRCONF(NETDEV_UP): wlx<IF from MAC [IF1]>: link is not ready
[24359.876232] usb 1-2.1: firmware version 0x4330 and device bootcode version 0x4802 differ
[24359.919778] zd1211rw 1-2.1:1.0: firmware version 4605
[24359.947673] IPv6: ADDRCONF(NETDEV_UP): wlx<IF from MAC [IF1]>: link is not ready (repeated 2 times)
[24360.985805] wlx<IF from MAC [IF1]>: authenticate with <MAC 'VGV75190BB329' [AC1]>
[24360.996462] wlx<IF from MAC [IF1]>: send auth to <MAC 'VGV75190BB329' [AC1]> (try 1/3)
[24360.998389] wlx<IF from MAC [IF1]>: authenticated
[24361.000117] wlx<IF from MAC [IF1]>: associate with <MAC 'VGV75190BB329' [AC1]> (try 1/3)
[24361.003298] wlx<IF from MAC [IF1]>: RX AssocResp from <MAC 'VGV75190BB329' [AC1]> (capab=0x411 status=0 aid=1)
[24361.003335] wlx<IF from MAC [IF1]>: associated
[24361.003403] IPv6: ADDRCONF(NETDEV_CHANGE): wlx<IF from MAC [IF1]>: link becomes ready
########## wireless info END ############
重新加载模块:
thijs@Portable:~$ sudo modprobe -rv rtl8723be
thijs@Portable:~$ sudo modprobe -v rtl8723be ant_sel=2
insmod /lib/modules/4.4.0-24-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
modprobe: ERROR: could not insert 'rtl8723be': Required key not available
thijs@Portable:~$ sudo modprobe -rv rtl8723be
thijs@Portable:~$ sudo modprobe -v rtl8723be ant_sel=1
insmod /lib/modules/4.4.0-24-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtlwifi.ko
modprobe: ERROR: could not insert 'rtl8723be': Required key not available
thijs@Portable:~$
答案1
我已经查看了您的无线脚本的结果。
您有两条错误消息。Error: nmcli (1.2.0) and NetworkManager (1.1.93) versions don't match. Force execution using --nocheck, but the results are unpredictable.
报告为错误 1590335由另一个用户造成,但重新启动后该问题得到了解决。
[24359.876232] usb 1-2.1: firmware version 0x4330 and device bootcode version 0x4802 differ
[24359.919778] zd1211rw 1-2.1:1.0: firmware version 4605.
这似乎表明错误的固件被加载到 USB 无线设备上。
然而你的实际问题似乎是Realtek Wifi 卡 RTL8723be 无法正常工作. 按照解决方案中给出的步骤进行操作。
如果这解决了您的问题,请单击左侧的勾号以显示您的问题已解决。如果没有,请重新发布 wifi 脚本的输出,最好在解决其他两个错误后。第一个错误应该在重新启动后消失。如果您在运行脚本之前移除 USB 设备,第二个错误将不会出现。
我查看了您第二次运行无线脚本的结果。让我们看几个片段:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:700903 errors:0 dropped:0 overruns:0 frame:0
TX packets:388503 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000 ??
RX bytes:956196276 (956.1 MB) TX bytes:35329540 (35.3 MB)
这表明无线连接运行正常,接收了近 1 GB 的数据。下一个片段
Link Quality=62/100 Signal level=62/100
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:10090 Invalid misc:95221 Missed beacon:0
表示无线适配器在困难环境下运行。就像被堵塞了一样。
SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE *
VGV75190BB329 <MAC 'VGV75190BB329' [AC1]> Infra 1 2412 MHz 54 Mbit/s 62 ▂▄▆_ WPA2 yes *
walid72 <MAC 'walid72' [AC4]> Infra 7 2442 MHz 54 Mbit/s 44 ▂▄__ WPA2 no
HP-Print-C3-Deskjet 2540 series <MAC 'HP-Print-C3-Deskjet 2540 series' [AC2]> Infra 1 2412 MHz 54 Mbit/s 35 ▂▄__ WPA2 no
UPC4419724 <MAC 'UPC4419724' [AC3]> Infra 6 2437 MHz 54 Mbit/s 31 ▂▄__ WPA1 WPA2 no
VFNL-BA1D5B <MAC 'VFNL-BA1D5B' [AN5]> Infra 6 2437 MHz 54 Mbit/s 27 ▂___ WPA2 no
HP-Print-7E-Photosmart 5520 <MAC 'HP-Print-7E-Photosmart 5520' [AN6]> Infra 6 2437 MHz 54 Mbit/s 14 ▂___ WPA2 no
这表明干扰来自名为 HP-print-C3-Deskjet 2540 系列的接入点。我建议更改接入点或打印机的 RF 通道,使它们处于不同的通道上。目前它们都在通道 1 上。唯一正在使用的其他通道是 6 和 7,因此您有很多选择。
由于您按下了无线直连按钮,因此打印机充当接入点(请参阅用户手册第 53 页)。您应该按照手册第 49 页的说明将打印机连接到路由器。用户手册可在线获取这里