參考
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
可以達到一樣的效果