OpenWrt實現802.11s組網模式


參考

http://www.docin.com/p-277067204.html

 

無線網卡wlan0正常后,輸入一下命令

iw dev wlan0 interface add mesh_iface type mp

ifconfig wlan0 down

ifconfig mesh_iface down

iw dev mesh_iface set type mp

iw dev mesh_iface set channel 7

iw dev mesh_iface set meshid mesh_id //節點的meshid必須相同

ifconfig mesh_iface 172.16.3.11 //不同節點設為不同

ifup mesh_iface

之后就可以互相ping通了。

 

為了方便可以把以上命令行寫到一個腳本文件中,名字為mesh

chmod +x mesh

./mesh

可以達到一樣的效果


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM