All Projects → braineo → airport-bssid

braineo / airport-bssid

Licence: GPL-3.0 license
command line tool to connect to specific bssid for macOS

Programming Languages

swift
15916 projects
Makefile
30231 projects

Projects that are alternatives of or similar to airport-bssid

ethernally
Your scrcpy companion for Android wireless screen mirroring
Stars: ✭ 33 (-19.51%)
Mutual labels:  wifi
ApeX
Using Social Engineering To Obtain WiFi Passwords
Stars: ✭ 87 (+112.2%)
Mutual labels:  wifi
RoverController
LoRa/WiFi remote controller for driving my rover
Stars: ✭ 87 (+112.2%)
Mutual labels:  wifi
CaptivePortalCheck
一个检测当前WIFI是否需要认证的小Demo
Stars: ✭ 41 (+0%)
Mutual labels:  wifi
deneyapkart-arduino-core
Arduino Core for Deneyap DevKits
Stars: ✭ 39 (-4.88%)
Mutual labels:  wifi
UPnP Generic
A simple library that implements port mappings to router using UPnP SSDP for Arduino boards, running on nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, Teensy, RP2040-based boards, WT32_ETH01, Portenta_H7, etc. besides ESP8266/ESP32, using ESP WiFi, WiFiNINA, Ethernet W5x00, ESP8266/ESP32 AT-command WiFi, Portenta_H7 Murata WiFi or Vision-shield Ethe…
Stars: ✭ 14 (-65.85%)
Mutual labels:  wifi
deauther
An interactive command-line deauther for macOS.
Stars: ✭ 70 (+70.73%)
Mutual labels:  wifi
ESP32 IMU BARO GPS VARIO
GPS altimeter/variometer with LCD display, routes with waypoints, data/gps track logging, bluetooth NMEA sentence transmission, wifi AP + webpage configuration
Stars: ✭ 72 (+75.61%)
Mutual labels:  wifi
adb-interface-vscode
🔌 A tool that allows you to execute ADB.exe commands/actions without having to interact with the terminal.
Stars: ✭ 26 (-36.59%)
Mutual labels:  wifi
wifianalyse
simple bash script to monitor wifi signal and ping time
Stars: ✭ 49 (+19.51%)
Mutual labels:  wifi
ioTank
Indoor environment monitor based on Esp8266
Stars: ✭ 15 (-63.41%)
Mutual labels:  wifi
hfeasy
HFeasy - firmware for HF-LPx100/LPx30 based devices
Stars: ✭ 35 (-14.63%)
Mutual labels:  wifi
BlynkGSM Manager
Simple GSM shield Manager for Blynk and ESP32 / ESP8266 boards, with or without SSL, configuration data saved in SPIFFS / EEPROM. This library enables user to include both Blynk GSM/GPRS and WiFi libraries in one sketch, run both WiFi and GSM/GPRS simultaneously, or select one to use at runtime after reboot.
Stars: ✭ 19 (-53.66%)
Mutual labels:  wifi
marfil
Marfil is an extension of the Aircrack-ng suite, used to assess WiFi network security. It allows to split the work of performing long running dictionary attacks among many computers.
Stars: ✭ 49 (+19.51%)
Mutual labels:  wifi
macos-wifiname
Display the currently connected WiFi name (SSID) in the menu bar on macOS
Stars: ✭ 45 (+9.76%)
Mutual labels:  wifi
ESP8266
ESP8266 WiFi module Library for Arduino
Stars: ✭ 31 (-24.39%)
Mutual labels:  wifi
WiFi-View
在 Android 设备上快速查看与管理保存的 WiFi 密码
Stars: ✭ 15 (-63.41%)
Mutual labels:  wifi
Doorbell-via-Wemos-and-optocoupler
Digital version of my "analog" doorbell project to determine if the doorbell was pressed.
Stars: ✭ 55 (+34.15%)
Mutual labels:  wifi
ESP8266 WiFi v2.x
ESP8266 WiFi for OpenEVSE Version 2.x
Stars: ✭ 72 (+75.61%)
Mutual labels:  wifi
airkissOpen
腾讯airkiss协议解析库
Stars: ✭ 33 (-19.51%)
Mutual labels:  wifi

bssid command for macOS

Once upon a time, you can specify a BSSID to connect by doing airport -A=ssid -BSSID=bssidname -password=password, which is no longer supported.

this bssid provide a simple way to list BSSID and connect to one

Usage

# list BSSID given a SSID

bssid scan # this will list all visible BSSID

bssid scan <ssid1> <ssid2> # only show result of <ssid1> and <ssid2>


# connect to BSSID, will prompt for password
bssid connect <bssid>

# For 10.15 or above users, get over by specifying SSID and channel number instead
bssid connect --ssid <ssid>
bssid connect --ssid <ssid> --channel <channelNumber>

Build

# Building
make
# or
swift build

# Install
make install
# or symlink to wherever you like
ln -fs PATH_TO_LOCAL_REPOSITORY/.build/x86_64-apple-macosx/debug/bssid /usr/local/bin/
# for m1 user would be
ln -fs $(PWD)/.build/arm64-apple-macosx/debug/bssid /usr/local/bin/

For people using macOS 10.15 or above

TL;DR

Ping me or send me PR if you know how to get CoreWLAN returning BSSID ;) It looks like Apple's problem. Use SSID and channel number instead.

What does not work**

Signing the app

Some suggests starting from 10.15, Apple seemed to change the policy on getting bssid that you need a developer account to sign the executable to get BSSID, otherwise you only get empty return.

# If you have a developer account
codesign --entitlements bssid.entitlements -s 'Your identity' ./.build/x86_64-apple-macosx/debug/bssid
# Seems you can also sign and run locally
codesign --force --sign - --entitlements bssid.entitlements --timestamp=none ./.build/x86_64-apple-macosx/debug/bssid

Requesting location permission

Some users suggested requiring location information in order to get location but some reported it did not work

https://developer.apple.com/forums/thread/124189

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].