10-13-2023, 08:21 PM
(10-12-2023, 11:19 PM)Tim Curtis Wrote: For sure :-)
Try a test. Edit hosted.conf and just remove the PSK so the param is like below
wpa_key_mgmt=WPA-PSK
wpa_psk=
rsn_pairwise=CCMP
In my test the "Moode" network did not show up.
True, it didn't start here either but it keeps trying. /var/log/syslog is being flooded with endless repetition of the following:
Code:
...
Oct 13 16:09:37 moode systemd[1]: Starting Access point and authentication server for Wi-Fi and Ethernet...
Oct 13 16:09:37 moode hostapd[28254]: Configuration file: /etc/hostapd/hostapd.conf
Oct 13 16:09:37 moode hostapd[28254]: Line 21: Invalid PSK ''.
Oct 13 16:09:37 moode hostapd[28254]: WPA-PSK enabled, but PSK or passphrase is not configured.
Oct 13 16:09:37 moode hostapd[28254]: 2 errors found in configuration file '/etc/hostapd/hostapd.conf'
Oct 13 16:09:37 moode hostapd[28254]: Failed to set up interface with /etc/hostapd/hostapd.conf
Oct 13 16:09:37 moode hostapd[28254]: Failed to initialize interface
Oct 13 16:09:37 moode systemd[1]: hostapd.service: Control process exited, code=exited, status=1/FAILURE
Oct 13 16:09:37 moode systemd[1]: hostapd.service: Failed with result 'exit-code'.
Oct 13 16:09:37 moode systemd[1]: Failed to start Access point and authentication server for Wi-Fi and Ethernet.
Oct 13 16:09:39 moode systemd[1]: hostapd.service: Scheduled restart job, restart counter is at 6530.
Oct 13 16:09:39 moode systemd[1]: Stopped Access point and authentication server for Wi-Fi and Ethernet.
...
and "Restart=on-failure" is set in /lib/systemd/system/hostapd.service
Don't know enough about hostapd to know if there's an easy hack or if one has to officially enable/disable the service.
Regards,
Kent