参考

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

可以达到一样的效果

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-01-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-14
  • 2022-01-05
  • 2022-01-02
  • 2022-01-16
  • 2021-03-28
  • 2021-12-25
  • 2022-02-16
相关资源
相似解决方案