Wifi client does not reconnect automatically #1817
-
|
Hi, I have eth0, wlan0 which connects to the internet and wlan1 which is the hotspot. After a shutdoen or a reboot, the only way to access the RaspAP Gui is to use a cable connection on eth0. So you allways need a PC or Laptop. No connection to the already setup Hotspot possible at this stage. Any ways of auto reconnecting to a know network in wifi client, or at least a possibility to enter the Hotspot network? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Hi, I think this might help: https://docs.raspap.com/faq/#can-raspap-automatically-connect-to-a-known-wifi-network-at-boot |
Beta Was this translation helpful? Give feedback.
-
|
Hi, This is not working for v3.4.5 When running the command: (Note: I have swapped wlan0 & wlan1);
I get the following result: Successfully initialized wpa_supplicant wlan1: CTRL-EVENT-DSCP-POLICY clear_all However, if I go to the "Wifi Client" web page, it automatically does a Scan, which populates list_networks, visible by:
& can then use:
and it will reconnect. Question, what can I do to manually trigger the "Scan" on the Wifi Clients page in a Crontab script which includes the last 2 statements? |
Beta Was this translation helpful? Give feedback.
-
|
Hello everyone, I also struggled for a while to establish an automatic reconnection after a reboot (or after losing the Wi-Fi signal) to a known Wi-Fi network. For me, the following solution worked: (Note: WLAN0: Client Wi-Fi, WLAN1: Connection to the external AP)
RaspAP writes the known Wi-Fi networks to the file /etc/wpa_supplicant/wpa_supplicant.conf. The custom wpa_supplicant process for WLAN1 accesses the same file through the symbolic link. Cheers - Michael |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Michael, I think you meant to write:
However when I did this, it didn't work, so I ran:
as part of the "Fail" message it noted: I ran:
And it Worked!!! So for others running V3.4.5
Works a charm! thanks for your help! |
Beta Was this translation helpful? Give feedback.
Hi, I think this might help: https://docs.raspap.com/faq/#can-raspap-automatically-connect-to-a-known-wifi-network-at-boot