I think there was a typo in your configuration ... odd .. Wifi should be working now ... wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.42 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fd06:aa9d:ff05:1:c773:adcd:687b:d7c2 prefixlen 64 scopeid 0x0<global> inet6 fdaa:bbcc:ddee:0:c2c9:671f:1be7:bf3a prefixlen 64 scopeid 0x0<global> inet6 fe80::22dd:a3b6:a505:60fb prefixlen 64 scopeid 0x20<link> ether b8:27:eb:8c:9d:a6 txqueuelen 1000 (Ethernet) RX packets 540 bytes 55274 (53.9 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 6893 bytes 4271399 (4.0 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
hmmm .. there's a bug in the parse script .. awkward .. Code: numlines=$(wc -l /boot/adsb-config.txt | cut -f1 -d ' ') for (( line=1; line<=numlines; line++)) do sedscript=$line"p" param=$(sed -n $sedscript /boot/adsb-config.txt | cut -f 1 -d ' ') value=$(sed -n $sedscript /boot/adsb-config.txt | cut -f 2- -d ' ' | cut -f 1 -d$'\r') if [ "$param" == "WIFI_SSID" ] then WIFI_SSID=$(echo ${value,}) echo WIFI_SSID=$WIFI_SSID >> /tmp/adsbx-params fi if [ "$param" == "WIFI_PASSWORD" ] then WIFI_PASSWORD=$(echo ${value,}) echo WIFI_PASSWORD=$WIFI_PASSWORD >> /tmp/adsbx-params fi If "WIFISSID" then it appears in /tmp/adsbx-params as WIFISSID if WIFISSID then it appears in /tmp/adsbx-params as wIFISSID What am i missing in bash?
Ok this is fail from FA codebase ... ugh .. === This is called "Parameter Expansion" available in bash version 4+ . To change the case of the string stored in the variable to lower case.Eg: var=HeyThere echo ${var,,} heythere You may want to try some additional commands and check the effect : source ${var^} ${var^^} ${var,} ${var,,} Note: "Parameter Expansion" is present in man bash .Search for it.