Connect your device or computer to the hotspot and in volumio network menu you should see other network. Select the one you want to connect to and configure it. Save and reboot.
Here is how I did for mine. By default any http request seems to redirect to volumio. This solution allows you to navigate internet and use volumio as an internet hotspot as well as using it.
Edit /etc/dhcp/dhcpd.conf and change the DNS to 8.8.8.8
Edit iptables to look as following (read bellow for howto)
-A PREROUTING -d YourLANIP/32 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3000 #More specific rule to redirect to volumio from LAN
-A PREROUTING -d 192.168.211.1/32 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3000 #More specific rule to redirect to volumio from WLAN
-A POSTROUTING -o eth0 -j MASQUERADE
-A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT # Internet way back for hotspot clients
-A FORWARD -i wlan0 -o eth0 -j ACCEPT # Internet forward for hotspot clients
iptables-save > /etc/iptables.rules #to persist the rules
iptables -A INPUT… #to add manually INPUT rule
iptables -A FORWARD … #to add manually FORWARD rule
iptables -t nat -A PREROUTING #to add manually PREROUTING rule
iptables -t nat -A POSTROUTING #to add manually POSTROUTING rule
This line provide the DNS configuration to your connected clients . It means that every device will ask this IP (Volumio Wifi IP = 192.168.211.1 by default) to translate web address to IP address.
If you change volumio IP 192.168.211.1 by 8.8.8.8 (google public DNS) or any prefere DNS it will sort you out.
FYI to apply it you need to restart the DHCP service : sudo service dhcpd restart
or restart volumio
Don’t forget to persist the iptables rules to keep them after reboot
sudo iptables-save > /etc/iptables.rules
If you modify the file manually you need to reboot or reload the file into iptables.
The best is to run the iptables command which will work straight away. When it’s working you can save them to the file for next reboot