最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

AP基本命令总结

来源:动视网 责编:小OO 时间:2025-09-23 19:13:10
文档

AP基本命令总结

AP基本命令总结1.iwconfig功能:配置接口基本格式:iwconfig–helpiwconfig–versioniwconfig[interface]iwconfiginterface[essidX][freqF][channelC][sensS][apA][rateR][rtsRT][fragFT][txpowerT][encE][keyK][retryR]Eg:●设置ath0的essidiwconfigath0essid“zhaoyang”●设置操作频率为5.2GHziwconfig
推荐度:
导读AP基本命令总结1.iwconfig功能:配置接口基本格式:iwconfig–helpiwconfig–versioniwconfig[interface]iwconfiginterface[essidX][freqF][channelC][sensS][apA][rateR][rtsRT][fragFT][txpowerT][encE][keyK][retryR]Eg:●设置ath0的essidiwconfigath0essid“zhaoyang”●设置操作频率为5.2GHziwconfig
AP基本命令总结

1.iwconfig

功能:配置接口

基本格式:iwconfig –help

iwconfig –version

iwconfig [interface]

iwconfig interface [essid X] [freq F] [channel C] [sens S] [ap A] 

[rate R][rts RT] [frag FT] [txpower T] [enc E] [key K] [retry R]

Eg:

●设置ath0 的 essid

     iwconfig ath0 essid “zhaoyang”

●设置操作频率为5.2GHz

     iwconfig ath0 freq 5.2g

●设置频段为11

     iwconfig ath0 channel 11

●设置所有的数据包的传输功率为30dBm

     iwconfig ath0 txpower 30

●设置最大传输率为36Mbs,因此,所有包的传输率都将小于等于36Mbs

     iwconfig ath0 rate 36M auto

●设置用于RTS/CTS握手的包大小最小为40

     iwconfig ath0 rts 40

●设置ath0的分片最大为512 bytes

     iwconfig ath0 frag 512

2.wlanconfig 

功能:创建或销毁VAP

基本格式:wlanconfig VAP create wlandev Base Device wlanmode mode [bssidk-bssid] [nosbeacon]

wlanconfig VAP destroy

     eg:

●创建无线接口ath0,基础设备是wifi0

    wlanconfig ath0 create wlandev wifi0 wlanmode ap

●销毁无线接口ath0

wlanconfig ath0 destroy

3.iwpriv 

功能:设置属性

基本格式:iwpriv device [command] [parameters].

eg:

●设置工作模式为802.11g

     iwpriv ath0 mode 11g

●获取工作模式

     iwpriv ath0 get_mode

●隐藏essid

     iwpriv ath0 hide_ssid 1

4.iwlist

功能:用于搜索可用的无线网络和显示一些在iwconfig中无法显示的附加信息

eg:

●搜索附近的ap

     iwlist ath0 scan

5.brctl

功能:网桥操作

addbr                           添加网桥          

delbr                           删除网桥   

addif                  给网桥加一个接口

delif                  删除网桥的一个接口

   setageing      

   setbridgeprio            设置网桥的优先级

   setfd          

   sethello       

   setmaxage      

   setpathcost     set path cost

setportprio     set port priority

   show                                    show a list of bridges

   showmacs                        show a list of mac addrs

   showstp                         show bridge stp info

   stp             {on|off}       turn stp on/off

文档

AP基本命令总结

AP基本命令总结1.iwconfig功能:配置接口基本格式:iwconfig–helpiwconfig–versioniwconfig[interface]iwconfiginterface[essidX][freqF][channelC][sensS][apA][rateR][rtsRT][fragFT][txpowerT][encE][keyK][retryR]Eg:●设置ath0的essidiwconfigath0essid“zhaoyang”●设置操作频率为5.2GHziwconfig
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top