Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 2.2 KB

autohotspot.md

File metadata and controls

66 lines (42 loc) · 2.2 KB

Auto-Hotspot

The Auto-Hotspot function enables the Jukebox to switch its connection between a known WiFi network and an automatically generated hotspot, allowing access via SSH or Web App.

Important

Please configure the WiFi connection to your home access point before enabling this feature!

How to connect

When the Jukebox cannot connect to a known WiFi, it will automatically create a hotspot. You can connect to this hotspot using the password set during installation. Afterwards, you can access the Web App or connect via SSH as before, using the IP from the configuration.

The default configuration is

* SSID              : Phoniebox_Hotspot_<hostname>
* Password          : PlayItLoud!
* WiFi Country Code : DE
* IP                : 10.0.0.1

Disabling automatism

Auto-Hotspot can be enabled or disabled using the Web App or RPC Commands.

Disabling the Auto-Hotspot will run the WiFi check again and maintain the last connection state until reboot.

Important

If you disable this feature, you will lose access to the Jukebox if you are not near a known WiFi after reboot!

Troubleshooting

AutoHotspot functionality is not working

Check the autohotspot.service status

sudo systemctl status autohotspot.service

and logs

sudo journalctl -u autohotspot.service -n 50

Jukebox is not connecting to the known WiFi

The script will fall back to the hotspot, ensuring you still have some type of connection.

Check your WiFi configuration.

You need to add a new WiFi network to the Raspberry Pi

Using the command line

Connect to the hotspot and open a terminal. Use the raspi-config tool to add the new WiFi.

Resources