mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 19:38:56 +08:00
nmcli-device: add hotspot example (#21892)
* Update nmcli-device.md * Update pages/linux/nmcli-device.md Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> --------- Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com>
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
|
||||
`nmcli {{[d|device]}} {{[w|wifi]}} {{[c|connect]}} {{ssid}} {{[-a|--ask]}}`
|
||||
|
||||
- Create a Wi-Fi hotspot:
|
||||
|
||||
`nmcli {{[d|device]}} {{[w|wifi]}} {{[ho|hotspot]}} ifname {{wlan0}} ssid "{{hotspot_ssid}}" password "{{password}}"`
|
||||
|
||||
- Print the password and QR code for the current Wi-Fi network:
|
||||
|
||||
`nmcli {{[d|device]}} {{[w|wifi]}} {{[s|show-password]}}`
|
||||
|
||||
Reference in New Issue
Block a user