remote.it Community Forum

Finding the right daemon for OpenWRT

OpenWRT users can use the auto-install.sh method documented at: Installing the connectd package on all Linux distributions – remote.it

however, you may get an error message that the daemon is not found, or some other problem. We now have a way for you to get the right daemon, and with a couple of extra steps, get it working with the remote.it “connectd” package.

Current versions of the binaries for OpenWRT are available at:

https://downloads.remote.it/openwrt/<arch>/<file>

where:

  • file: one of connectd schannel muxer demuxer
  • arch: is one of

powerpc_464fp
mipsel_mips32
mips_24kc
arc_arc700
arc_archs
arm_cortex-a15+neon-vfpv4
aarch64_generic
arm_arm926ej-s
arm_cortex-a5+neon-vfpv4
arm_cortex-a5+vfpv4
mips_mips32
arm_cortex-a9
arm_arm1176jzf-s+vfp
arm_cortex-a7+neon-vfpv4
aarch64_cortex-a53
mipsel_74kc
arm_mpcore+vfp
arm_fa526
arm_cortex-a9+neon
armeb_xscale
arm_xscale
powerpc_8540
aarch64_cortex-a72
arm_cortex-a9+vfpv3
mips64_octeon_64
arm_cortex-a8+vfpv3
arm_mpcore
mipsel_24kc+24kf
mipsel_24kc
x86_64
i386_pentium4
i386_pentium`

The correct architecture can be obtained on the device by doing (on the device):

. /etc/openwrt_release
wget https://downloads.remote.it/openwrt/$DISTRIB_ARCH/connectd

If you need all the binaries in one command, you can execute (with curl this time):

. /etc/openwrt_release
curl -sfo- "https://downloads.remote.it/openwrt/$DISTRIB_ARCH/remoteit.tgz" | tar xzf -

This will download connectd, schannel, muxer and demuxer for the current platform.

Once you have the correct binaries downloaded, move them to /usr/bin and make them all executable by running “chmod +x <filename>” on each one.

Then, download ANY ONE of the tar file packages here:

Move the tar file to the root ("/", not “/root”) folder and expand it:

e.g.
mv connectd_2.5.38_arm-linaro-pi.tar /

Now switch folders to the / folder, e.g.
cd /

Then extract the files to your system with the following command:
tar xvhf connectd_2.5.38_arm-linaro-pi.tar

The “arm-linaro-pi” of the tar file matches the included daemon, which will be replaced by the one you downloaded in the first steps above. To make that replacement, edit the file “/usr/bin/connectd_options” and substitute the file extension of your compatible daemon for the PLATFORM variable.

e.g. before:

PLATFORM=arm-linaro-pi

after

PLATFORM=mipsel_24kc

Save the file. The connectd_installer should now run OK.