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!
# 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
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
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.
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
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:
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.
@gary thanks a lot, editing my /etc/openwrt_release file as you wrote, i could install remote.it package.
Signature check passed.
Installing remoteit (4.14.1) to root...
Configuring remoteit.
--------------------- Claim this device ---------------------
Use the code XXXXXX