Wifi 连接很弱,经常断线,所以我按照以下步骤操作链接1。问题没有解决,所以我尝试链接2。不幸的是,这次 wifi 根本无法使用。以太网工作正常。我只知道,在我尝试将 link2 从 3.19.0-25.26 升级到 3.19.0-42.48 后,Linux 内核得到了更新
无线信息脚本输出是这里
需要帮助才能使网卡正常工作。提前致谢!
编辑:
修改信息 rtl8723be
filename: /lib/modules/3.19.0-42-
generic/updates/dkms/rtl8723be.ko
firmware: rtlwifi/rtl8723befw.bin
description: Realtek 8723BE 802.11n PCI wireless
license: GPL
author: Realtek WlanFAE <[email protected]>
author: PageHe <[email protected]>
srcversion: 1A35907BCCEF84FE28F988D
alias: pci:v000010ECd0000B723sv*sd*bc*sc*i*
depends: rtlwifi,rtl_pci,btcoexist,mac80211
vermagic: 3.19.0-42-generic SMP mod_unload modversions
parm: swlps:bool
parm: swenc:using hardware crypto (default 0 [hardware])
(bool)
parm: ips:using no link power save (default 1 is open)
(bool)
parm: fwlps:using linked fw control power save (default 1 is open)
(bool)
parm: msi:Set to 1 to use MSI interrupts mode (default 0)
(bool)
parm: debug:Set debug level (0-5) (default 0) (int)
parm: disable_watchdog:Set to 1 to disable the watchdog (default 0)
(bool)
sudo modprobe -r rtlwifi && sudo modprobe rtl8723be || sudo dmesg |尾部-n 20
modprobe: FATAL: Module rtlwifi is in use.
[ 8016.688908] vgaarb: this pci device is not a vga device
[ 8042.309402] atkbd serio0: Unknown key pressed (translated set 2, code 0xd8 on isa0060/serio0).
[ 8042.309407] atkbd serio0: Use 'setkeycodes e058 <keycode>' to make it known.
[ 8042.317523] atkbd serio0: Unknown key released (translated set 2, code 0xd8 on isa0060/serio0).
[ 8042.317531] atkbd serio0: Use 'setkeycodes e058 <keycode>' to make it known.
[ 8042.594891] i915_bpo 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[ 8042.595060] i915_bpo 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[ 8042.601010] [drm:gen8_irq_handler [i915_bpo]] *ERROR* The master control interrupt lied (SDE)!
[ 8042.706421] vgaarb: this pci device is not a vga device
[13220.548635] atkbd serio0: Unknown key pressed (translated set 2, code 0xd7 on isa0060/serio0).
[13220.548645] atkbd serio0: Use 'setkeycodes e057 <keycode>' to make it known.
[13220.556650] atkbd serio0: Unknown key released (translated set 2, code 0xd7 on isa0060/serio0).
[13220.556663] atkbd serio0: Use 'setkeycodes e057 <keycode>' to make it known.
[13220.608543] i915_bpo 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[13220.608666] i915_bpo 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[13220.779499] vgaarb: this pci device is not a vga device
[13531.306668] vgaarb: this pci device is not a vga device
[13688.660608] vgaarb: this pci device is not a vga device
[14147.339430] vgaarb: this pci device is not a vga device
[14531.406230] vgaarb: this pci device is not a vga device
uname -r
3.19.0-42-generic
sudo lshw -C 网络
*-network UNCLAIMED
description: Network controller
product: RTL8723BE PCIe Wireless Network Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:08:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: ioport:5000(size=256) memory:c6100000-c6103fff
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:09:00.0
logical name: eth0
version: 0a
serial: 3c:a8:2a:bc:2a:8e
size: 100Mbit/s
capacity: 100Mbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix 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=full firmware=rtl8107e-2_0.0.2 02/26/15 ip=192.168.5.2 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
resources: irq:49 ioport:4000(size=256) memory:c6004000-c6004fff memory:c6000000-c6003fff
编辑2:
sudo initctl 停止网络管理器
sudo modprobe -r rtlwifi && sudo modprobe rtl8723be || sudo dmesg |尾部-n 20
zaman@zaman-Notebook:~$ sudo initctl stop network-manager
[sudo] password for zaman:
network-manager stop/waiting
zaman@zaman-Notebook:~$ sudo modprobe -r rtlwifi && sudo modprobe rtl8723be || sudo dmesg | tail -n 20
modprobe: FATAL: Module rtlwifi is in use.
[ 2053.932069] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2053.985389] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
[ 2053.985393] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2054.084680] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
[ 2054.084685] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2054.132757] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
[ 2054.132762] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2054.230363] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
[ 2054.230367] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2054.272300] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
[ 2054.272304] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2054.538206] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
[ 2054.538210] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2054.613514] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
[ 2054.613518] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2054.890514] atkbd serio0: Unknown key pressed (translated set 2, code 0xab on isa0060/serio0).
[ 2054.890517] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2054.994063] atkbd serio0: Unknown key released (translated set 2, code 0xab on isa0060/serio0).
[ 2054.994068] atkbd serio0: Use 'setkeycodes e02b <keycode>' to make it known.
[ 2171.306785] systemd-hostnamed[3531]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
lsmod |grep rtl
zaman@zaman-Notebook:~$ lsmod |grep rtl
rtl8723be 90112 0
btcoexist 53248 1 rtl8723be
rtl8723_common 24576 1 rtl8723be
rtl_pci 28672 1 rtl8723be
rtlwifi 73728 2 rtl_pci,rtl8723be
mac80211 708608 3 rtl_pci,rtlwifi,rtl8723be
cfg80211 524288 2 mac80211,rtlwifi
zaman@zaman-Notebook:~$ modprobe -r rtlwifi
modprobe: FATAL: Module rtlwifi is in use.
zaman@zaman-Notebook:~$ ifconfig wlan0 down
SIOCSIFFLAGS: Operation not permitted
更新:
我启动了较早的内核版本 3.19.0-25,而不是最新的 3.19.0-42,wifi 似乎可以正常工作!但它很不稳定!
问题:
我想删除存在驱动程序问题的最新内核,因为我不再需要它,我该怎么做?
当我离开路由器时,wifi 不稳定并且不断断开连接,有什么解决办法吗?
答案1
你好,
我有同样的无线网卡,更新后也遇到了 wifi 问题。
建立临时的互联网连接(使用以太网电缆),打开终端并尝试这些命令。
sudo apt-get install build-essential git
git clone https://github.com/lwfinger/rtlwifi_new/
cd rtlwifi_new
make
sudo make install
完成此操作后,重新启动,你的 wifi 就应该可以正常工作了。
如果此方法无法解决您的问题,请尝试以下操作:
进入 BIOS 并禁用安全启动!
也许您的系统不允许使用无线网卡。
希望我能帮上忙!-orion-