Some notes on how to successfully install Remote.it on OpenWRT 17.01.7:
Log in to the router via SSH (change 192.168.1.1 to your router’s IP address):
ssh -v -oHostKeyAlgorithms=+ssh-rsa root@192.168.1.1
Update the package list:
opkg update
Install curl:
opkg install curl
Install ca-bundle (certificate authority):
opkg install ca-bundle
Change to the temp directory:
cd /tmp
Download and install an OLD version of the jq from openwrt.org:
wget https://downloads.openwrt.org/releases/18.06.0/packages/mips_24kc/packages/jq_1.5-3_mips_24kc.ipk
Install jq:
opkg install jq_1.5-3_mips_24kc.ipk
Then proceed with the installation instructions for Remote.it on OpenWRT.
sh -c "$(curl -L "https://downloads.remote.it/remoteit/install_agent.sh")"
Basically, curl, ca-bundle and jq are required for installation. The problem is that jq isn’t found in OpenWRT package lists prior to 18.01, so it can’t be installed that way. I first tried the latest version of jq from OpenWRT’s snapshot packages repository, but that created errors with Remote.it. I removed it and installed the older 1.5 version jq package for OpenWRT 18.01, and suddenly everything worked.
For good measure, here’s the cleanup instructions for Remote.it on OpenWRT:
opkg remove remoteit
rm -rf /etc/remoteit /usr/share/remoteit