Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to restore WiFi connection" with disabled wifi #1977

Open
BaderSZ opened this issue Jan 29, 2025 · 0 comments
Open

"Failed to restore WiFi connection" with disabled wifi #1977

BaderSZ opened this issue Jan 29, 2025 · 0 comments

Comments

@BaderSZ
Copy link

BaderSZ commented Jan 29, 2025

Info

  • Device: Raspberry Pi 5
  • umbrelOS: umbrelOS 1.3

Description

I had my umbrel node running on wifi in the past, but then moved it to a different location that now runs via ethernet. Wifi is disabled in the settings, but it still tries to reconnect to the non-existing network. It should not try to connect to a wifi network if wifi is disabled, even if the network exists.

Logs

Part of the logs displaying the issue, some info redacted:

Jan 29 18:36:58 umbrel umbreld[1041]: [umbreld      ] Attempting to restore WiFi connection to REDACTED...
Jan 29 18:36:58 umbrel umbreld[1041]: [umbreld      ] [error] Failed to restore WiFi connection "Network not found". Retrying in 1 minute...
Jan 29 18:37:08 umbrel NetworkManager[324]: <info>  [1738175828.6689] device (wlan0): set-hw-addr: set MAC address to RE:DA:CT:ED:.. (scanning)
Jan 29 18:37:08 umbrel kernel: brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
Jan 29 18:37:08 umbrel NetworkManager[324]: <info>  [1738175828.7658] device (wlan0): supplicant interface state: inactive -> disconnected
Jan 29 18:37:08 umbrel NetworkManager[324]: <info>  [1738175828.7658] device (p2p-dev-wlan0): supplicant management interface state: inactive -> disconnected
Jan 29 18:37:08 umbrel NetworkManager[324]: <info>  [1738175828.7888] device (wlan0): supplicant interface state: disconnected -> inactive
Jan 29 18:37:08 umbrel NetworkManager[324]: <info>  [1738175828.7889] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> inactive
Jan 29 18:37:58 umbrel umbreld[1041]: [umbreld      ] Attempting to restore WiFi connection to REDACTED...
Jan 29 18:37:58 umbrel umbreld[1041]: [umbreld      ] [error] Failed to restore WiFi connection "Network not found". Retrying in 1 minute...
Jan 29 18:38:58 umbrel umbreld[1041]: [umbreld      ] Attempting to restore WiFi connection to REDACTED...
Jan 29 18:38:58 umbrel umbreld[1041]: [umbreld      ] [error] Failed to restore WiFi connection "Network not found". Retrying in 1 minute...
Jan 29 18:39:58 umbrel umbreld[1041]: [umbreld      ] Attempting to restore WiFi connection to REDACTED...
Jan 29 18:39:59 umbrel umbreld[1041]: [umbreld      ] [error] Failed to restore WiFi connection "Network not found". Retrying in 1 minute...

Granted, if I understood the code correctly, the wifi is deleted if the network is disconnected, but not if powered off then connected via ethernet:

await deleteWifiConnections({inactiveOnly: false})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant