Zum Inhalt springen

Create WiFi hotspot on bash

Aus superMassive

Quelle

  • https://computingforgeeks.com/create-wi-fi-hotspot-on-linux/
  • # Create a new hotspot IFNAME="wlp6s0" CON_NAME="myhotspot" nmcli con add type wifi ifname $IFNAME con-name $CON_NAME autoconnect yes ssid $CON_NAME # Set connection Method nmcli con modify $CON_NAME 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared # Set Hotspot password nmcli con modify $CON_NAME wifi-sec.key-mgmt wpa-psk nmcli con modify $CON_NAME wifi-sec.psk "MyStrongHotspotPass" # Bring up the connection when done nmcli con up $CON_NAME # Confirm IP information nmcli connection show