Start Up The Afrimesh Dashboard - ATCOM MP01 Administrator's Manual

Hide thumbs Also See for MP01:
Table of Contents

Advertisement

If you haven't already set the password on the MP01, do that now by telneting
to 192.168.1.20 and issuing the „passwd‟ command. This will enable ssh and
you will be able to continue with the following.
2) Copy the packages to the MP01.
scp *ipk root@192.168.1.20:/root
3) Login into the MP01
ssh root@192.168.1.20
4) Install and configure the packages on MP01 (Answer „Y‟ when asked to
replace /etc/config/afrimesh)
opkg install netcat_0.7.1-1_mips.ipk
opkg install villagetelco-device_1.0pre-r954-1_mips.ipk
/etc/init.d/provision enable
chmod -R a+rw /etc/config
uci set batmand.general.routing_class=1
uci set afrimesh.settings.root=10.130.1.1
uci set batmand.general.visualisation_srv=10.130.1.1
uci set system.@system[0].log_ip=10.130.1.1
uci commit
reboot
5) Configure DNS for MP01
Edit /etc/resolv.conf to reflect the following:
nameserver 141.1.1.1

2.2.3 Start up the Afrimesh Dashboard

You may be able to make this all work with the Network Manager but I ran into
problems and disabled it. So, first kill the network-manager and stop any
versions of batmand that might be running. You may wish to paste the below
into a script for convenience. The commands should be run as root.
stop network-manager
killall NetworkManager
killall batmand
Then start your wireless interface. Replace wlan0 if necessary with whatever
your wireless device.
ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
ifconfig wlan0 up
ifconfig wlan0 10.130.1.1/24
iwconfig wlan0 essid potato
iwconfig wlan0 channel 1
iwconfig wlan0 ap 01:CA:FF:EE:BA:BE
Assuming your wired Ethernet port is connected, you can set up that
connectivity as well. If your Ethernet port is not eth0, adjust as appropriate.
iptables --flush
iptables --table nat --flush
8

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MP01 and is the answer not in the manual?

Questions and answers

Related Products for ATCOM MP01

Table of Contents