IthacaThings / ttn-multitech-cm

Ansible setup for configuration management of Multi-Tech Conduits for The Things Network Org
MIT License
7 stars 4 forks source link

Additional packages are required if running the MultiTech base image #50

Closed jchonig closed 6 years ago

jchonig commented 6 years ago

@Tombar reports that additional packages are required when running the mLinux base image.

python-netclient brings in base64, needed for Ansible to run node for ttn libmpsse for ttn autossh for ssh_tunnel.

Add these packages to the right place (doc, tasks modules). @

jchonig commented 6 years ago

Try installing mlinux-base image and see what packages are required to run.

terrillmoore commented 6 years ago

For clarity, is "mlinux base image" the image distributed by Multitech? (As opposed to the IthacaThings image?) [It will probably help future people searching for solutions...]

Tombar commented 6 years ago

@terrillmoore YES, if installing mlinux base image distributed by Multitech, there are some more packages missing than the ones listed in the readme.

From my notes:

opkg update
opkg install python \
  python-async \
  python-argparse \
  python-compression \
  python-dateutil \
  python-html \
  python-psutil \
  python-pycurl \
  python-pyopenssl \
  python-pyserial \
  python-pyudev \
  python-pyusb \
  python-simplejson \
  python-syslog \
  python-textutils \
  python-unixadmin \
  python-xml \
  python-distutils \
  python-json \
  python-pkgutil \
  python-shell
opkg install node
opkg install autossh
opkg install libmpsse
jchonig commented 6 years ago

I've integrated these into Ansible in the appropriate place and am updating the docs.