Skip to content

Release v1.0.50

Pre-release
Pre-release
Compare
Choose a tag to compare
@craigpratt craigpratt released this 01 Nov 07:37

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/v1.0.50/${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/v1.0.50/${package};
sudo dpkg -i ${package} ;
done

echo "INSTALLING MICRONETS HOSTAPD"

curl -L -O https://github.com/cablelabs/micronets-gw/releases/download/v1.0.50/micronets-hostapd-1.0.16.deb
sudo dpkg -i micronets-hostapd-1.0.16.deb 

echo "INSTALLING MICRONETS GATEWAY COMPONENTS"

curl -L -O https://github.com/cablelabs/micronets-gw/releases/download/v1.0.50/micronets-gw-1.0.50.deb
sudo dpkg -i micronets-gw-1.0.50.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

  1. install the micronets gateway service in the /opt/micronets-gw directory,
  2. install the ifup/down and dnsmasq extension scripts for the configuration of openvswitch and the micronets-gw service via /etc/network/interfaces,
  3. install a sample/etc/network/interfaces file in /opt/micronets-gw/doc/interfaces.sample, and
  4. 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 interfacing with hostapd, dpp onboarding support, and more advanced ACL rules (with backward compatibility for allowHosts/denyHosts).