Installation
Installation of the micronets gateway components can be performed using the following bash commands:
echo "INSTALLING PREREQUISITE PACKAGES"
sudo apt-get update
sudo apt-get -y install python-pip virtualenv dnsmasq python-six libnl-route-3-200
echo "INSTALLING OPENVSWITCH 2.9.2"
for package in libopenvswitch_2.9.2-1_amd64.deb openvswitch-common_2.9.2-1_amd64.deb openvswitch-switch_2.9.2-1_amd64.deb ;
do curl -L -O https://github.com/cablelabs/micronets-gw/releases/download/1.0.54/${package};
sudo dpkg -i ${package} ;
done
echo "INSTALLING PYTHON 3.6"
for package in libpython3.6-minimal_3.6.5-5.16.04.york1_amd64.deb libpython3.6-stdlib_3.6.5-5.16.04.york1_amd64.deb python3.6-minimal_3.6.5-5.16.04.york1_amd64.deb python3.6_3.6.5-5.16.04.york1_amd64.deb ;
do curl -L -O https://github.com/cablelabs/micronets-gw/releases/download/1.0.54/${package};
sudo dpkg -i ${package} ;
done
echo "INSTALLING MICRONETS HOSTAPD"
curl -L -O https://github.com/cablelabs/micronets-gw/releases/download/1.0.54/micronets-hostapd-1.0.21.deb
sudo dpkg -i micronets-hostapd-1.0.21.deb
echo "INSTALLING MICRONETS GATEWAY COMPONENTS"
curl -L -O https://github.com/cablelabs/micronets-gw/releases/download/1.0.54/micronets-gw-1.0.54.deb
sudo dpkg -i micronets-gw-1.0.54.deb
echo "SETTING MICRONETS COMPONENTS FOR AUTOSTART"
sudo systemctl enable micronets-hostapd.service
sudo systemctl enable micronets-gw.service
echo "STARTING MICRONETS COMPONENTS"
sudo systemctl start micronets-hostapd.service
sudo systemctl start micronets-gw.service
Installing the micronets-gw package should
- install the micronets gateway service in the
/opt/micronets-gw
directory, - install the ifup/down and dnsmasq extension scripts for the configuration of openvswitch and the micronets-gw service via
/etc/network/interfaces
, - install a sample
/etc/network/interfaces
file in/opt/micronets-gw/doc/interfaces.sample
, and - install and start the micronets-gw-service systemd service.
Configuration
If this is the first install, copy /opt/micronets-gw/doc/interfaces.sample
to /etc/network/interfaces
and modify to suit your system.
Notes on this release
This release includes:
- Support for multiple APK-based DPP onboarding (with fixes for bugs in the 1.0.53)
- Updated hostapd with DPP and SAE enabled
- A couple misc fixes to the micronets-gw-service