Created by Suriyadeepan and Selva Kumar
uname -r # 3.19.0-25-generic
# compile make -j4 # find module ls *.ko # insert module sudo insmod batman-adv.ko # check version batctl -v
# compile make -j4 # install sudo make install # check version batctl -v
Which interface to add to batman-adv to build the mesh network?
# Add an interface wlan0/eth0 batctl if add wlan0 # check interface batctl if
# kill network manager sudo service network-manager stop # load the module up modprobe batman-adv # setup network interfaces ip link set up dev eth0 # set mtu compatible with batman ip link set mtu 1532 dev wlan0 # configure the wlan interface to operate with mtus of 1532 # (batman requires it) and turn enc off iwconfig wlan0 mode ad-hoc channel 6 essid PYMESH ap 02:12:34:56:78:9A enc off # add wlan0 to the batman-adv virtual interface # (so it can communicate with other batman-adv nodes) batctl if add wlan0 # bringing up wireless ad-hoc interface ifconfig wlan0 up # bringing up bat0 interface ifconfig bat0 192.168.1.4 up
# disable kernel module rmmod batman-adv # restart network manager service network-manager restart
Need to bridge Adhoc and Infrastructure APs
To let non-mesh nodes (think Android) connect to the network
ip link add name mesh-bridge type bridge ip link set dev eth0 master mesh-bridge ip link set dev bat0 master mesh-bridge ip link set up dev eth0 ip link set up dev bat0 ip link set up dev mesh-bridge
config dhcp 'lan' option interface 'lan' option start '100' option limit '100' option leasetime '12h'
config interface 'lan' option ipaddr '192.168.1.1' option netmask '255.255.255.0'
Communications should not just be for the geographically, financially otherwise fortunate — for it is the unfortunate who need it most.
opentracker is a open and free bittorrent tracker project.
It aims for minimal resource usage and is intended to run at your wlan router.
A torrent tracker basically is an http-Server that collects all clients ip addresses into pools sorted by one of the request strings parameters and answers all other clients that specified this exact same parameter a list of all other recent clients.
Download Kiwix from here.
Run the executable file named kiwix.
Inspired by Puducherry Community WiFi Initiative(pymesh), we would like to kick start the mesh network in Karaikudi too.
In the current model of Internet, or any large network, both providing a service and connecting to a service are unnecessarily complicated.
To make a service visible, one needs to register a name as proxy to the service (IP + PORT).
To find a needed service, one needs support from a centralized DNS server.
This is where zeroconf comes in.
A set of technologies that automatically creates a usable computer network
Three Pillars of Zero Conf are
Do you speak my language?
Bonjour is Apple's implementation of zero-configuration networking (zeroconf), a group of technologies that includes service discovery, address assignment, and hostname resolution. Bonjour locates devices such as printers, other computers, and the services that those devices offer on a local network using multicast Domain Name System (mDNS) service records.
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. This enables you to plug your laptop or computer into a network and instantly be able to view other people who you can chat with, find printers to print to or find files being shared.