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.

Revisions

  1. @natbusa natbusa created this gist Sep 14, 2020.
    7 changes: 7 additions & 0 deletions disable_ip6_wifi.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #!/bin/bash

    for con in natbusa "natbusa 5G";
    do
    echo ipv6.method ignore connection: \"$con\"
    nmcli con modify "$con" ipv6.method ignore
    done;