Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: eSPee on December 08, 2023, 10:37:42 AM
-
Hi all,
I am running Tinycorelinux 9.x (armv6) on a headless zero w pi connected by wifi.
Last night my house had a power failure. Both my pi and router went down (no UPS).
After the power came back on the pi was not able to (re)connect to the router wifi.
I expect the Pi boots faster than the router so router wifi wasn't up yet when the Pi was looking for it.
How do i configure tinycore so that it will keep looking for wifi availability, to avoid this problem?
Help is much appreciated! thnx! ;D
-
Hi eSPee
I presume you are using wifi.sh for your wireless
connection. That being the case:
tc@box:~$ sudo wifi.sh -?
Usage:
Default select AP from menu and request IP via DHCP.
-a Auto connect to first wifi.db entry via DHCP.
-p Select AP from menu and prompt for IP configuration type.
-w Wait indefinitely until lease is obtained
-? Displays this help message.
tc@box:~$
Try adding the w option to the wifi.sh command.
I suspect the command is in /opt/bootlocal.sh.
-
Hi Rich,
Thnx for helping, i will try it and report back!
Best regards eSpee