iwctl(1)

πŸ’– iwctl(1) β€” internet wireless control utility πŸ’–

okay bestie, so this is the iwctl page from the Linux Connectivity manual section β€” one (1), for the record. it's your lil' remote control for wireless internet on Linux, and honestly? it's giving main character energy. let's get into it πŸ¦‹


✨ NAME ✨

iwctl β€” internet wireless control utility. yep, that's the whole name. short, sweet, iconic. πŸ‘‘


🌸 SYNOPSIS 🌸

iwctl [options ...] [commands ...]

so you got options, you got commands, and you can absolutely stack 'em. slay.


πŸ’œ DESCRIPTION πŸ’œ

iwctl is the tool for configuring the iwd daemon via its D-Bus interface. it's got two whole modes, and she serves in both:

  • interactive mode β€” you go in, you hang out, you type commands at the [iwd]# prompt
  • command line mode β€” you fire off one command and dip

lowkey the best of both worlds, no cap. ✨


πŸŽ€ OPTIONS πŸŽ€

  • --username, -u β€” hand over a username. that's it, that's the whole vibe.
  • --password, -p β€” hand over a password.
  • --passphrase, -P β€” hand over a passphrase. (yes it's a different flag from password, don't come for me, just use the right one πŸ’…)
  • --dont-ask, -v β€” don't let iwctl ask you for any missing credentials. she'll just proceed without them.
  • --help, -h β€” show the help message and exit. the classic. the icon. the moment. 🫢

πŸ¦‹ EXAMPLES πŸ¦‹

🌈 Interactive mode

to start interactive mode and list all the available commands, do this:

$ iwctl
[iwd]# help

and to connect to a network, bestie, it's a whole lil' journey β€” device list first, then scan, then look at what's out there, then commit:

[iwd]# device list
[iwd]# station DEVICE scan
[iwd]# station DEVICE get-networks
[iwd]# station DEVICE connect SSID

see how it flows? DEVICE and SSID are your placeholders β€” swap in your actual ones, duh. 🧚

πŸ“ Command line mode

to list every available command in command line mode and then bounce:

$ iwctl --help

and to connect to a network without ever entering interactive mode, the same steps but with the iwctl prefix every single time β€” and note that in this mode the passphrase rides in on the flag:

$ iwctl device list
$ iwctl station DEVICE scan
$ iwctl station DEVICE get-networks
$ iwctl --passphrase=PASSPHRASE station DEVICE connect SSID

look at that --passphrase=PASSPHRASE sitting up front before the command β€” that's the move, iykyk. ⭐


πŸ’€ SEE ALSO πŸ’€

  • iwd(8) β€” the daemon herself. go say hi.

🌸 Author 🌸

Marcel Holtmann <marcel@holtmann.org> β€” we stan. πŸ™ˆ

2013-2019 Intel Corporation


fr fr, that's the whole page. every flag, every example, every credit β€” nothing skipped, bestie. πŸ’–

and finally, the cute sign-off: this beauty comes from iwctl, dated 22 September 2019, and lives at iwctl(1) in the Linux Connectivity manual. so vintage, so iconic, so her. periodt. πŸ¦‹βœ¨

πŸ“¦ where this page comes from