mirror of https://github.com/OpenIPC/firmware.git
9 lines
315 B
Plaintext
9 lines
315 B
Plaintext
|
|
manual eth2
|
|
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
|