wifi: customize /etc/wpa_supplicant.conf

Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
Thomas Klaehn 2017-06-13 15:04:37 +02:00
parent 94cd25ba38
commit fa285a9cd4
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#create encrypted passphrase with: wpa_passphrase '<ssid>' '<decrypted_key>'
country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant
update_config=1
network={
ssid="FRITZ!Box 7330_EXT"
psk=6bee2296d336ab07a1aca9f210be55095896e740225d920c0d7f15906dc35846
id_str="home_outdoor"
priority=1
}
network={
ssid="FRITZ!Box 7330"
psk=44df1640e42b8f4e4b424a39af700c817bc2b89f13c324d29c10bf7ba3028258
id_str="home_indoor"
priority=2
}

View File

@ -0,0 +1,6 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
do_install_append () {
install -m 0644 ${WORKDIR}/wpa_supplicant.conf ${D}${sysconfdir}/wpa_supplicant.conf
}