我对我的新笔记本电脑感到沮丧,Wifi 运行良好,可以检测到周围的 WiFi 信号。
问题是,当我连接到我的 wifi 仅 1-2 分钟时,wifi 将断开连接,当我尝试重新连接时,wifi 无法连接。
重新启动笔记本电脑后,一切再次正常工作,我可以连接,并且再次仅 1-2 分钟 wifi 就会断开。
我已经尝试过kali linux、ubuntu、opensuse,还是一样。现在,我的笔记本电脑使用 Elementary OS 和 Realtek RTL8723BE PCIe 无线网络适配器
test@test:~$ inxi -Fxz
System: Host: hmvoc9 Kernel: 4.8.0-52-generic x86_64 (64 bit gcc: 5.4.0)
Desktop: Gnome (Gtk 3.18.9-1ubuntu3.3) Distro: elementary 0.4.1 loki
Machine: System: LENOVO (portable) product: 80KY v: Lenovo G40-80
Mobo: LENOVO model: Lenovo G40-80 v: NO DPK Bios: LENOVO v: B0CN80WW date: 05/18/2015
CPU: Dual core Intel Core i3-4030U (-HT-MCP-) cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 7581
clock speeds: max: 1800 MHz 1: 799 MHz 2: 799 MHz 3: 809 MHz 4: 830 MHz
Graphics: Card-1: Intel Haswell-ULT Integrated Graphics Controller bus-ID: 00:02.0
Card-2: Advanced Micro Devices [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330]
bus-ID: 04:00.0
Display Server: X.Org 1.18.4 drivers: ati,radeon (unloaded: fbdev,vesa) Resolution: [email protected]
GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 12.0.6 Direct Rendering: Yes
Audio: Card-1 Intel 8 Series HD Audio Controller driver: snd_hda_intel bus-ID: 00:1b.0
Card-2 Intel Haswell-ULT HD Audio Controller driver: snd_hda_intel bus-ID: 00:03.0
Sound: Advanced Linux Sound Architecture v: k4.8.0-52-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: 5000 bus-ID: 02:00.0
IF: enp2s0 state: down mac: <filter>
Card-2: Realtek RTL8723BE PCIe Wireless Network Adapter driver: rtl8723be bus-ID: 03:00.0
IF: wlp3s0 state: down mac: <filter>
Drives: HDD Total Size: 500.1GB (2.4% used) ID-1: /dev/sda model: WDC_WD5000LPCX size: 500.1GB
Partition: ID-1: / size: 23G used: 3.7G (18%) fs: ext4 dev: /dev/sda9
ID-2: /home size: 74G used: 129M (1%) fs: ext4 dev: /dev/sda8
ID-3: swap-1 size: 8.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda7
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 45.0C mobo: N/A gpu: 42.0
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 199 Uptime: 19 min Memory: 1043.6/3871.3MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
Client: Shell (bash 4.3.461) inxi: 2.2.35
配置文件
test@test:~$ iwconfig
lo no wireless extensions.
wlp3s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr=2347 B Fragment thr:off
Power Management:on
enp0s20u3 no wireless extensions.
enp2s0 no wireless extensions.
注意:当我检查我的信息时,我正在使用带有 USB 系绳的移动连接。
我尝试在谷歌上搜索我的解决方案。我已经安装了rtlwifi_new并按照google中的步骤操作但仍然无法连接。
答案1
创建一个/etc/modprobe.d/rtl8723be.conf
包含以下内容的文件:
options rtl8723be fwlps=0
问题的解释是archlinux-wiki:
某些用户可能会遇到此卡上的省电错误。这显示为高级网络管理器(netctl、NetworkManager)无法识别的偶尔断开连接。可以通过运行
dmesg -w
或journalctl -f
并查找与 powersave 和模块相关的输出来确认此错误rtl8723ae/rtl8723be
。如果您遇到此问题,请使用fwlps=0
内核选项,这应该可以防止 WiFi 卡自动休眠并停止连接。
/etc/modprobe.d/rtl8723be.conf
options rtl8723be fwlps=0