mirror of https://github.com/OpenIPC/firmware.git
7 lines
302 B
Plaintext
7 lines
302 B
Plaintext
iface eth2 inet dhcp
|
|
pre-up wifi xm711
|
|
pre-up wpa_passphrase "SSID" "password" >/tmp/wpa_supplicant.conf
|
|
pre-up sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf
|
|
pre-up (sleep 3; wpa_supplicant -B -D nl80211 -i eth2 -c/tmp/wpa_supplicant.conf)
|
|
post-down killall -q wpa_supplicant
|