IWPRIV(8)
π IWPRIV π
okay bestie, so this is iwpriv β the optional-parameters girlie of the wireless world, straight outta the Linux Programmer's Manual. she's the sidekick to iwconfig(8) and she's here to handle all the driver-specific stuff that generic tools just can't touch. periodt. β¨
πΈ NAME πΈ
iwpriv β configure optionals (private) parameters of a wireless network interface π¦
β¨ SYNOPSIS β¨
iwpriv [interface]
iwpriv interface private-command [private-parameters]
iwpriv interface private-command [I] [private-parameters]
iwpriv interface --all
π DESCRIPTION π
so basically, iwpriv is the companion tool to iwconfig(8), and here's the tea β β she deals with parameters and settings that are specific to each driver, as opposed to iwconfig which is out here handling the generic ones. like, iwconfig is the main character and iwpriv is the driver-specific bestie who knows all the niche lore. iykyk. π
if you run her with no arguments at all? she'll list the available private commands on each interface, plus the parameters those commands require. no cap. once you've got that info, you can go ahead and apply those interface-specific commands on whichever interface you want. slay. π₯
in theory, the documentation for each device driver should tell you how to use those interface-specific commands and what effect they have. in theory. π the manpage said it, not me.
π PARAMETERS π
private-command [private-parameters]β this runs the specified private-command on the interface, bestie. the command might optionally take arguments, or straight up require them, and it might show you info back. so likeβ¦ the command line parameters might be needed, might not be β they just gotta match what the command expects. the list of commands thatiwprivshows you (when you call her with no argument, remember?) should give you some hints about those parameters. but you should really go check the device driver documentation for how to properly use the command and what it actually does. don't skip that part, fr fr. πprivate-command [I] [private-parameters]β same vibe as above, except thatI(an integer, bestie, a whole number) gets passed to the command as a Token Index. only some commands will use the Token Index (most of them just ignore it like it's not even there π), and the driver documentation should tell you when it's actually needed. π-a,--allβ runs and displays all the private commands that don't take any arguments at all (i.e. the read-only ones). no arguments, no drama, just vibes. π
π¦ DISPLAY π¦
for every device that supports private commands, iwpriv will show you the list of private commands available. she's giving β¨ transparency β¨.
this includes:
- the name of the private command
- the number of arguments that may be set, and their type
- the number of arguments that may be displayed, and their type
for example, you might get a display like this:
eth0 Available private ioctl :
setqualthr (89F0) : set 1 byte & get 0
gethisto (89F7) : set 0 & get 16 int
what this is telling you, bestie, is that you can set the quality threshold and display a histogram of up to 16 values with these commands right here:
iwpriv eth0 setqualthr 20
iwpriv eth0 gethisto
iconic behavior, honestly. π β¨
π AUTHOR π
Jean Tourrilhes β jt@hpl.hp.com
(shoutout to the legend, no cap π«Ά)
π FILES π
/proc/net/wireless
π SEE ALSO π
π reminder bestie: if a command's behaviour looks undefined, dangerous, or deprecated in the driver docs, that's on the driver β go read them. iwpriv is just the messenger. π§
okay that's the whole thing, my love π this page came from net-tools, dated 31 October 1996 β yes she's a vintage icon, an OG, main character energy since the 90s πβ¨ go forth and configure those private parameters, you absolute legend. mwah. ππ¦πΈ
π¦ where this page comes from
- alpine 3.22: wireless-tools-doc 30_pre9-r5 Β· GPL-2.0-only
- alpine 3.23: wireless-tools-doc 30_pre9-r5 Β· GPL-2.0-only
- alpine 3.24: wireless-tools-doc 30_pre9-r5 Β· GPL-2.0-only
- arch rolling: wireless_tools 30.pre9-5 Β· GPL
- debian bookworm: wireless-tools 30~pre9-14
- debian trixie: wireless-tools 30~pre9-18+b1
- nixos 26.05: wireless-tools 30.pre9
- nixpkgs unstable: wireless-tools 30.pre9
- opensuse-leap 16.0: wireless-tools 30.pre9-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: wireless-tools 30.pre9-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: wireless-tools 30.pre9-160000.2.2 Β· GPL-2.0-only
- opensuse-leap 16.0: wireless-tools 30.pre9-160000.2.2 Β· GPL-2.0-only
- ubuntu jammy: wireless-tools 30~pre9-13.1ubuntu4
- ubuntu noble: wireless-tools 30~pre9-16.1ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms