diff options
| author | eug-vs <eugene@eug-vs.xyz> | 2021-09-21 10:57:34 +0300 |
|---|---|---|
| committer | eug-vs <eugene@eug-vs.xyz> | 2021-09-21 10:58:50 +0300 |
| commit | bbe0e7af9ff0381b1475bb414a6153f0bb947134 (patch) | |
| tree | 9b64dc844f150df12522611aa4d29c75ea87a595 /scripts/.local/bin/ttl.sh | |
| parent | 90b9522b15a692532d9b3f28acc417670144e3fa (diff) | |
| download | dotfiles-bbe0e7af9ff0381b1475bb414a6153f0bb947134.tar.gz | |
feat(scripts): use wlan0 instead of wlo1
Diffstat (limited to 'scripts/.local/bin/ttl.sh')
| -rwxr-xr-x | scripts/.local/bin/ttl.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/.local/bin/ttl.sh b/scripts/.local/bin/ttl.sh index 20c13e5..9cdabf0 100755 --- a/scripts/.local/bin/ttl.sh +++ b/scripts/.local/bin/ttl.sh @@ -1,11 +1,11 @@ #!/bin/sh # Fix default TTL and disable ipv6 making changes permanent -# TODO: replace wlo1 with automatically detected device name +# TODO: replace wlan0 with automatically detected device name sudo sysctl \ net.ipv4.ip_default_ttl=65 \ net.ipv6.conf.all.disable_ipv6=1\ net.ipv6.conf.default.disable_ipv6=1 \ - net.ipv6.conf.wlo1.disable_ipv6=1 \ + net.ipv6.conf.wlan0.disable_ipv6=1 \ | sudo tee /etc/sysctl.d/fix-ttl.conf -a |