joshvillbrandt / wireless

A dead simple, cross-platform Python library to connect to wireless networks.
https://pypi.org/project/wireless/
Apache License 2.0
83 stars 42 forks source link

Add support for connecting to SSID without password #16

Open DriesX opened 8 years ago

DriesX commented 8 years ago

It doesn't work when trying to connect to an open SSID.

In my case I use it on raspberry pi and in the wpa_supplicant.conf file the following has to be set when no or an empty password is provided to the connect function.

network={
            ssid="YOUR OPEN NETWORK SSID"
            key_mgmt=NONE
}
ayman commented 5 years ago

I have yet to test a RPi but on MacOS (networksetup driver), the following works:

from wireless import Wireless
w = Wireless()
w.connect("OPENNETWORK", "")

I'll see if there's an easy case to check for blank password for the wpa case.

ayman commented 5 years ago

Actually #22 seems to do this about right.

joshvillbrandt commented 5 years ago

Hi! I essentially don’t maintain this repo any longer, but I’m happy to merge whatever / hand off the keys to the repo to someone else.

Josh

Sent from my iPhone

On Jan 11, 2019, at 5:23 PM, ayman notifications@github.com wrote:

Actually #22 seems to do this about right.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ayman commented 5 years ago

I could oversee a few pull requests if you granted me access.