Zum Inhalt springen

Create WiFi hotspot on bash: Unterschied zwischen den Versionen

Aus superMassive
Die Seite wurde neu angelegt: „https://computingforgeeks.com/create-wi-fi-hotspot-on-linux/“
 
Keine Bearbeitungszusammenfassung
 
Zeile 1: Zeile 1:
https://computingforgeeks.com/create-wi-fi-hotspot-on-linux/
Quelle
 
* https://computingforgeeks.com/create-wi-fi-hotspot-on-linux/
* <code># Create a new hotspot</code> <code>IFNAME="<mark>wlp6s0</mark>"</code> <code>CON_NAME="<mark>myhotspot</mark>"</code>  <code>nmcli con add type wifi ifname $IFNAME con-name $CON_NAME autoconnect yes ssid $CON_NAME</code> <code># Set connection Method</code> <code>nmcli con modify $CON_NAME 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared</code> <code># Set Hotspot password</code> <code>nmcli con modify $CON_NAME wifi-sec.key-mgmt wpa-psk</code> <code>nmcli con modify $CON_NAME wifi-sec.psk "<mark>MyStrongHotspotPass</mark>"</code> <code># Bring up the connection when done</code> <mark><code>nmcli con up $CON_NAME</code></mark> <code># Confirm IP information</code> <code>nmcli connection show</code>

Aktuelle Version vom 6. Mai 2026, 08:36 Uhr

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