RICbot Hotspot: Difference between revisions

From Rsewiki
Line 7: Line 7:
=== Network manager ===
=== Network manager ===


Network Manager do it all in one go:
Network Manager does it all in one go:


  sudo nmcli device wifi hotspot ssid <example-network-name> password <example-password>
  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''

Revision as of 09:02, 28 April 2026

Back to Ricbot

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