really appreciate your time trying to help me!
I struggle to get my Lenovo laptop's RTL8723BE wifi module to work, which is very well known for causing problems on linux.
It was working before (apart from the antenna select issue) and started to become useless with kernel 4.15. Now I have switched to Debian testing and have
already spent many hours trying to get it to work + trying other people's solutions. I think I'm quite close, as I'm able to scan wifis. But it won't connect.
firmware-realtek and firmware-linux-nonfree are the latest version.
I did try first with nmtui and then with wicd.
- nmtui says: "Activation failed, IP-configuration could not be reserved (no available IP, timeout etc)
- wicd: hangs at "Requesting IP address"[/list]
What came to my attention was that systemctl tells me networking service is "exited":
Code: Select all
networking.service loaded active exited Raise network interfaces
dmesg output when trying to connect:
Code: Select all
[ 235.866563] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 236.040564] Generic PHY r8169-200:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
[ 236.301529] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 236.302219] r8169 0000:02:00.0 enp2s0: Link is Down
[ 236.912829] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 237.917230] r8169 0000:02:00.0 enp2s0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 237.917256] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
[ 240.050398] wlo1: authenticate with 9c:c7:a6:a8:30:4c
[ 240.068672] wlo1: send auth to 9c:c7:a6:a8:30:4c (try 1/3)
[ 240.077574] wlo1: authenticated
[ 240.080481] wlo1: associate with 9c:c7:a6:a8:30:4c (try 1/3)
[ 240.085674] wlo1: RX AssocResp from 9c:c7:a6:a8:30:4c (capab=0x431 status=0 aid=3)
[ 240.085911] wlo1: associated
[ 240.117402] IPv6: ADDRCONF(NETDEV_CHANGE): wlo1: link becomes ready
[ 313.266186] wlo1: deauthenticating from 9c:c7:a6:a8:30:4c by local choice (Reason: 3=DEAUTH_LEAVING)
[ 313.754271] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 313.938232] Generic PHY r8169-200:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=r8169-200:00, irq=IGNORE)
[ 314.195932] IPv6: ADDRCONF(NETDEV_UP): enp2s0: link is not ready
[ 315.805465] r8169 0000:02:00.0 enp2s0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 315.805488] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready
Code: Select all
uname -a
Linux foo 4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 (2018-12-22) x86_64 GNU/Linux
Code: Select all
lspci -knn | grep Net -A2
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter [10ec:b723]
Subsystem: Hewlett-Packard Company RTL8723BE PCIe Wireless Network Adapter [103c:81c1]
Kernel driver in use: rtl8723be
Kernel modules: rtl8723be
Code: Select all
nmcli dev wifi list
IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY
MyOwnWifi Infra 3 130 Mbit/s 100 ▂▄▆█ WPA2
FRITZ!Box 7312 Infra 1 270 Mbit/s 84 ▂▄▆█ WPA1 WPA2
Vodafone-2D1F Infra 11 405 Mbit/s 77 ▂▄▆_ WPA2
...
Code: Select all
sudo rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
Code: Select all
systemctl --type=service | ag network
networking.service loaded active exited Raise network interfaces
NetworkManager.service loaded active running Network Manager
systemd-resolved.service loaded active running Network Name Resolution
systemd-timesyncd.service loaded active running Network Time Synchronization
wicd.service loaded active running Wicd a wireless and wired network manager for Linux
Code: Select all
ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 30:e1:71:22:65:0c brd ff:ff:ff:ff:ff:ff
3: wlo1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 26:4c:49:24:93:26 brd ff:ff:ff:ff:ff:ff
5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 100
link/none
Code: Select all
cat /etc/resolv.conf
domain fritz.box
search fritz.box
nameserver 192.168.2.1
Code: Select all
cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp2s0
iface enp2s0 inet dhcp
Code: Select all
sudo modprobe -rv rtl8723be
rmmod rtl8723be
rmmod rtl_pci
rmmod rtl8723_common
rmmod btcoexist
rmmod rtlwifi
rmmod mac80211
rmmod cfg80211
Code: Select all
cat /etc/modprobe.d/rtl8723be.conf
options rtl8723be fwlps=N ips=N swenc=Y ant_sel=1
- I have a 2nd laptop also on debian testing which connects fine
- My router is a fritzbox 7390 with latest firmware.
- I suffered from https://bugs.launchpad.net/ubuntu/+sour ... ug/1521173 so I added "noaer"
- dmesg on boot says bluetooth drivers are missing
Code: Select all
[ 3.410478] Bluetooth: hci0: RTL: rom_version status=0 version=1
[ 3.410479] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8723b_fw.bin
[ 3.411800] bluetooth hci0: firmware: direct-loading firmware rtl_bt/rtl8723b_fw.bin
[ 3.411810] Bluetooth: hci0: RTL: rtl: loading rtl_bt/rtl8723b_config.bin
[ 3.411822] bluetooth hci0: firmware: failed to load rtl_bt/rtl8723b_config.bin (-2)
[ 3.411826] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[ 3.411829] bluetooth hci0: Direct firmware load for rtl_bt/rtl8723b_config.bin failed with error -2
[ 3.411833] Bluetooth: hci0: RTL: cfg_sz -2, total sz 22496