Skip to content

Instantly share code, notes, and snippets.

@awsvpc
Forked from natbusa/disable_ip6_wifi.sh
Created May 3, 2025 04:21
Show Gist options
  • Save awsvpc/b6755b4a612b7cd3b3676c45bad51341 to your computer and use it in GitHub Desktop.
Save awsvpc/b6755b4a612b7cd3b3676c45bad51341 to your computer and use it in GitHub Desktop.
how to disable ip6 connection on wifi
#!/bin/bash
for con in natbusa "natbusa 5G";
do
echo ipv6.method ignore connection: \"$con\"
nmcli con modify "$con" ipv6.method ignore
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment