RICbot Hotspot: Difference between revisions
From Rsewiki
(Created page with "Back to Ricbot == Raspberry hotspot == If Wi-Fi is not available, then start your own hotspot. === Network manager === Network Manager do it all in one go: sudo nmcli device wifi hotspot ssid <example-network-name> password <example-password> This will also make an entry in ''/etc/NetworkManager/system-connections/'' called ''Hotspot.nmconnection'' [connection] id=Hotspot uuid=407d1e04-7971-4c33-9a71-c760c803ce9b type=wifi autoconnect=false interface-na...") |
|||
| Line 13: | Line 13: | ||
This will also make an entry in ''/etc/NetworkManager/system-connections/'' called ''Hotspot.nmconnection'' | This will also make an entry in ''/etc/NetworkManager/system-connections/'' called ''Hotspot.nmconnection'' | ||
# default setup without priority | |||
[connection] | [connection] | ||
id=Hotspot | id=Hotspot | ||
| Line 39: | Line 40: | ||
[proxy] | [proxy] | ||
Set autoconnect to true and add a priority line to make this the last-resort priority (low negative value). | |||
sudo nano /etc/NetworkManager/system-connections/Hotspot.nmconnection | |||
# In the [connection] group, replace autoconnect=false with | |||
autoconnect-priority=-50 | |||
Revision as of 08:59, 28 April 2026
Back to Ricbot
Raspberry hotspot
If Wi-Fi is not available, then start your own hotspot.
Network manager
Network Manager do it all in one go:
sudo nmcli device wifi hotspot ssid <example-network-name> password <example-password>
This will also make an entry in /etc/NetworkManager/system-connections/ called Hotspot.nmconnection
# default setup without priority [connection] id=Hotspot uuid=407d1e04-7971-4c33-9a71-c760c803ce9b type=wifi autoconnect=false interface-name=wlan0 [wifi] mode=ap ssid=raspberry [wifi-security] group=ccmp; key-mgmt=wpa-psk pairwise=ccmp; proto=rsn; psk=pipiAnika [ipv4] method=shared [ipv6] addr-gen-mode=default method=ignore [proxy]
Set autoconnect to true and add a priority line to make this the last-resort priority (low negative value).
sudo nano /etc/NetworkManager/system-connections/Hotspot.nmconnection # In the [connection] group, replace autoconnect=false with autoconnect-priority=-50