Template:NM CREATE AP CMDS: Difference between revisions
From Variscite Wiki
(Created page with "<includeonly> Use the following commands to create the initial AP setup: # nmcli con add type wifi ifname wlan0 mode ap con-name {{{name|<name>}}} ssid {{{ssid|<ssid>}}} # nm...") |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
# nmcli con add type wifi ifname {{{dev|<device>}}} mode ap con-name {{{name|<name>}}} ssid {{{ssid|<ssid>}}} && \ | |||
nmcli con modify {{{name|<name>}}} 802-11-wireless.band {{{band|<band>}}} && \ | |||
# nmcli con add type wifi ifname | nmcli con modify {{{name|<name>}}} 802-11-wireless.channel {{{channel|<channel>}}} && \ | ||
nmcli con modify {{{name|<name>}}} 802-11-wireless-security.key-mgmt {{{key-mgmt|<key-mgmt>}}} && \ | |||
nmcli con modify {{{name|<name>}}} 802-11-wireless-security.proto {{{proto|<proto>}}} && \ | |||
nmcli con modify {{{name|<name>}}} 802-11-wireless-security.group {{{group|<group>}}} && \ | |||
nmcli con modify {{{name|<name>}}} 802-11-wireless-security.pairwise {{{pairwise|<pairwise>}}} && \ | |||
nmcli con modify {{{name|<name>}}} 802-11-wireless-security.psk {{{passphrase|<passphrase>}}} && \ | |||
nmcli con modify {{{name|<name>}}} ipv4.method shared && \ | |||
nmcli con up {{{name|<name>}}} | |||
</includeonly> | </includeonly> |