Included is a Vagrantfile that can be used to obtain the Paradrop build setup.
Snap installation on router
Run these commands on vagrant:
wget https://paradrop.io/storage/snaps/dnsmasq_2.74_all.snap
wget https://paradrop.io/storage/snaps/hostapd_2.4_all.snap
wget http://pages.cs.wisc.edu/~sejalc/paradrop_0.1.0_all.snap
wget http://pages.cs.wisc.edu/~sejalc/pdinstall_0.1.0_all.snap
For deploying snaps:
snappy-remote --url=ssh://<ip addr>:22 install dnsmasq_2.74_all.snap
snappy-remote --url=ssh://<ip addr>:22 install hostapd_2.4_all.snap
ssh into your router and run the following cmd to install docker:
sudo snappy install docker #run in router
Exit from the router, back to the vagrant machine:
snappy-remote --url=ssh://<ip addr>:22 install paradrop_0.1.0_all.snap
snappy-remote --url=ssh://<ip addr>:22 install pdinstall_0.1.0_all.snap
Cheat sheet:
Issues while working with the router:
If the dhclient is not running, then check all the ethernet interfaces via ifcongig command and then add the same contents of eth0 file to other files(eth3,eth4,eth5).
ifconfig -a
Create /etc/network/interfaces.d/eth4 (add same as eth0)
If its not able to resolve google.com, run add namesever 8.8.8.8 in file /etc/resolv.conf
In file :/etc/resolv.conf
add the line: namesever 8.8.8.8