[no ci] Overlay: correct wireless interface files (#1013)

This commit is contained in:
viktorxda
2023-10-01 23:10:36 +02:00
committed by GitHub
parent dd4207fe7e
commit 296bd0f613
3 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,3 @@
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_passphrase "$(fw_printenv -n wlanssid || echo OpenIPC)" "$(fw_printenv -n wlanpass || echo OpenIPC12345)" > /tmp/wpa_supplicant.conf
pre-up sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf

View File

@@ -0,0 +1,6 @@
auto wlan0
iface wlan0 inet dhcp
pre-up wpa_passphrase "$(fw_printenv -n wlanssid || echo OpenIPC)" "$(fw_printenv -n wlanpass || echo OpenIPC12345)" > /tmp/wpa_supplicant.conf
pre-up sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf
pre-up wpa_supplicant -D nl80211,wext -i wlan0 -c /tmp/wpa_supplicant.conf -B
post-down killall -q wpa_supplicant

View File

@@ -1030,7 +1030,7 @@ CONFIG_UDHCP_DEBUG=0
CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=80
CONFIG_FEATURE_UDHCP_RFC3397=y
CONFIG_FEATURE_UDHCP_8021Q=y
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-x hostname:$(hostname) -T 1 -t 15 -R -b -O search"
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-x hostname:$(hostname) -A 0 -T 1 -t 1 -R -b -O search"
#
# Print Utilities