Skip to content

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

@vicatcu

Description

@vicatcu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions