Hi,
We have an issue where a Wi-Fi connection drops and never reconnects until we power cycle the device.
We tried the following, when a connection is lost:
nmcli radio wifi off
nmcli radio wifi on
nmcli d connect [interface]
nmcli c reload
nmcli dev wifi list --rescan yes
nmcli c up [connection-id]
Nothing seems to help.
We also bumped into a separate issue (might be related, or might not) that if we “nmcli radio wifi off”, power cycle the device, next time it boots, if we do “nmcli radio wifi on”, it does not reconnect until we power cycle and then it comes up perfectly. Note that if we do “nmcli radio wifi off” and “nmcli radio wifi on” (with no power cycle) it works ok.
BTW, in some cases, when we do “nmcli c up [id]” it shows the following error:
Error: Connection activation failed: Secrets were required, but not provided
HOWEVER, if we power cycle, the same connection works great, so the nmcli profile is there and has the information it needs.
Is there any way, from a container, to:
- restart the wifi driver?
- restart network manager service?
Any other tips? ideas?
Thank you!