spr-networks / super

📡 SPR: Open Source, secure, user friendly and fast wifi routers for your home. One wifi password per device. Ad Blocking & Privacy Blocklists. Policy Based Network Access
https://www.supernetworks.org/
BSD 3-Clause "New" or "Revised" License
182 stars 13 forks source link

[wifid] iw command is missing (v0.3.5) #286

Closed cocochpie closed 7 months ago

cocochpie commented 8 months ago

When I updated v0.3.5, the spr stopped working, so I proceeded with the full reset. (Both wired and wireless went wrong)

After that, I kept seeing wifid-related error messages on the admin screen, so when I checked the container log, there was a message as below.

maybe the 'iw' package is missing?

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
/scripts/startup.sh: line 33: iw: command not found
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100     6  100     6    0     0      3      0  0:00:02  0:00:01  0:00:01     3
wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE
/scripts/startup.sh: line 33: iw: command not found
cocochpie commented 8 months ago

quick remedy:

docker compose exec -it wifid bash apt update && apt install -y iw

then goto admin wifi menu -> "restart all wifi devices"

lts-rad commented 8 months ago

Thanks for finding this. It should not affect normal operation. This needs to be added for pis going through the initial setup though because the setup Ap will be left in AP mode. Will get this in for the next release

cocochpie commented 8 months ago

nice, thank you always for the super great spr.

lts-rad commented 7 months ago

fixed in v0.3.6