Closed naveenkrdy closed 4 years ago
CC @Goshin @igorkulman
it sometimes ask keychain access password even before it asks wifi network password
That's how it is supposed to work, well according to Catalina permissions regarding to accessing Keychain info.
And whenever it does ask keychain access password before wifi access password ,i cant type anything in the keychain access
Yeah this is something I have experienced for a while now.
it sometimes ask keychain access password even before it asks wifi network password
Not a bug, the app first checks the keychain if a password for the network you are trying to connect to is already saved so it will not ask you if not needed
And whenever it does ask keychain access password before wifi access password ,i cant type anything in the keychain access password box and thus i have to click deny to make it disappear and only after that the wifi network password box pops up.
This is a bug.
Yeah this is something I have experienced for a while now.
And whenever it does ask keychain access password before wifi access password ,i cant type anything in the keychain access password box and thus i have to click deny to make it disappear and only after that the wifi network password box pops up.
This is a bug.
good to know. thanks !
@naveenkrdy it should be fixed in #90. Can you test it?
@naveenkrdy it should be fixed in #90. Can you test it?
the second issue is now fixed but the first issue i.e auto connect still doesnt work. thanks for the fix .
@naveenkrdy try cleaning up all the saved passwords of HeliPort in Keychain Access, and save your network again.
@naveenkrdy try cleaning up all the saved passwords of HeliPort in Keychain Access, and save your network again.
Tried that too and also rebuilt heliport with latest commit and tried again after clearing heliport from keychain but still no dice. doesnt auto connect to last connected network on launch.
I noticed that connectSavedNetworks isn't called when I last put print statements in there. I did see a reference to it in init for one of the classes, but that was the only place I saw it.
Would it be possible that Itlwm has already connected to a network?
Yep, doesn't run. I restarted macOS, loaded itlwm, waiting a minute, then opened HeliPort. It didn't autoconnect or attempt to do so.
GetDeviceInfo is ran, but get_station_info appears to return KERN_SUCCESS
The if statement is just checking if the station was able to access itlwm.kext, which is why it returns success. We should call get_80211_state instead of get_sta_info and check if the retVal != ITL80211_sRUN (or the state that checks if it has a connection or not)
Edit: After changing that to the correct method it now seems to work fine now
OK, have made a fix in master and hope it works. @zxystd told me get_station_info
will return an error if not connected, but anyway it would be better to double-check the state.
Yep, that works (Edit: Latest commit works for auto-connect). Any reason why it's only called in init for now? It'd make sense to try and connect to other networks possibly if they are in the scan list and the user moves to another network.
OK, have made a fix in master and hope it works. @zxystd told me
get_station_info
will return an error if not connected, but anyway it would be better to double-check the state.
Oh in that case then well we should test a bit more maybe there is a reason. I just got a bit used to relying get_80211_state
, but lets see if other people are able to autojoin. Maybe we can use get_80211_state
as a work around while get_sta_info
gets checked in the meantime
Edit: You already did the checkings already nice!
Yep, that works. Any reason why it's only called in init for now? It'd make sense to try and connect to other networks possibly if they are in the scan list and the user moves to another network.
I guess since it's better to see if it works well then it can go to other implementations, i.e. if it does not detect the network nearby.
now it auto connects on login : )
closing issue as resolved ! thanks !
Heliport doesn't automatically connect to last remembered/connected network and needs to be done manually on every boot. And also i think there is a bug with the keychain implementation as it sometimes ask keychain access password even before it asks wifi network password. And whenever it does ask keychain access password before wifi access password ,i cant type anything in the keychain access password box and thus i have to click deny to make it disappear and only after that the wifi network password box pops up.
AX200 10.15.6
Regards !