braineo / airport-bssid Goto Github PK
View Code? Open in Web Editor NEWcommand line tool to connect to specific bssid for macOS
License: GNU General Public License v3.0
command line tool to connect to specific bssid for macOS
License: GNU General Public License v3.0
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.
For public wifi where there is no password, "public" is not accepted as an acceptable WiFi password
Looks like you need location permissions even with scan now:
https://developer.apple.com/forums/thread/732431?answerId=757608022
% ./bssid scan
No SSID specified, scanning all
ssid: , bssid: , channel: 1, dBm -36
ssid: , bssid: , channel: 1, dBm -39
ssid: , bssid: , channel: 56, dBm -42
ssid: , bssid: , channel: 56, dBm -42
ssid: , bssid: , channel: 1, dBm -43
ssid: , bssid: , channel: 161, dBm -44
ssid: , bssid: , channel: 153, dBm -47
ssid: , bssid: , channel: 1, dBm -51
ssid: , bssid: , channel: 153, dBm -51
ssid: , bssid: , channel: 11, dBm -51
ssid: , bssid: , channel: 11, dBm -52
ssid: , bssid: , channel: 153, dBm -52
ssid: , bssid: , channel: 11, dBm -54
ssid: , bssid: , channel: 157, dBm -56
ssid: , bssid: , channel: 161, dBm -57
ssid: , bssid: , channel: 6, dBm -58
ssid: , bssid: , channel: 44, dBm -58
ssid: , bssid: , channel: 6, dBm -58
ssid: , bssid: , channel: 11, dBm -59
ssid: , bssid: , channel: 6, dBm -59
ssid: , bssid: , channel: 6, dBm -59
ssid: , bssid: , channel: 157, dBm -59
ssid: , bssid: , channel: 44, dBm -60
ssid: , bssid: , channel: 6, dBm -61
I need to join a hidden network of which I don't remember the name, but bssid connect f0:fe:6b:b8:9e:50
returns:
require a BSSID or pass a SSID by --ssid
P.S.: I'm on macOS 10.14.6
All the returned BSSIDs are null, thus it can not connect to one when supplied (via airport scan)
./.build/x86_64-apple-macosx/debug/bssid scan
ssid: AndroidRepeater, bssid: , channel: 2, dBm -24
ssid: XFINITY, bssid: , channel: 149, dBm -86
ssid: xfinitywifi, bssid: , channel: 149, dBm -86
ssid: iPhone, bssid: , channel: 11, dBm -87
ssid: CableWiFi, bssid: , channel: 149, dBm -87
Hi,
On my M1 Mac I had to adjust the Makefile as follows:
".PHONY: install
install:
ln -fs $(PWD)/.build/arm64-apple-macosx/debug/bssid /usr/local/bin/"
When you swift build on M1 architecture, it seems that the build folder name defaults to the one above, instead of the one in the original Makefile.
Maybe add that to the readme or so.
Cheers!
For enterprise networks there is no password...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.