{"id":13588317,"url":"https://github.com/braineo/airport-bssid","last_synced_at":"2025-09-18T03:16:35.258Z","repository":{"id":50722638,"uuid":"116569598","full_name":"braineo/airport-bssid","owner":"braineo","description":"command line tool to connect to specific bssid for macOS","archived":false,"fork":false,"pushed_at":"2022-11-20T15:03:02.000Z","size":53,"stargazers_count":65,"open_issues_count":6,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-09-12T14:16:26.334Z","etag":null,"topics":["bssid","cli","command-line","macos","wifi"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/braineo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-07T13:55:42.000Z","updated_at":"2025-08-13T20:06:11.000Z","dependencies_parsed_at":"2023-01-23T13:31:11.199Z","dependency_job_id":null,"html_url":"https://github.com/braineo/airport-bssid","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/braineo/airport-bssid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braineo%2Fairport-bssid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braineo%2Fairport-bssid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braineo%2Fairport-bssid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braineo%2Fairport-bssid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/braineo","download_url":"https://codeload.github.com/braineo/airport-bssid/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braineo%2Fairport-bssid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275701528,"owners_count":25512350,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-18T02:00:09.552Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bssid","cli","command-line","macos","wifi"],"created_at":"2024-08-01T15:06:37.958Z","updated_at":"2025-09-18T03:16:35.239Z","avatar_url":"https://github.com/braineo.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"# bssid command for macOS\n\nOnce upon a time, you can specify a BSSID to connect by doing `airport -A=ssid -BSSID=bssidname -password=password`, which is no longer supported.\n\n\nthis `bssid` provide a simple way to list BSSID and connect to one\n\n\n## Usage\n\n``` shell\n# list BSSID given a SSID\n\nbssid scan # this will list all visible BSSID\n\nbssid scan \u003cssid1\u003e \u003cssid2\u003e # only show result of \u003cssid1\u003e and \u003cssid2\u003e\n\n\n# connect to BSSID, will prompt for password\nbssid connect \u003cbssid\u003e\n\n# For 10.15 or above users, get over by specifying SSID and channel number instead\nbssid connect --ssid \u003cssid\u003e\nbssid connect --ssid \u003cssid\u003e --channel \u003cchannelNumber\u003e\n```\n\n## Build\n\n``` shell\n# Building\nmake\n# or\nswift build\n\n# Install\nmake install\n# or symlink to wherever you like\nln -fs PATH_TO_LOCAL_REPOSITORY/.build/x86_64-apple-macosx/debug/bssid /usr/local/bin/\n# for m1 user would be\nln -fs $(PWD)/.build/arm64-apple-macosx/debug/bssid /usr/local/bin/\n```\n\n## For people using macOS 10.15 or above\n\nTL;DR\n\nPing me or send me PR if you know how to get `CoreWLAN` returning BSSID ;)\nIt looks like Apple's problem. Use SSID and channel number instead.\n\n### What does not work**\n\n#### Signing the app\nSome 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.\n\n``` shell\n# If you have a developer account\ncodesign --entitlements bssid.entitlements -s 'Your identity' ./.build/x86_64-apple-macosx/debug/bssid\n# Seems you can also sign and run locally\ncodesign --force --sign - --entitlements bssid.entitlements --timestamp=none ./.build/x86_64-apple-macosx/debug/bssid\n```\n\n#### Requesting location permission\n\nSome users suggested requiring location information in order to get location but some reported it did not work\n\nhttps://developer.apple.com/forums/thread/124189","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraineo%2Fairport-bssid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbraineo%2Fairport-bssid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraineo%2Fairport-bssid/lists"}