-
Notifications
You must be signed in to change notification settings - Fork 41
Windows support #2
Comments
Nice! Thanks for the link. I don't have any immediate need for this myself, but I'll happily consider a pull request if you'd like to submit one. Copying the meat of that post here for posterity:
|
I am not sure how to handle the "Profiles" stuff. What should be the logic behind
|
Looks like you figured out 2 and 3 in the pull request. The answer to 1 (and 2 and 3) are driver specific. (It looks like the program/driver that you are interfacing with here is |
During work on 6b59fc4 I found that Windows seems to support multiple SSID per profile. It may be worthy to create some PythonWireless profile. It may to connect faster, because querying all profiles for their SSID is slow. I still don't know how to connect to some unknown SSID from command line and set password. |
Found a faster strategy to query available profiles - read files from C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces Windows has no way to decrypt WiFi password under user account - needs to do this from LocalSystem. I see the way to create new profile with |
I see no way to configure SSID for existing profile on Vista. =/ |
One |
Ok, it might be possible to create XML profile with encrypted password https://stackoverflow.com/questions/2374331/python-win32crypt-cryptprotectdata-difference-between-2-5-and-3-1 and |
Looks like this trick with |
Nice! Looks like you have all of the pieces to get this to work. This will be similar to my existing "wpa_supplicant" adapter in that a temporary file needs to be created in order to establish the profile. What versions of Windows are you testing on? I would say Windows 7 and up would be good to support. I wouldn't worry about Vista. |
Vista is my only, and most likely the last Windows. =) |
As I promised, Vista was my last Windows, so don't expect me to get back to it. ) |
Awesome idea. It kicked me to search how to do that in Windows - http://www.hanselman.com/blog/HowToConnectToAWirelessWIFINetworkFromTheCommandLineInWindows7.aspx
The text was updated successfully, but these errors were encountered: