我對我的新筆記型電腦感到沮喪,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