# Try remote.it on OpenWrt

**URL:** <https://forum.remote.it/t/try-remote-it-on-openwrt/420>\
**Category:** Features\
**Created:** [September 2, 2021, 7:44pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420 "2021-09-02T19:44:09Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![tgillett](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@tgillett](https://forum.remote.it/u/tgillett)\
**Post date:** [September 29, 2021, 12:02pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/22 "2021-09-29T12:02:12Z")

</div>

@benoitm Thanks for your reply.

I have done a clean install of the whole system and then run opkg to install the remoteit\_4.13.5.ipk file locally and with increased verbosity. The result is below.

After opkg install completed, I looked at what was in /usr/share/remoteit and the result is below. The list of files in the directory does not include the four binaries that you pointed to which are normally present in that directory.

How should these files get into the directory - are they unpacked from the .ipk file or are they downloaded from somewhere?

The opkg install is failing for some reason that is not obvious to me.

Any ideas appreciated.

Terry

Postscript: I have installed an earlier system firmware based on OpenWrt 19.07.3 and then installed the package dependencies curl and jq, then installed the remoteit\_4.13.5.ipk file, and it all went perfectly. I could then register normally.

So it appears that there is some difference between the two firmware builds that affects the installation of the remoteit package. That should not be too hard to find!

```auto
# opkg -V2 install ./remoteit_4.13.5.ipk 

opkg_conf_parse_file: Loading conf file /etc/opkg.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/customfeeds.conf.
opkg_conf_parse_file: Loading conf file /etc/opkg/distfeeds.conf.
pkg_hash_load_feeds: 
pkg_hash_load_feeds: 
pkg_hash_load_feeds: 
pkg_hash_load_feeds: 
pkg_hash_load_status_files: 
pkg_info_preinstall_check: Updating file owner list.
Installing remoteit (4.13.5) to root...
pkg_run_script: Running script /tmp/opkg-JlBaPl/remoteit-aKPFJi/preinst.
opkg_install_pkg: Installing maintainer scripts.
opkg_install_pkg: Installing data files for remoteit.
install_data_files: Extracting data files to /.
pkg_write_filelist: Creating //usr/lib/opkg/info/remoteit.list file for pkg remoteit.
opkg_install_pkg: Resolving conf files for remoteit
opkg_configure_packages: Configuring unpacked packages.
opkg_configure_packages: Reordering packages before configuring them...
Configuring remoteit.
pkg_run_script: Running script //usr/lib/opkg/info/remoteit.postinst.
remoteit: Error: Unknown architecture "mips_24kc".
write_status_files_if_changed: Writing status file.
pkg_write_changed_filelists: Saving changed filelists.
Collected errors:
 * pkg_run_script: package "remoteit" postinst script returned status 1.
 * opkg_configure: remoteit.postinst returned 1.

# ls /usr/share/remoteit/
functions.sh oem.sh procd.sh refresh.sh remoteit.sh schannel.conf task_notify.sh version.txt

```

---

<div class="post-metadata">

**Author:** ![benoitm](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@benoitm](https://forum.remote.it/u/benoitm)\
**Post date:** [September 29, 2021, 9:59pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/23 "2021-09-29T21:59:07Z")

</div>

Hi Terry, sorry for the late response, you have the correct installer, but somehow it cannot download or install the binaries.

Could you try the following commands?

curl -o binaries.tgz [https://downloads.remote.it/openwrt/v4.13.0/mips\_24kc/binaries.tgz](https://downloads.remote.it/openwrt/v4.13.0/mips_24kc/binaries.tgz)  
mkdir -p /usr/share/remoteit  
tar xzf binaries.tgz -C /usr/share/remoteit

This will download the correct binaries for your device and puts them in /usr/share/remoteit after that you can try to reinstall the package.

I assume you may have an issue with the download, please let me know if you get any error with these commands as we would like to make the installation more robust

Thanks you.

---

<div class="post-metadata">

**Author:** ![tgillett](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@tgillett](https://forum.remote.it/u/tgillett)\
**Post date:** [September 29, 2021, 11:10pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/24 "2021-09-29T23:10:35Z")

</div>

@benoitm

I took a look at our OpenWrt build configuration for this board as well as other similar boards, and realised that the selection of packages for the problem board was different to the other boards - there were additional packages present that were redundant for the current work. For some reason the config for this particular board had not been cleaned up properly.

So I cleaned up the config and brought it back to the correct set of packages and made a new build.

And of course everything works just fine for the Remoteit installation and registration process!!

So my conclusion is that something that was in the .config file for the problem board was not compatible with installing the Remoteit .ipk with opkg.

I looked through the list of differences between the configs to see if there was anything obvious, but nothing leapt out as an obvious problem. There are too many differences to exhaustively go through the elimination process of repeated builds unfortunately.

There is possibly also a potential issue of migrating the OpenWrt .config files through new releases (eg 19.07.3 - 19.07.7 - 19.07.8) I have a bit of a suspicion that the automated migration does not always go perfectly…

Anyway, I guess it is just something to watch out for in future.

Many thanks for your help with this.

Regards

---

<div class="post-metadata">

**Author:** ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.remote.it/u/gary)\
**Post date:** [December 29, 2021, 7:19pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/26 "2021-12-29T19:19:54Z")

</div>

We now have an improved installer for OpenWrt. Please see:

> **[Installing the remoteit Device Package](https://support.remote.it/hc/en-us/articles/360058597571-Installing-the-remoteit-Device-Package)**
>
> Connect to your Device
> 
> Connect to your device using SSH or using a keyboard and monitor if the device supports those. The device should be connected to an active internet connection, whether via E...

---

<div class="post-metadata">

**Author:** ![rogerkrush](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@rogerkrush](https://forum.remote.it/u/rogerkrush)\
**Post date:** [March 24, 2022, 2:04am UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/27 "2022-03-24T02:04:20Z")

</div>

Hi im having problems installing remote.it on linksys EA8500 with openwrt, is there support for this architecture ?

Installing remoteit (4.14.1) to root…  
Configuring remoteit.  
remoteit: Error: Unknown architecture “arm\_cortex-a15\_neon-vfpv4”.  
Collected errors:

- pkg\_run\_script: package “remoteit” postinst script returned status 1.
- opkg\_configure: remoteit.postinst returned 1.

Regards.

---

<div class="post-metadata">

**Author:** ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.remote.it/u/gary)\
**Post date:** [March 24, 2022, 4:10pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/28 "2022-03-24T16:10:59Z")

</div>

@rogerkrush can you confirm whether you used the 1-line installer, or did you download the ipk file directly and then try to install it with opkg?

Can you please send the results of these commands:

> uname -a  
> cat /etc/os-release  
> cat /etc/openwrt\_release  
> cat /proc/cpuinfo

Thanks,

Gary W.

---

<div class="post-metadata">

**Author:** ![rogerkrush](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@rogerkrush](https://forum.remote.it/u/rogerkrush)\
**Post date:** [March 24, 2022, 8:15pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/29 "2022-03-24T20:15:07Z")

</div>

Thanks @gary, here is the information:

I tried with install\_agent.sh and remoteit\_4.14.1.ipk, i got the same error.

uname -a

Linux OpenWrt 5.4.179 #0 SMP Wed Feb 16 20:29:10 2022 armv7l GNU/Linux

/etc/os-release

NAME=“OpenWrt”  
VERSION=“21.02.2”  
ID=“openwrt”  
ID\_LIKE=“lede openwrt”  
PRETTY\_NAME=“OpenWrt 21.02.2”  
VERSION\_ID=“21.02.2”  
HOME\_URL=“[https://openwrt.org/](https://openwrt.org/)”  
BUG\_URL=“[https://bugs.openwrt.org/](https://bugs.openwrt.org/)”  
SUPPORT\_URL=“forum”  
BUILD\_ID=“r16495-bf0c965af0”  
OPENWRT\_BOARD=“ipq806x/generic”  
OPENWRT\_ARCH=“arm\_cortex-a15\_neon-vfpv4”  
OPENWRT\_TAINTS=""  
OPENWRT\_DEVICE\_MANUFACTURER=“OpenWrt”  
OPENWRT\_DEVICE\_MANUFACTURER\_URL=“openwrt”  
OPENWRT\_DEVICE\_PRODUCT=“Generic”  
OPENWRT\_DEVICE\_REVISION=“v0”  
OPENWRT\_RELEASE=“OpenWrt 21.02.2 r16495-bf0c965af0”

/etc/openwrt\_release

DISTRIB\_ID=‘OpenWrt’  
DISTRIB\_RELEASE=‘21.02.2’  
DISTRIB\_REVISION=‘r16495-bf0c965af0’  
DISTRIB\_TARGET=‘ipq806x/generic’  
DISTRIB\_ARCH=‘arm\_cortex-a15\_neon-vfpv4’  
DISTRIB\_DESCRIPTION=‘OpenWrt 21.02.2 r16495-bf0c965af0’  
DISTRIB\_TAINTS=’’

/proc/cpuinfo

processor : 0  
model name : ARMv7 Processor rev 0 (v7l)  
BogoMIPS : 9.37  
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32  
CPU implementer : 0x51  
CPU architecture: 7  
CPU variant : 0x2  
CPU part : 0x04d  
CPU revision : 0

processor : 1  
model name : ARMv7 Processor rev 0 (v7l)  
BogoMIPS : 19.53  
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32  
CPU implementer : 0x51  
CPU architecture: 7  
CPU variant : 0x2  
CPU part : 0x04d  
CPU revision : 0

Hardware : Generic DT based system  
Revision : 0000  
Serial : 0000000000000000

---

<div class="post-metadata">

**Author:** ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.remote.it/u/gary)\
**Post date:** [March 25, 2022, 1:32pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/30 "2022-03-25T13:32:37Z")

</div>

Hi @rogerkrush looks like this might be a bug in our file naming. I was told that we have support for this architecture, but with a “+” in the file name as described in /etc/openwrt\_release. If you like, please try the following:

1. Clean up remote.it

```auto
opkg rm remoteit
rm /etc/remoteit/*
rm /usr/share/remoteit/*

```

1. Modify the architecture line in /etc/openwrt\_release to read:

```auto
DISTRIB_ARCH=‘arm_cortex-a15+neon-vfpv4’

```

1. Finally, run the installer again:

> `sh -c "$(curl -L "` [`https://downloads.remote.it/remoteit/install_agent.sh`](https://downloads.remote.it/remoteit/install_agent.sh) `")"`

Let me know if this works for you.

I would suggest reverting the contents of the /etc/openwrt\_release file afterwards, as I cannot predict what effect this change might have on your system. From our perspective I’m pretty sure it’s only used during initial download and installation.

Thanks,

---

<div class="post-metadata">

**Author:** ![rogerkrush](https://avatars.discourse-cdn.com/v4/letter/r/50afbb/32.png) [@rogerkrush](https://forum.remote.it/u/rogerkrush)\
**Post date:** [March 25, 2022, 8:33pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/31 "2022-03-25T20:33:25Z")

</div>

@gary thanks a lot, editing my /etc/openwrt\_release file as you wrote, i could install remote.it package.

```auto
Signature check passed.
Installing remoteit (4.14.1) to root...
Configuring remoteit.

--------------------- Claim this device ---------------------

Use the code XXXXXX

```

Regards,

---

<div class="post-metadata">

**Author:** ![gary](https://avatars.discourse-cdn.com/v4/letter/g/839c29/32.png) [@gary](https://forum.remote.it/u/gary)\
**Post date:** [March 25, 2022, 9:01pm UTC](https://forum.remote.it/t/try-remote-it-on-openwrt/420/32 "2022-03-25T21:01:35Z")

</div>

Great! Thanks for the update.

[Previous page](https://forum.remote.it/t/try-remote-it-on-openwrt/420.md?page=1)
