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

[Raspberry Pi 4] Can't Join Network using wpa_supplicant.enable(options) #67

Open
vicatcu opened this issue Apr 14, 2023 · 0 comments
Open

Comments

@vicatcu
Copy link

vicatcu commented Apr 14, 2023

I have tried using wpa_supplicant.enable(options) with the following options:

{
  ssid,
  passphrase,
  driver: 'wext',
  interface: 'wlan0'
}

but it fails and makes no changes to the wpa_supplicants.conf config file... I will need to do some logging to capture the precise nature of the failure and will report back. On its face is there something I'm doing wrong here with respect to doing this on the Raspberry Pi 4?

In reading the source code for this method, it's not clear to me whether the effects of this call persist through a reboot. Can anyone help clarify this for me? I'm looking for a reliable way to programatically configure Wi-Fi network connections on a Raspberry Pi, and package really seems like it's the right tool for the job, I just need to better understand how it works and how to use it I think.

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