Wifi-hotspot2: Difference between revisions

From wikipost
Jump to navigation Jump to search
(Created page with "Here is a simpler way to set up a wifi hotspot to let multiple computers see each over over wifi. The hotspot currently does not have a way to provide an internet connection to the connected clients: <pre> nmcli connection add type wifi ifname wlan0 con-name p2p autoconnect yes ssid myhotspot nmcli connection modify p2p wifi.mode ap ipv4.method shared ipv4.addresses 192.168.10.1/24 nmcli connection modify p2p wifi-sec.key-mgmt wpa-psk wifi-sec.psk mywifipassword wifi-s...")
(No difference)

Revision as of 20:28, 15 November 2025

Here is a simpler way to set up a wifi hotspot to let multiple computers see each over over wifi.

The hotspot currently does not have a way to provide an internet connection to the connected clients:

nmcli connection add type wifi ifname wlan0 con-name p2p autoconnect yes ssid myhotspot
nmcli connection modify p2p wifi.mode ap ipv4.method shared ipv4.addresses 192.168.10.1/24
nmcli connection modify p2p wifi-sec.key-mgmt wpa-psk wifi-sec.psk mywifipassword wifi-sec.proto rsn wifi-sec.pairwise ccmp wifi-sec.group ccmp
nmcli connection modify p2p wifi.band bg
nmcli connection up p2p