Template:NM CREATE AP CMDS EXAMPLE

From Variscite Wiki
Revision as of 21:50, 21 July 2023 by Nate (talk | contribs) (Created page with "<noinclude> {{NM_CREATE_AP_CMDS |dev={{{dev|}}} |name=WIFI_AP |ssid=MY_AP |band=bg |channel=1 |key-mgmt=wpa-psk |proto=rsn |group=ccmp |pairwise=ccmp |passphrase=11223344 }} <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


# nmcli con add type wifi ifname  mode ap con-name WIFI_AP ssid MY_AP && \
  nmcli con modify WIFI_AP 802-11-wireless.band bg && \
  nmcli con modify WIFI_AP 802-11-wireless.channel 1 && \
  nmcli con modify WIFI_AP 802-11-wireless-security.key-mgmt wpa-psk && \
  nmcli con modify WIFI_AP 802-11-wireless-security.proto rsn && \
  nmcli con modify WIFI_AP 802-11-wireless-security.group ccmp && \
  nmcli con modify WIFI_AP 802-11-wireless-security.pairwise ccmp && \
  nmcli con modify WIFI_AP 802-11-wireless-security.psk 11223344 && \
  nmcli con modify WIFI_AP ipv4.method shared && \
  nmcli con up WIFI_AP