2.iwconfig之channel

一、指令

1 iwconfig athN channel opchannel 配置信道
2 在ap模式下通过这个命令改变信道,在sta模式下会跟随所以这个参数并不重要;
3 在使用这个命令前要先用 ifconfig athN down, 在ifconfig athN up后生效;
4 ifconfig ath10 down
5 iwconfig ath10 channel 11
6 ifconfig ath10 up

二、结构体

 

posted @ 2021-02-05 15:52  kmist  阅读(474)  评论(0编辑  收藏  举报