2
edits
Ubiquitous (talk | contribs) |
|||
(One intermediate revision by the same user not shown) | |||
Line 36: | Line 36: | ||
<br><br><br> | <br><br><br> | ||
'''Mesh the planet...''' | '''Mesh the planet...''' | ||
=Configuring B.A.T.M.A.N to Mesh with Sudo Mesh= | |||
This tutorial assumes that you have your Beagle Bone configured running Debian Wheezy. It is all recommended that you disabel network-manager. | |||
Add batman module to the kernel | |||
<pre> | |||
modprobe batman-adv | |||
</pre> | |||
Add B.A.T.M.A.N interface | |||
<pre> | |||
batctl if add eth0 | |||
</pre> | |||
Disable Wifi | |||
<pre> | |||
ifconfig wlan0 down | |||
</pre> | |||
Set MTU | |||
<pre> | |||
ifconfig wlan0 mtu 1532 | |||
</pre> | |||
Turn on Ad-Hoc Mode and connect to the SSID ppslopen.net-node2node with the Mac Address CA:FE:C0:DE:F0:0D on Channel 11 | |||
<pre> | |||
iwconfig wlan0 mode ad-hoc essid pplsopen.net-node2node ap CA:FE:C0:DE:F0:0D channel 11 | |||
</pre> | |||
Connect B.A.T.M.A.N interface to Wlan | |||
<pre> | |||
batctl if add wlan0 | |||
</pre> | |||
Turn on wlan0 and bat0 interfaces | |||
<pre> | |||
ifconfig wlan0 up | |||
ifconfig bat0 up | |||
</pre> | |||
Connect to your network. Subject to change depending on our network's subnet | |||
<pre> | |||
ifconfig bat0 10.200.8.1 | |||
route add default gw 10.0.99.1 | |||
</pre> | |||
Enable Port Forwarding | |||
<pre> | |||
echo 1 > /proc/sys/net/ipv4/ip_forward | |||
</pre> |
edits