{"id":20833755,"url":"https://github.com/sbakker/nm-wlan","last_synced_at":"2026-04-29T14:02:00.215Z","repository":{"id":113560532,"uuid":"103177032","full_name":"sbakker/nm-wlan","owner":"sbakker","description":"NetworkManager scripts for WiFi","archived":false,"fork":false,"pushed_at":"2022-09-27T12:33:20.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-12T08:45:42.632Z","etag":null,"topics":["laptop","linux","networkmanager-scripts","nm-wlan"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/sbakker.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":"2017-09-11T19:10:46.000Z","updated_at":"2023-03-29T09:27:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"e54d76e2-b359-452d-927b-6e91c9c84bb7","html_url":"https://github.com/sbakker/nm-wlan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbakker/nm-wlan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbakker%2Fnm-wlan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbakker%2Fnm-wlan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbakker%2Fnm-wlan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbakker%2Fnm-wlan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbakker","download_url":"https://codeload.github.com/sbakker/nm-wlan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbakker%2Fnm-wlan/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262484139,"owners_count":23318402,"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":["laptop","linux","networkmanager-scripts","nm-wlan"],"created_at":"2024-11-18T00:16:37.473Z","updated_at":"2026-04-29T14:01:55.174Z","avatar_url":"https://github.com/sbakker.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nm-wlan - NetworkManager WLAN scripts\n\nA few scripts to handle Wifi connections on a laptop.\n\n# Scripts\n\n## /etc/NetworkManager/dispatcher.d/99-wlan\n\nUsage: **99-wlan** *IFACE* *ACTION*\n\n * Disable WiFi when a wired connection comes up.\n * Re-enable WiFi when the wired connection goes down again.\n * When a WiFi connection `CONN_NAME` comes up, run `wlan-up.d/CONN_NAME` if it exists.\n\nTriggered by *any* wired interface, so really only useful for laptops with one interface.\n\n## /etc/NetworkManager/dispatcher.d/wlan-up.d/default\n\nDefault script to run if a WiFi connection comes up and there is no explicit script for the network.\n\n## /etc/NetworkManager/dispatcher.d/wlan-up.d/scripts/disable_ipv6.sh\n\nUsage: **disable_ipv6** [*IFACE* [*ACTION* [*CONN_NAME*] ] ]\n\nHelper script to disable IPv6 on the given interface.\n\n# Installation\n\nInstall the `dispatcher.d` files in `/etc/NetworkManager/dispatcher.d`, owned by `root`.\n\n```\nrsync -av dispatcher.d/ /etc/NetworkManager/dispatcher.d/\nchown -R root: /etc/NetworkManager/dispatcher.d\n```\n\n# Usage\n\nThe `99-wlan` should get called automatically.\n\nTo execute custom actions for when a WiFi network `FOO` comes up, create a script in `/etc/NetworkManager/wlan-up.d/FOO`. For example, if you want to disable IPv6 on network `FOO`:\n\n```\nsudo dd of=/etc/NetworkManager/wlan-up.d/FOO \u003c'EOF'\n#!/bin/sh\n\ndisable_ipv6.sh \"$@\"\nEOF\nsudo chmod +x /etc/NetworkManager/wlan-up.d/FOO\nsudo chown root: /etc/NetworkManager/wlan-up.d/FOO\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbakker%2Fnm-wlan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbakker%2Fnm-wlan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbakker%2Fnm-wlan/lists"}