Hi,
I'm running PcP on a PiZero as a client.
There are 2 servers available running the LMS.
I set up the wpa_supplicant.conf for multiple networks and assigned different priorities for the Zero to connect to.
This works, but if the primary WiFi is lost, the Zero will not connect to the other available net.Code:network={ ssid="Network1" psk="password1" key_mgmt=WPA-PSK auth_alg=OPEN priority=2 } network={ ssid="Network2" psk="password2" key_mgmt=WPA-PSK auth_alg=OPEN priority=1 } network={ ssid="Network3" psk="password3" key_mgmt=WPA-PSK auth_alg=OPEN priority=3 }
It will also not reconnect if the primary net is available once again.
Is this the intended behavior or is something going wrong?
There are many solutions to force a reconnect but I can't determine if they're necessary any more.
Results 1 to 5 of 5
-
2019-11-28, 03:12 #1
- Join Date
- Nov 2019
- Posts
- 7
Reconnect wifi if connection lost
Last edited by H34dl3ss; 2019-11-28 at 04:31.
-
2019-12-05, 04:43 #2
- Join Date
- Nov 2019
- Posts
- 7
I worked myself through the man of wpa_supplicant.conf.
The options I found most promising were:
Code:autoscan=<autoscan module name>:<module parameters>
Code:sched_scan_plans=<interval:iterations>
Then I found this post about WiFi roaming.
Setting up the wpa_supplicant.conf is OK, but I can't findCode:/etc/network/interfaces
-
Yesterday, 02:04 #3
- Join Date
- Nov 2019
- Posts
- 7
Nobody???
Where is /etc/network/interfaces in pCP?
-
Yesterday, 03:26 #4
- Join Date
- Jun 2016
- Location
- Bretagne
- Posts
- 5
In Tinycore Linux I believe its done that is static stuff in /opt/eth0.sh
maybe this is of some use:
https://iotbytes.wordpress.com/assig...re-tiny-linux/
-
Yesterday, 06:02 #5
There is not a network manager in pCP.
piCorePlayer a small player for the Raspberry Pi in RAM.
Homepage: https://www.picoreplayer.org
Please donate if you like the piCorePlayer