好记性不如铅笔头

linux, 操作系统

linux常用命令:iwlist

iwlist主要用来获取无线网卡的信息

cstriker1407@cstriker1407-x64:~$ iwlist
Usage: iwlist [interface] scanning [essid NNN] [last]
              [interface] frequency 
              [interface] channel 
              [interface] bitrate 
              [interface] rate 
              [interface] encryption 
              [interface] keys 
              [interface] power 
              [interface] txpower 
              [interface] retry 
              [interface] ap 
              [interface] accesspoints 
              [interface] peers 
              [interface] event 
              [interface] auth 
              [interface] wpakeys 
              [interface] genie 
              [interface] modulation 
cstriker1407@cstriker1407-x64:~$ iwlist wlan0 
accesspoint  bit          channel      encryption   freq         key          power        retry        scanning     
ap           bitrate      enc          event        frequency    peers        rate         scan         txpower      
cstriker1407@cstriker1407-x64:~$ iwlist wlan0 channel  #获取无线网卡支持的信道列表
wlan0     11 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Current Frequency:2.422 GHz (Channel 3)

 

发表评论

4 × 5 =

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据