-
Notifications
You must be signed in to change notification settings - Fork 40
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
Upgrading to bridge mode fails #226
Comments
Yeah, it looks like the file is only getting partially written. There's nothing in the code that could cause that, so my guess is this is some kind of filesystem corruption happening due to a hard power-off following the change. Right now we restart various services in place, but maybe a better approach is just to have it reboot following this kind of change? |
Constantly hitting this issue after upgrading to v2023.1.1 Steps to reproduce:
First thing that happens on UI - SSID and WPA2 Passphrase becomes empty. After restart (I've tried both - hardware and using System Status / Restart System) Romi becomes unavailable. The only way to bring it back is like was suggested in #226 (comment) is to manually edit |
Having this same exact problem consistently. |
This issue also exists in v2023.2.1. As noted above, a workaround is to add the following to /boot/wpa_supplicant_wpilibpi.conf. Notice the key for the password is
|
Occasionally, if I switch from AP to bridge mode via the web UI, the wpa_supplicant file fails to fully write my information and therefore I cannot start up in bridge mode. I checked wpa_supplicant_wpilibpi.conf and here is what was written:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
BELOW THIS LINE EDITED BY RPICONFIGSERVER
network={
ssid="My Network"
p
workaround is to manually update this file to look like this:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
BELOW THIS LINE EDITED BY RPICONFIGSERVER
network={
ssid="My Network"
psk-="MyPassword"
}
Note, this seems to happen randomly as if there is a race condition upon Save.
The text was updated successfully, but these errors were encountered: