{"id":19050520,"url":"https://github.com/blakek/macos-wifi-reconnect","last_synced_at":"2026-06-22T13:31:53.638Z","repository":{"id":61825568,"uuid":"555456043","full_name":"blakek/macos-wifi-reconnect","owner":"blakek","description":"A simple way to make sure macOS reconnects to a certain Wi-Fi network","archived":false,"fork":false,"pushed_at":"2022-10-31T12:42:24.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T13:23:45.391Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blakek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-21T16:03:42.000Z","updated_at":"2022-10-21T18:47:58.000Z","dependencies_parsed_at":"2023-01-20T16:45:46.892Z","dependency_job_id":null,"html_url":"https://github.com/blakek/macos-wifi-reconnect","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blakek/macos-wifi-reconnect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakek%2Fmacos-wifi-reconnect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakek%2Fmacos-wifi-reconnect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakek%2Fmacos-wifi-reconnect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakek%2Fmacos-wifi-reconnect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blakek","download_url":"https://codeload.github.com/blakek/macos-wifi-reconnect/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blakek%2Fmacos-wifi-reconnect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34651747,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"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":[],"created_at":"2024-11-08T23:15:12.618Z","updated_at":"2026-06-22T13:31:53.620Z","avatar_url":"https://github.com/blakek.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# macos-wifi-reconnect\n\n\u003e 📶 Reconnects to a Wi-Fi network if the connection is lost.\n\nThis is a simple script that runs in the background and checks if the Wi-Fi connection has a network connection. If not, it just turns Wi-Fi off and on again to reconnect.\n\nI wrote this because I'm using an older MacBook Air as a server. When the router is restarted, Wi-Fi is not automatically reconnected for some reason. I tried fixing using macOS' built-in Wi-Fi settings, but it didn't work.\n\nIf you have a newer system (maybe macOS 11+?), there's an [earlier implementation of this script](https://github.com/blakek/macos-wifi-reconnect/tree/4dbecd4141df7e76673fde0b8616368d2d5c1858) that uses `airportd` instead of `networksetup`. It can connect to a specific network without needing the network password (if you've connected to it before).\n\n## Install\n\n**Installing from source:**\n\n1. Either [clone this repository](https://help.github.com/articles/cloning-a-repository/) or [download the ZIP file](https://github.com/blakek/macos-wifi-reconnect/archive/main.zip)\n2. Build from the Makefile:\n\n\u003e **Note:**\n\u003e You'll see these running make as root. This is because powering on/off Wi-Fi from the terminal requires root privileges for some reason :shrug:\n\n```bash\nsudo make install\n```\n\n3. Reboot _or_ load the LaunchAgent using Make:\n\n```bash\nsudo make load\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakek%2Fmacos-wifi-reconnect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakek%2Fmacos-wifi-reconnect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakek%2Fmacos-wifi-reconnect/lists"}