Update adapter

This commit is contained in:
Signor Pellegrino
2025-05-31 11:28:18 +03:00
committed by GitHub
parent 0e788ab4cc
commit cd54fc8853

View File

@@ -45,6 +45,7 @@ case "$1" in
pass=$(fw_printenv -n wlanpass || echo 12345678)
wpa_passphrase "$ssid" "$pass" > /tmp/wpa_supplicant.conf
sed -i '2i \\tmode=2' /tmp/wpa_supplicant.conf
#sed -i '3i \\tfrequency=5180' /tmp/wpa_supplicant.conf
wpa_supplicant -B -i wlan0 -D nl80211 -c /tmp/wpa_supplicant.conf
udhcpd -S
;;