Skip to content
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

Ignores both bssid and channel on 10.14.6 #5

Open
super-cache-money opened this issue Jan 27, 2021 · 2 comments
Open

Ignores both bssid and channel on 10.14.6 #5

super-cache-money opened this issue Jan 27, 2021 · 2 comments

Comments

@super-cache-money
Copy link

super-cache-money commented Jan 27, 2021

When I run:

bssid connect {bssid}

or:

bssid connect --ssid "Wifi Network" --channel 36

The wifi icon in the task bar does flash, and I can see a reconnection happening, but it just connects to the same wrong network it was on before.

I have tried sudo - same thing.

@jam07912
Copy link

I want to second that for Monterey 12.6.
My understanding is that the prompt is successful, but within the usual interval specified internally by macOS for checking the best available network (using unknown parameters to define "best"), an overwrite will take place.
The package therefore either needs to suppress this automated network automatisation (probably hard) or needs to overwrite it at the same timing interval such that the prompt is issued regularly and not just once.

@braineo
Copy link
Owner

braineo commented Nov 20, 2022

I want to second that for Monterey 12.6. My understanding is that the prompt is successful, but within the usual interval specified internally by macOS for checking the best available network (using unknown parameters to define "best"), an overwrite will take place. The package therefore either needs to suppress this automated network automatisation (probably hard) or needs to overwrite it at the same timing interval such that the prompt is issued regularly and not just once.

Thank you for the feedback. I guess so. it is very frustrating nowadays to hack anything on Mac.

https://developer.apple.com/documentation/corewlan/cwinterface/1426455-associate

it is using Core WLAN essentially and nothing special. The associate call actually did succeed and there is no warning return.

I suspect it is something related to the WiFi network connection strategy but I did not seem to find anything related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants