-
Notifications
You must be signed in to change notification settings - Fork 668
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
Use Apple RSN supplicant #311
Conversation
Tested on Catalina and Big Sur, WPA2-PSK and WPA2-Enterprise both work. |
Nice job!! I don't have enterprise network to test, but here is a error log from a user, tested with this PR version, can you help to check it? |
@zxystd This is not all: |
@usr-sse2 Thanks for your contribution, really appreciate your time and effort! The contributed code is indented with hard tabs. Would you mind changing them to 4 spaces so they are consistent with the rest of the project? Xcode configuration files use tabs by default, so it is fine to leave them as they are. |
…er to allow transmission of 802.1X authentication packets. WPA2 Enterprise works
…eme to build them all
8436f07
to
4b03070
Compare
Done; left tabs in files that are indented with tabs, for example, |
I also enabled Instant Hostpot and Auto Unlock by setting all card capabilities to 0xFF. Auto Unlock enables successfully on both Intel and external Broadcom Bluetooth, and on one boot it even worked with Broadcom Bluetooth, but I can't reproduce it any more, don't know why. Besides, here are the logs for Handoff, AirDrop, Auto Unlock and Tethering, may be useful in development:
|
I tried Airportitlwm built from this PR and my computer always restarts after wake up from sleep when using it. No problem with the code from the master branch. |
Doesn't need to sleep every time, for unlocking from login screen, if you have multiple account, just select login window from top right corner. Another equivalent way is to use the lock icon in System Preferences -> Security & Privacy. It triggers a unlock prompt on watch, and the logs in |
@jqqqqqqqqqq What's the purpose of your comment? I know how to use Auto Unlock, and this is exactly what I did while testing. |
Post the panic log here |
Here you go, for the last crash
|
@igorkulman With |
@zxystd So what? Did the WPA2 Enterprise user send the logs? I found another useful log command for debugging EAP authentication:
|
My bad, I want to help discovering what is behind unlock w/ apple watch, but so far I had no discovery. I’m looking into frameworks to see if the limitation is outside the drivers. Is there anything I can help? |
After discussing and investigating with that user for a while, turns out that it was a user mistake. Now he can successfully connect to enterprise networks. |
@usr-sse2 zxy told me he is happy to merge this PR right now and asked me to help him do so. Should we wait for @igorkulman's panic report with keepsyms=1 or fix it later in another PR? |
Do not wait for my panic report, I cannot reproduce right now. I think there were some other factors not just sleep. I will open an issue with a proper panic report when it happens again. |
Use IO80211Family's RSN supplicant. It works, but I've not yet backported some things that are necessary before merging:
setDISASSOCIATE
IOCTL. It's necessary to disconnect from network manually or in case of authentication failure (now it remains connected and can't scan).setDISASSOCIATE
)