Previous user told me that wifi card is probably broken. He has been running Ubuntu on it a few years ago.
And, in fact, wifi does not work. But card is - at least partially - alive.
I'm using ifupdown & wpasupplicant. The symptoms are:
- ifup wlp4s0 ends with dhclient timeout after many attempts to obtain an IP address
- enable_network in wpa_cli goes into slow, infinite loop of "SCAN-STARTED... SCAN-RESULTS... NETWORK_NOT-FOUND..."
- manually scanning for networks with wpa_cli randomly shows all APs, or none
/etc/wpa_supplicant/wpa_supplicant.conf:
Code: Select all
ctrl_interface=/run/wpa_supplicant
update_config=1
# I've successfully tested it with an USB wireless adapter
network={
ssid="<my network ssid>"
psk="<password>"
mesh_fwding=1
disabled=1
}
Code: Select all
wpa_supplicant -B -i wlp4s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Code: Select all
root@hostname:~# wpa_cli
wpa_cli v2.10
Copyright (c) 2004-2022, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Selected interface 'wlp4s0'
Interactive mode
>
Code: Select all
> scan
OK
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>CTRL-EVENT-NETWORK-NOT-FOUND
> scan_results
bssid / frequency / signal level / flags / ssid
6c:ba:b8:8c:8a:10 2462 -16 [WPA2-PSK-CCMP][WPS][ESS] <my network ssid>
Code: Select all
> enable_network 0
OK
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>SME: Trying to authenticate with 6c:ba:b8:8c:8a:10 (SSID='<my network ssid>' freq=2462 MHz)
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>SME: Trying to authenticate with 6c:ba:b8:8c:8a:10 (SSID='<my network ssid>' freq=2462 MHz)
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>SME: Trying to authenticate with 6c:ba:b8:8c:8a:10 (SSID='<my network ssid>' freq=2462 MHz)
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS
<3>WPS-AP-AVAILABLE
<3>CTRL-EVENT-NETWORK-NOT-FOUND
<3>CTRL-EVENT-SCAN-STARTED
<3>CTRL-EVENT-SCAN-RESULTS #and so on forever, only the "WPS-AP-AVAILABLE" message doesn't show up anymore
I've been browsing the web for solutions for couple of months. Things I've already done:
- [set parameters in /etc/modprobe.d/rtl8723be.conf: ant_sel, fwlps, ips to values other than default (one at a time) and rebooted (after every change)
- checked the journal for firmware related stuff - it's clean.
- checked if this device is suported by firmware-realtek package
- installed firmware-misc-nonfree
- checked if the appropriate firmware is loaded
- taken the laptop apart and checked if antennas are not damaged and connected correctly into wireless adapter
- many other things I forgot to mention
I can provide more info, just tell me what do you would like to see.