What's new

R7800 Voxels firmware .. measure wan bandwidth

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Easiest would be to wait till Voxel updates his entware repo with the newer version. (regular entware already has the new version)
Then it should be a matter of /opt/bin/opkg update && /opt/bin/opkg upgrade.

(Otherwise, you'd have to build a machine to compile your own entware packages and update the package yourself. (copy source from regular entware)
Or if you have installed gcc and some other packages on entware and you know what you are doing, you could try downloading the sources and compile the newer version directly on your router.
)
 
Ok, understand. Thank you much.
 
Thnx! Upgrade also went without issues for me...
Thanks for report. There were really significant problems with this... I mean glibc 2.26->2.27. I hope it is really fixed by me. I had to modify the very basic package (namely "toolchain"). Adding post-install script. You know, Entware consists of more than 2500 packages. I had to re-compile it three times (more than 4 hours of every compilation).

Anyway, it is important to have full backup of Entware. Before upgrading. Always. Something like

Code:
cd /mnt/sda1
tar cf ./backup/entware.tar entware
/opt/bin/opkg update
/opt/bin/opkg upgrade

Voxel.
 
Last edited:
Anyway, it is important to have full backup of Entware. Before upgrading. Always. Something like

Code:
cd /mnt/sda1
tar cf ./backup/entware.tar
/opt/bin/opkg update
/opt/bin/opkg upgrade

good tip... Guess I took a risk upgrading without such a backup.

Anyways, your suggestion makes a backup of the whole usb-disk. I didn't have space for that (also have a debian chroot installed and a swap file) so I backupped only the important stuff. (also choose to use gzip the backups to save space)
Just to be safe, I also first stopped all entware services, before making the backup.
And afterwards I started the services again and copied the backups to my NAS using scp.

Code:
/opt/etc/init.d/rc.unslung stop
cd /mnt/sda1
tar czvf entware_backup.tgz ./entware ./autorun authorized_keys dropbear_* ssh_host_*
/opt/etc/init.d/rc.unslung start
scp entware_backup.tgz root@nas:/data/backup/
(and in my case, tar would give a read-error on one of the files in the netdata cache, so I first deleted that netdata cache, before the above commands would succeed.)
 
SO I just tried your code and got the following:
root@R7800:/$ cd /mnt/sda1
root@R7800:/tmp/mnt/sda1$ tar cf ./backup/entware.tar
tar: Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for more information.
Huh?

root@R7800:/tmp/mnt/sda1$ /opt/bin/opkg update
Downloading http://www.voxel-firmware.com/Downloads/Voxel/Entware/Entware-3x-Voxel/Packages.gz
Updated list of available packages in /opt/var/opkg-lists/entware

root@R7800:/tmp/mnt/sda1$ /opt/bin/opkg upgrade
Upgrading libc on root from 2.26-9 to 2.27-9...
Downloading http://www.voxel-firmware.com/Downloads/Voxel/Entware/Entware-3x-Voxel/libc_2.27-9_cortex-a15-3x.ipk
Removing obsolete file /opt/lib/libc-2.26.so.
Removing obsolete file /opt/lib/libnss_dns-2.26.so.
Removing obsolete file /opt/lib/libresolv-2.26.so.
Removing obsolete file /opt/lib/libdl-2.26.so.
Removing obsolete file /opt/lib/ld-2.26.so.
Removing obsolete file /opt/lib/libutil-2.26.so.
Removing obsolete file /opt/lib/libnsl-2.26.so.
Removing obsolete file /opt/lib/libm-2.26.so.
Removing obsolete file /opt/lib/libcrypt-2.26.so.
Removing obsolete file /opt/lib/libcidn-2.26.so.
Removing obsolete file /opt/lib/libanl-2.26.so.
Removing obsolete file /opt/lib/libnss_files-2.26.so.
Upgrading netdata on root from 1.19.0-1 to 1.20.0-1...
Downloading http://www.voxel-firmware.com/Downl...e-3x-Voxel/netdata_1.20.0-1_cortex-a15-3x.ipk
Installing libuv (1.32.0-1) to root...
Downloading http://www.voxel-firmware.com/Downl...are-3x-Voxel/libuv_1.32.0-1_cortex-a15-3x.ipk
Removing obsolete file /opt/etc/netdata/node.d/.keep.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/phpfpm.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/squid.conf.
Removing obsolete file /opt/lib/netdata/charts.d/nginx.chart.sh.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/tomcat.conf.
Removing obsolete file /opt/lib/netdata/charts.d/phpfpm.chart.sh.
Removing obsolete file /opt/etc/netdata/health.d/.keep.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/mem_apps.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/cpufreq.conf.
Removing obsolete file /opt/lib/netdata/python.d/unbound.chart.py.
Removing obsolete file /opt/etc/netdata/python.d/.keep.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/apache.conf.
Removing obsolete file /opt/lib/netdata/charts.d/apache.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/mysql.chart.sh.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/hddtemp.conf.
Removing obsolete file /opt/lib/netdata/charts.d/exim.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/cpu_apps.chart.sh.
Removing obsolete file /opt/etc/netdata/statsd.d/.keep.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/nginx.conf.
Removing obsolete file /opt/lib/netdata/charts.d/load_average.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/cpufreq.chart.sh.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/postfix.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/mysql.conf.
Removing obsolete file /opt/lib/netdata/charts.d/hddtemp.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/squid.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/postfix.chart.sh.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/cpu_apps.conf.
Removing obsolete file /opt/lib/netdata/conf.d/python.d/unbound.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/load_average.conf.
Removing obsolete file /opt/lib/netdata/conf.d/charts.d/exim.conf.
Removing obsolete file /opt/lib/netdata/charts.d/mem_apps.chart.sh.
Removing obsolete file /opt/lib/netdata/charts.d/tomcat.chart.sh.
Removing obsolete file /opt/etc/netdata/charts.d/.keep.
Not deleting modified conffile /opt/etc/netdata/node.d/.keep.
Not deleting modified conffile /opt/etc/netdata/health.d/.keep.
Not deleting modified conffile /opt/etc/netdata/python.d/.keep.
Not deleting modified conffile /opt/etc/netdata/statsd.d/.keep.
Not deleting modified conffile /opt/etc/netdata/charts.d/.keep.
Upgrading locales on root from 2.26-8 to 2.27-8...
Downloading http://www.voxel-firmware.com/Downl...are-3x-Voxel/locales_2.27-8_cortex-a15-3x.ipk
/opt/tmp/opkg-kNubzi/locales-Nt7mxG/preinst: /opt/tmp/opkg-kNubzi/locales-Nt7mxG/preinst: 9: /opt/bin/locale.new: not found
Deleting locale-archive. It needs upgrade.
Upgrading libpthread on root from 2.26-9 to 2.27-9...
Downloading http://www.voxel-firmware.com/Downl...-3x-Voxel/libpthread_2.27-9_cortex-a15-3x.ipk
Removing obsolete file /opt/lib/libpthread-2.26.so.
Upgrading librt on root from 2.26-9 to 2.27-9...
Downloading http://www.voxel-firmware.com/Downl...tware-3x-Voxel/librt_2.27-9_cortex-a15-3x.ipk
Removing obsolete file /opt/lib/librt-2.26.so.
Upgrading entware-opt on root from 227000-3 to 227000-4...
Downloading http://www.voxel-firmware.com/Downloads/Voxel/Entware/Entware-3x-Voxel/entware-opt_227000-4_all.ipk
Upgrading libopenssl on root from 1.1.1e-1 to 1.1.1f-1...
Downloading http://www.voxel-firmware.com/Downl...x-Voxel/libopenssl_1.1.1f-1_cortex-a15-3x.ipk
Configuring libc.
Configuring libpthread.
Configuring librt.
Configuring libuv.
Configuring netdata.
Configuring locales.
Entware uses separate locale-archive file independent from main system
Creating locale archive - /opt/usr/lib/locale/locale-archive
Adding en_EN.UTF-8
Adding ru_RU.UTF-8
You can download locale sources from http://bin.entware.net/other/i18n_glib227.tar.gz
You can add new locales to Entware using /opt/bin/localedef.new
Configuring libopenssl.
Configuring entware-opt.
Collected errors:
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/node.d/.keep: No such file or directory.
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/health.d/.keep: No such file or directory.
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/python.d/.keep: No such file or directory.
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/statsd.d/.keep: No such file or directory.
* file_sha256sum_alloc: Failed to open file /opt/etc/netdata/charts.d/.keep: No such file or directory.


Are these few failed to open items of any concern?

I did a reboot the the app is still working great. I guess those entries are no longer of any concern. Just checking.


Thanks for report. There were really significant problems with this... I mean glibc 2.26->2.27. I hope it is really fixed by me. I had to modify the very basic package (namely "toolchain"). Adding post-install script. You know, Entware consists of more than 2500 packages. I had to re-compile it three times (more than 4 hours of every compilation).

Anyway, it is important to have full backup of Entware. Before upgrading. Always. Something like

Code:
cd /mnt/sda1
tar cf ./backup/entware.tar
/opt/bin/opkg update
/opt/bin/opkg upgrade

Voxel.
 
Anyways, your suggestion makes a backup of the whole usb-disk.
Sorry. Missed "entware " word in my command example during editing post.

Should be of course
Code:
tar cf ./backup/entware.tar entware

SO I just tried your code and got the following:
root@R7800:/$ cd /mnt/sda1
root@R7800:/tmp/mnt/sda1$ tar cf ./backup/entware.tar
tar: Cowardly refusing to create an empty archive
Try 'tar --help' or 'tar --usage' for more information.
Huh?
The same note, sorry for misprint. In the future:

Code:
cd /mnt/sda1
mkdir ./backup
tar cf ./backup/entware.tar entware
/opt/bin/opkg update
/opt/bin/opkg upgrade

where "mkdir ./backup" is optional. If "backup" directory already exists - not needed.

Are these few failed to open items of any concern?
IMO this should be ignored. Just attempt of uninstaller to remove not-existent yet dirs or files.

Voxel.
 
Sounds good. Will update my notes on this.
 
FYI, if you have installed netdata before the update/ upgrade process, I suggest uninstall netdata, and install it again. The upgrade showed incorrect data for IP bandwidth.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top