Skip to content

Instantly share code, notes, and snippets.

@pygman
Last active September 21, 2016 05:42
Show Gist options
  • Save pygman/6200a650ed54b571fb962f2a7c7caabc to your computer and use it in GitHub Desktop.
Save pygman/6200a650ed54b571fb962f2a7c7caabc to your computer and use it in GitHub Desktop.
树莓派Raspberry
# /etc/wpa_supplicant/wpa_supplicant.conf
# sudo ifup wlan0 启动wifi
# sudo ifdown wlan0 关闭wifi
country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="PYGMALION"
scan_ssid=1
#psk="PASSWORD"
# wpa_passphrase 账号 密码 获得\`
psk=6815eb879b6b05f2e9dbf9621f40e1056d98e07f55d3f338bbe499277b5208da
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
auth_alg=OPEN
}
network={
...
...
#可配置多个
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment