I had a lot of problems with the script. Sometime I could not get internet access on the AP.
I think the problem was that the raspberry pie rebooted to fast at the end of the installation script. Looks like all the configuration did not have time to write the data from memory to the SD card before it rebooted. Maybe the last commands in the script was not saved ?
I put an sleep 10, command at the end of the installation script before the reboot so all the files was written to the card. At this time I had no problem. Maybe I had an slow SD card or something. It was on an Raspberry Pi 3B+
echo "WIRELESS:"
echo "##########"
echo "Output of: $(tput setaf 9)iw dev wlan0 info$(tput sgr 0)"
iw dev wlan0 info
echo
echo "Output of: $(tput setaf 9)iwconfig wlan0$(tput sgr 0)"
iwconfig wlan0
echo
echo "Config Completed. Host will reboot now"
sleep 10
echo
systemctl reboot
I had a lot of problems with the script. Sometime I could not get internet access on the AP.
I think the problem was that the raspberry pie rebooted to fast at the end of the installation script. Looks like all the configuration did not have time to write the data from memory to the SD card before it rebooted. Maybe the last commands in the script was not saved ?
I put an sleep 10, command at the end of the installation script before the reboot so all the files was written to the card. At this time I had no problem. Maybe I had an slow SD card or something. It was on an Raspberry Pi 3B+
echo "WIRELESS:"$(tput setaf 9)iw dev wlan0 info$ (tput sgr 0)"$(tput setaf 9)iwconfig wlan0$ (tput sgr 0)"
echo "##########"
echo "Output of:
iw dev wlan0 info
echo
echo "Output of:
iwconfig wlan0
echo
echo "Config Completed. Host will reboot now"
sleep 10
echo
systemctl reboot