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...") |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
Back to [[Ricbot]] | * Back to [[Ricbot]] | ||
* Back to [[Robobot_B | Robobot]] | |||
== Raspberry hotspot == | == Raspberry hotspot == | ||
| Line 7: | Line 8: | ||
=== Network manager === | === Network manager === | ||
Network Manager | Network Manager does it all in one go: | ||
sudo nmcli device wifi hotspot ssid | sudo nmcli device wifi hotspot ssid raspberry password pipiAnika | ||
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 41: | ||
[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 | |||
All other established wifi connections (with autoconnect=true) will then be attempted first. | |||
Latest revision as of 09:05, 28 April 2026
Raspberry hotspot
If Wi-Fi is not available, then start your own hotspot.
Network manager
Network Manager does it all in one go:
sudo nmcli device wifi hotspot ssid raspberry password pipiAnika
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
All other established wifi connections (with autoconnect=true) will then be attempted first.