Installation guide
7
sudo apt-add-repository ppa:afrimesh/ppa
sudo apt-get update
2) Install supporting packages
sudo apt-get install batmand polipo villagetelco-dashboard
3) Install the batman visualisation server
wget http://download.villagetelco.org/vte/afrimesh/954/vis-i386-lucid
sudo mv vis-i386-lucid /usr/local/sbin/
4) Configure pmacct
Edit /etc/pmacctd/pmacctd.conf to reflect the following:
!aggregate: src_host,dst_host
aggregate: dst_host,dst_mac
!pcap_filter: net 127.0.0.0/8
pcap_filter: net 10.130.1.0/24
interface: wlan0 # eth0 on VM
Restart pmacct
service pmacct restart
5) Configure snmpd
Edit /etc/default/snmpd to reflect the following:
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p
/var/run/snmpd.pid'
/etc/snmp/snmpd.conf
#com2sec paranoid default public
com2sec readonly default public
Restart snmpd
sudo /etc/init.d/snmpd restart
Test with:
snmpwalk -v 2c -c public 10.130.1.1 .1.3.6.1.2.1.2.2.1.2
6) Configure rsyslogd Edit /etc/default/rsyslog to reflect the following:
#RSYSLOGD_OPTIONS="-c4"
RSYSLOGD_OPTIONS="-c2 -r"
Restart rsyslogd
sudo service rsyslog restart
2.2.2 MP01 configuration for Afrimesh
Make sure that you have configured all the MP01s to have different WIFI IP like
10.130.1.X (X stands for 2-254). For the configuration guide, please refer to
ATCOM MP01 Quick Start Guide V1.0.pdf.
1) Get the Afrimesh packages for the MP01 on Afrimesh Server
wget
http://download.villagetelco.org/vte/afrimesh/954/netcat_0.7.1-1_mips.ipk
wget
http://download.villagetelco.org/vte/afrimesh/954/villagetelco-device_1.0pre-
r954-1_mips.ipk










