这个命令是最实用的,而我却一直忽略到现在,真的是懊恼啊, 今天就来简单看下其支持的参数吧,很多都是和iwpriv重叠的。
root@YSWiFi:~# iwconfig --help
Usage: iwconfig [interface]
interface essid {NNN|any|on|off}
interface mode {managed|ad-hoc|master|...}
interface freq N.NNN[k|M|G]
interface channel N
interface bit {N[k|M|G]|auto|fixed}
interface rate {N[k|M|G]|auto|fixed}
interface enc {NNNN-NNNN|off}
interface key {NNNN-NNNN|off}
interface power {period N|timeout N|saving N|off}
interface ap {N|off|auto}
interface txpower {NmW|NdBm|off|auto}
interface rts {N|auto|fixed|off}
interface frag {N|auto|fixed|off}
interface commit
Check man pages for more details.
root@YSWiFi:~# iwconfig ra0
ra0 RTWIFI SoftAP ESSID:"0易商无限"
Mode:Managed Channel=11 Access Point: 8C:88:2B:00:00:24
Bit Rate=300 Mb/s