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
Line 2: Line 2:
Use the following commands to create the initial AP setup:
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>}}}
# nmcli con add type wifi ifname wlan0 mode ap con-name {{{name|<name>}}} ssid {{{ssid|<ssid>}}}
# nmcli con modify {{{name|<name>}}} 802-11-wireless.band {{{band|<band>}}}
# nmcli con modify {{{name|<name>}}} 802-11-wireless.band {{{band|<band>}}}
# nmcli con modify {{{name|<name>}}} 802-11-wireless.channel {{{channel|<channel>}}}
# 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.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.proto {{{proto|<proto>}}}
# nmcli con modify {{{name|<name>}}} 802-11-wireless-security.group {{{group|<group>}}}
# 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.pairwise {{{pairwise|<pairwise>}}}
# nmcli con modify {{{name|<name>}}} 802-11-wireless-security.psk {{{passphrase|<passphrase>}}}
# nmcli con modify {{{name|<name>}}} 802-11-wireless-security.psk {{{passphrase|<passphrase>}}}
# nmcli con modify {{{name|<name>}}} ipv4.method shared
# nmcli con modify {{{name|<name>}}} ipv4.method shared
# nmcli con up {{{name|<name>}}}
# nmcli con up {{{name|<name>}}}
</includeonly>
</includeonly>

Revision as of 16:51, 20 July 2023