Things I cannot get to work in LuCI

I am using a RaspberryPi 4B running the latest version of openwrt and there are a few things that I dont understand that just do not work, or fail to work.

  1. Scanning for a new wifi connection while currently connected to a wifi network.

This bothers me the most, since I wanted to use this device as a travel VPN router, I have to physically delete the previous or disable the current connection on wlan1 (internal wifi) to search for a different wireless network in LuCi. If I scan with a terminal using the command "iwinfo wlan1 scan" it works.

The same is true for wlan0

  1. Channel analysis doesn't find any networks, not 2ghz, 5ghz regardless of Radio0 or Radio1

  2. Adguard Home statistics.

I would really like to keep the stats.db between reboots, since Adguard Home has the ability to delete its own statistics based on my input, I cannot understand why this would be deliberately saved in a tmp directory that is deleted between reboots.

most Raspberry use Broadcom WiFi chips and these Broadcom Wifi drivers are kind of limited.

e.g. no WPA3 on RPi and some (or all?) RPi cannot work as repeater: Raspberry Pi Zero W: WiFi client mode not working - #10

It could be that the limitation that you are experiencing is due to yet another Raspberry Broadcom driver limitation.

Thanks for the reply,

if that were true, why does it work in a Terminal?

iwinfo wlan1 scan
Cell 01 - Address: 2C:3A:FD
          ESSID: "D"
          Mode: Master  Channel: 48
          Signal: -51 dBm  Quality: 59/70
          Encryption: mixed WPA2/WPA3 PSK/SAE (CCMP)
          HT Operation:
                    Primary Channel: 48
                    Secondary Channel Offset: below
                    Channel Width: unknown
          VHT Operation:
                    Channel Width: unknown
                    Center Frequency 1: 42
                    Center Frequency 2: 0

Cell 02 - Address: 70:2C:
          ESSID: [Sg"
          Mode: Master  Channel: 1
          Signal: -45 dBm  Quality: 65/70
          Encryption: WPA2 PSK (CCMP)
          HT Operation:
                    Primary Channel: 1
                    Secondary Channel Offset: no secondary
                    Channel Width: unknown

Cell 03 - Address: :7C:BE
          ESSID: Wn"
          Mode: Master  Channel: 6
          Signal: -60 dBm  Quality: 50/70
          Encryption: mixed WPA2/WPA3 PSK/SAE (CCMP)
          HT Operation:
                    Primary Channel: 6
                    Secondary Channel Offset: above
                    Channel Width: unknown

Cell 04 - Address: :2A:A1
          ESSID: "n"
          Mode: Master  Channel: 6
          Signal: -40 dBm  Quality: 70/70
          Encryption: mixed WPA2/WPA3 PSK/SAE (CCMP)
          HT Operation:
                    Primary Channel: 6
                    Secondary Channel Offset: above
                    Channel Width: unknown

Cell 05 - Address: 89:C4
          ESSID: "W"
          Mode: Master  Channel: 6
          Signal: -54 dBm  Quality: 56/70
          Encryption: mixed WPA2/WPA3 PSK/SAE (CCMP)
          HT Operation:
                    Primary Channel: 6
                    Secondary Channel Offset: above
                    Channel Width: unknown

Cell 06 - Address: 49:CF
          ESSID: "NB"
          Mode: Master  Channel: 36
          Signal: -13 dBm  Quality: 70/70
          Encryption: mixed WPA2/WPA3 PSK/SAE (CCMP)
          HT Operation:
                    Primary Channel: 36
                    Secondary Channel Offset: above
                    Channel Width: unknown
          VHT Operation:
                    Channel Width: unknown
                    Center Frequency 1: 42
                    Center Frequency 2: 0

Cell 07 - Address: E89:C5
          ESSID: "DW"
          Mode: Master  Channel: 48
          Signal: -67 dBm  Quality: 43/70
          Encryption: mixed WPA2/WPA3 PSK/SAE (CCMP)
          HT Operation:
                    Primary Channel: 48
                    Secondary Channel Offset: below
                    Channel Width: unknown
          VHT Operation:
                    Channel Width: unknown
                    Center Frequency 1: 42
                    Center Frequency 2: 0

Cell 08 - Address: 2AE:F9
          ESSID: unknown
          Mode: Master  Channel: 6
          Signal: -40 dBm  Quality: 70/70
          Encryption: mixed WPA/WPA2 PSK (CCMP)
          HT Operation:
                    Primary Channel: 6
                    Secondary Channel Offset: above
                    Channel Width: unknown

Cell 09 - Address: 3:C0:70
          ESSID: unknown
          Mode: Master  Channel: 48
          Signal: -79 dBm  Quality: 31/70
          Encryption: WPA2 PSK (CCMP)
          HT Operation:
                    Primary Channel: 48
                    Secondary Channel Offset: no secondary
                    Channel Width: unknown
          VHT Operation:
                    Channel Width: unknown
                    Center Frequency 1: 48
                    Center Frequency 2: 0

Because flash wear is a thing on most openwrt devices.

Reconfigure the path.

1 Like

The iwinfo output looks garbled, notice broken MAC addresses and odd looking ssids. There might be an abi break between installed iwinfo and libiwinfo. That can also cause issues higher up in LuCI.

Apart from that, the unable to scan in client mode issue sounds like a bug that has been addressed recently by a libiwinfo update.

1 Like

That was a deliberate redaction of my mac addresses and Wlan names :joy:

my mistake was to install adguardhome via opkg. Doing a manual install and adding the path worked. I guess some instructions are just worse or better than others :+1:

What is the solution?

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.