//刪除網卡
wlanconfig ath0 destroy
//建立在adhoc mode
wlanconfig ath0 create wlandev wifi0 wlanmode adhoc
//讓ath0的ESSID名稱叫做adhoc-testbed
iwconfig ath0 essid adhoc-testbed
//把ath0切到 channel x (x為數字, ex:1)
iwconfig ath0 channel x
//查詢現在使用的cahnnel
iwlist ath0 channel
沒有留言:
張貼留言