Skip to content

Turning your Ubiquiti EdgeRouter into AngelBox

Ondřej Perutka edited this page Dec 21, 2022 · 4 revisions

Along with other devices, we also have a package for Ubiquiti EdgeRouter X devices. Currently, we support mips and mipsel architectures, 64bit variants are not supported. You will also need to use the older firmware v1.x.

Installation

Follow these instructions to turn your EdgeRouter X into an AngelBox:

  1. Connect to your device via SSH.
  2. For 1.x firmwares, type the following commands to install the package:
curl -k https://keys.openpgp.org/vks/v1/by-fingerprint/382B7B1C7F1838240D9DF4E1A244DAA87FBFBC65 | sudo apt-key add -
sudo sh -c 'echo "deb http://apt.angelcam.com/edgeos-wheezy/ stable main" > /etc/apt/sources.list.d/arrow.list'
sudo apt-get update
sudo apt-get install arrow-client
  1. Log in to the web interface of your device.
  2. Switch to the tab "Wizards".
  3. Open "Angelcam Cloud" in the left menu.
  4. Click on the link "Connect cameras to Angelcam Cloud".
  5. After logging in into your Angelcam account, you will be able to select cameras from your local network and add them into your Angelcam dashboard.

Note: If your device does not have enough space (especially after a firmware update), you might need to do a factory reset.

Automatic updates

If you'd like to keep your Arrow client updated, you can do it using a cron job. Put the following contents into /etc/cron.daily/arrow-client:

#!/bin/sh

apt-get update

# Let's make sure that dpkg recovers after a possible unsuccessful run.
dpkg --configure -a --force-confdef --force-confold
apt-get install -f -y \
  -o Dpkg::Options::="--force-confdef" \
  -o Dpkg::Options::="--force-confold"
dpkg --configure -a --force-confdef --force-confold

apt-get -y \
  -o Dpkg::Options::="--force-confdef" \
  -o Dpkg::Options::="--force-confold" \
  --no-install-recommends \
  install \
    arrow-client \
    ca-certificates \
    libssl1.0.0 \
    libpcap0.8

and change the file permissions:

sudo chmod 755 /etc/cron.daily/arrow-client