Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Wifi Config - Unknown Global Field ctrl_interface #16

Open
palitu opened this issue Apr 3, 2021 · 1 comment
Open

Wifi Config - Unknown Global Field ctrl_interface #16

palitu opened this issue Apr 3, 2021 · 1 comment

Comments

@palitu
Copy link

palitu commented Apr 3, 2021

Hi, i am trying to build snapOS for an RPi3, to try and reduce the vulnerabilities in my network, reduce attack surface etc.

I have built the images and flashed it successfully, now when i try and boot (after updating network details), i get the following warning:

Successfully initialized wpa_supplicant
Line 2: unknown global field 'ctrl_interface/var/run/wpa_supplicant'
Line 2: Invalid configuration line 'ctrl_interface/var/run/wpa_supplicant'
Failed to read or parse configuration '/etc/wpa_supplicant.comf'
FAIL

note: i ahve hand typed this, so there may be typo's.

Any help with what i am missing/doing wrong would be great.

thanks!

@jfly
Copy link

jfly commented Sep 27, 2021

I have never used snapos, but stumbled across this exact same error while upgrading buildroot in my own Raspberry pi based project. It turns out that newer version of buildroot have this change, which disabled the CONFIG_CTRL_IFACE setting for wpa_supplicant, which means that the ctrl_interface is not recognized.

The fix would either be to re-enable CONFIG_CTRL_IFACE, or to remove the ctrl_interface setting if you don't need it. I did the latter over in jfly/jpi@43614e2.

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

No branches or pull requests

2 participants