Skip to content

Instantly share code, notes, and snippets.

@zeta709
Created February 16, 2018 15:44
Show Gist options
  • Save zeta709/e278b0d550ae78d93e80aea222a9ec2e to your computer and use it in GitHub Desktop.
Save zeta709/e278b0d550ae78d93e80aea222a9ec2e to your computer and use it in GitHub Desktop.
Wireless network (Realtek 8812/8821)
#!/bin/sh
modprobe cfg80211
modprobe rtl8812au
wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
dhcpcd wlan0
ctrl_interface=/run/wpa_supplicant
update_config=1
network={
ssid="********"
psk="********"
scan_ssid=1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment