BQ E4.5 (OTA-7) and Wifi 5 GHz



  • I have some problems with one of my BQ E4.5 (runs OTA-7) and Wifi AP of the type AVM FRITZ!Box (at least I found no other router until now with the problem). One of the hints from AVM forum is to switch to the 5 GHz bands, which is "802.11n+a" (while "802.11n+g+b" is 2.4 GHz).

    Questions
    Is this supported by the BQ and UBports (and its Android kernel below)?
    Can I see somehow in the logs or elsewhere the actual used connection in the UBports installation?





  • Thanks. So, 5 GHz is not an option. I don't even think, that 2.4 GHz is the problem, having around 10-15 APs in the area. And, my 6 FreeBSD laptops and the 3 other BQ E4.5 all connect fine with the AP, only one does not. Any ideas?



  • @guru said in BQ E4.5 (OTA-7) and Wifi 5 GHz:

    Can I see somehow in the logs or elsewhere the actual used connection in the UBports installation?

    Perhaps "iwconfig" in the terminal-app provides some information.



  • I think it's time to debug and nail this down. I found the file /etc/init/wpasupplicant.conf which spawns the WPA daemon as:

     exec /sbin/wpa_supplicant -u -s -O /run/wpa_supplicant
    

    I will mount the /root in this test device writeable and change the line to:

     exec /sbin/wpa_supplicant -dd -u -f /var/log/wpa_supplicant.log -O /run/wpa_supplicant
    

    to gather the debugging output in a file.

    Update:
    It's not necessary to mount /root writable. The proc init starts and re spawns that proc when it dies. With a bit of luck you can fire up these three lines from a shell script and get your version of WPA up before init can restart its own:

     #!/bin/sh
    pkill -9 -f '/sbin/wpa_supplicant.*'
    wpa_supplicant -dd -u -f /var/log/wpa_supplicant.log -B -O /run/wpa_supplicant
    exit
    

    The lines in the log files look promising...


Log in to reply