Skip to content

Instantly share code, notes, and snippets.

@patterns
Created September 22, 2020 03:10
Show Gist options
  • Save patterns/c117de5a788741cef49613446b4d65ee to your computer and use it in GitHub Desktop.
Save patterns/c117de5a788741cef49613446b4d65ee to your computer and use it in GitHub Desktop.
config wpa_supplicant directly after removing netplan from raspi
#!/bin/sh
# after : sudo systemctl stop/disable wpa_supplicant.service
##sudo wpa_cli terminate
##sleep 2
sudo wpa_supplicant -B -iwlan0 -c $HOME/.config/wlan0.wpa
sleep 5
sudo dhclient -v -cf $HOME/.config/dhclient.conf wlan0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment