首页 > 技术文章 > OpenWrt实现802.11s组网模式

smbx-ztbz 2015-05-06 17:38 原文

参考

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

可以达到一样的效果

推荐阅读