{"id":23087630,"url":"https://github.com/looran/owrt_wififo","last_synced_at":"2025-04-03T16:45:34.769Z","repository":{"id":267605297,"uuid":"901775842","full_name":"looran/owrt_wififo","owner":"looran","description":"OpenWRT daemon for WAN multi-wifi failover","archived":false,"fork":false,"pushed_at":"2024-12-13T20:19:11.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T05:27:37.646Z","etag":null,"topics":["client","failover","openwrt","wifi","wpa-supplicant"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/looran.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-11T09:44:12.000Z","updated_at":"2024-12-13T20:19:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"378f8e4e-e7f2-4782-82e3-d8f631104c48","html_url":"https://github.com/looran/owrt_wififo","commit_stats":null,"previous_names":["looran/owrt_wififo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/looran%2Fowrt_wififo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/looran%2Fowrt_wififo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/looran%2Fowrt_wififo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/looran%2Fowrt_wififo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/looran","download_url":"https://codeload.github.com/looran/owrt_wififo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247043203,"owners_count":20874084,"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","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":["client","failover","openwrt","wifi","wpa-supplicant"],"created_at":"2024-12-16T19:59:22.628Z","updated_at":"2025-04-03T16:45:34.763Z","avatar_url":"https://github.com/looran.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"wififo - OpenWRT daemon for WAN multi-wifi failover\n\nFeatures\n- user list of wifi networks ssid and keys, ordered by priority\n- scans wifi APs and connect to the most prioritized\n- allow specifying [SQM](https://openwrt.org/docs/guide-user/network/traffic-shaping/sqm) download/upload values per wifi\n- continuously tests connectivity (ICMP)\n- continuously tests if a higher-priority wifi becomes available\n- no extra OpenWRT modifications needed, wififo sets current wifi network via regular `uci` commands\n\n# Install\n\nCopy `wififo` to the target openwrt system:\n\n```\nscp wififo root@192.168.1.1:/etc/init.d/\nscp wififo.conf.example root@192.168.1.1:/etc/\n```\n\nStart and enable `wififo` at boot:\n\n```\nchmod +x /etc/init.d/wififo\n/etc/init.d/wififo start\n/etc/init.d/wififo enable\n```\n\n# Configure\n\nThe list of wifi networks is provided through `/etc/wififo.conf` with this format:\n```\n- \u003cssid\u003e\n\u003cpsk\u003e\n\u003cnetwork_interface\u003e \u003copenwrt_interface_name\u003e \u003cencryption\u003e [\u003csqm_download\u003e [\u003csqm_upload\u003e]]\n```\n\nThe networks must be specified in order of priority.\n\nFor example (see `wififo.conf.example`):\n```\n- BestSSID\nThisIsAComplexWPAKey\nwlan0 wifinet1 psk2\n- OtherSSID\nLittleKeyKey\nwlan0 wifinet1 psk2\n# IgnoredNetwork\nmypskmypsk\nwlan0 wifinet1 psk2\n```\n\n# Troubleshooting\n\nLogs are in `/tmp/wififo.log`\n\nStart in foreground and log to stdout:\n```\n/etc/init.d/wififo main\n```\n\nEnable verbose logging:\n```\nVERBOSE=1 /etc/init.d/wififo main\n```\n\n# Alternatives\n\n- Use `wpa_supplicant`, but this requires tweaking and does not provide ping connectivity tests.\nSupport for User-Defined Wpa-Supplicant Config: https://forum.openwrt.org/t/support-for-user-defined-wpa-supplicant-config/2603/8\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flooran%2Fowrt_wififo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flooran%2Fowrt_wififo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flooran%2Fowrt_wififo/lists"}