Created
January 11, 2026 00:16
-
-
Save CrashAngelArts/6df2f61c536ba4ac503f820f6d4fa8a7 to your computer and use it in GitHub Desktop.
ArchLinux (WiFi)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| loadkeys br-abnt2 | |
| INTERFACE="wlan0" | |
| REDE="CurvaDeRio" | |
| SENHA="" | |
| cp nftables.conf /etc | |
| systemctl enable nftables --now | |
| nft -f /etc/nftables.conf | |
| echo "DNS=1.1.1.1" >> /etc/systemd/resolved.conf | |
| echo "FallbackDNS=" >> /etc/systemd/resolved.conf | |
| echo "DNSStubListener=no" >> /etc/systemd/resolved.conf | |
| echo "DNSSEC=yes" >> /etc/systemd/resolved.conf | |
| echo "DNSOverHTTPS=yes" >> /etc/systemd/resolved.conf | |
| echo "Cache=yes" >> /etc/systemd/resolved.conf | |
| systemctl restart systemd-resolved | |
| ln -sf /run/systemd/resolve/resolve.conf /etc/resolv.conf | |
| iwctl --passphrase "$SENHA" station "$INTERFACE" connect "$REDE" | |
| sleep 5 | |
| pacman -Sy | |
| pacman -S --noconfirm exfatprogs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment