Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

Hardware • Wireless card - bad configuration or faulty hardware?

$
0
0
I have a Lenovo M5400 laptop with rtl8723be wireless card.
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
Example:
/etc/wpa_supplicant/wpa_supplicant.conf:

Code:

ctrl_interface=/run/wpa_supplicantupdate_config=1# I've successfully tested it with an USB wireless adapternetwork={ssid="<my network ssid>"psk="<password>"mesh_fwding=1disabled=1}
I launch manually wpa supplicant

Code:

wpa_supplicant -B -i wlp4s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
then

Code:

root@hostname:~# wpa_cliwpa_cli v2.10Copyright (c) 2004-2022, Jouni Malinen <j@w1.fi> and contributorsThis software may be distributed under the terms of the BSD license.See README for more details.Selected interface 'wlp4s0'Interactive mode>
Everything goes well up to this moment. Then I run the scan:

Code:

> scanOK<3>CTRL-EVENT-SCAN-STARTED<3>CTRL-EVENT-SCAN-RESULTS<3>WPS-AP-AVAILABLE<3>CTRL-EVENT-NETWORK-NOT-FOUND> scan_resultsbssid / frequency / signal level / flags / ssid6c:ba:b8:8c:8a:102462-16[WPA2-PSK-CCMP][WPS][ESS]<my network ssid>
Awesome, let's connect to this AP!

Code:

> enable_network 0OK<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
Occasionally, after some time I manage to get apropriate results from 'scan' command. Sometimes it does not work at all just after boot.
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
Any ideas what to try next? Maybe just thow the adapter away and buy a new one? What do you think about it?
I can provide more info, just tell me what do you would like to see.

Statistics: Posted by dashek — 2024-02-01 20:44 — Replies 1 — Views 25



Viewing all articles
Browse latest Browse all 3260

Trending Articles