Custom firmware for R7800 to extend its functionality

417 posts / 0 new
Last post
Voxel
Voxel's picture
I've placed original WebUI

I've placed original WebUI for Transmission:

 

https://www.voxel-firmware.com/Downloads/Voxel/R7800-Voxel-firmware/Tran...

 

You can install it instead of new UI (Transmission Web Control) from telnet:

1. Put downloaded transmission-web_2.94V-1_ipq806x.ipk to your router

2. Enter by telnet to your router.

3. Uninstall Transmission Web Control:
/bin/opkg remove transmission-web-control

4. Install original WebUI:

/bin/opkg install transmission-web_2.94V-1_ipq806x.ipk

 

This should restore original UI.

Voxel.

Voxel
Voxel's picture
New version of my custom

New version of my custom firmware build: 1.0.2.72SF.

Changes (vs 1.0.2.70SF):

1. minidlna package is upgraded 1.2.1->1.2.1-2018-04-10.
2. (minidlna) ffmpeg package configuration is changed (to provide more stable support of the FLAC files).
3. (minidlna) ffmpeg compilation flag conflict is fixed (now it is pure Cortex-A15 target).
4. (minidlna) libogg package is upgraded 1.3.3->1.3.4.
5. (minidlna) sqlite package is upgraded 3290000->3300100.
6. expat package is upgraded 2.2.7->2.2.9 (CVE-2019-15903).
7. unbound package (used in stubby) is upgraded 1.9.3->1.9.4 (CVE-2019-16866).
8. DNSCrypt Proxy v.2 is upgraded 2.0.27->2.0.28.
9. dnsmasq package is upgraded 2.78->2.80.
10. curl package is upgraded 7.65.3->7.66.0.
11. haveged package is upgraded 1.9.6->1.9.8.
12. libubox package is upgraded 2019-06-16->2019-10-21.
13. transmission-web-control package is upgraded 2019-04-16->2019-07-24.
14. dropbear package is changed: to allow ssh forwarding.
15. e2fsprogs package: optimization for a size.
16. patch package is added (kamoj add-on, replacement of a busybox analog).
17. coreutils sort package is added (kamoj add-on, replacement of a busybox analog).
18. etherwake package is added (kamoj add-on).
19. busybox: sort and patch are disabled.
20. OpenSSL 1.0.2/1.1.1: make an order with patches.
21. Host tools (mtd-utils): Add: glibc >= 2.28 compatibility patch.
22. Host tools (m4): Add: glibc >= 2.28 compatibility patch.
23. Host tools (squashfs4): Add: glibc >= 2.28 compatibility patch.
24. Toolchain: gdb is upgraded.
25. Development platform is changed (Debian9->Debian10: glib 2.24->2.28; gcc 6.3.0->8.3.0; etc).
26. Support of new certificates for https.

The link is:

https://www.voxel-firmware.com (thanks to vladlenas for his help with hosting).

Voxel.

 

dagfin
dagfin's picture
Thank you for continuing to

Thank you for continuing to support this router. Much appreciated.

Voxel
Voxel's picture
      Thank you for

      Thank you for continuing to support this router. Much appreciated.

 

Thanks for your "thank you". Appreciated as well.

 

Voxel.

Filzip77
Filzip77's picture
Thank you for developping

Thank you for developping this firmware.

Voxel
Voxel's picture
Thanks for your "thank you".

Thanks for your "thank you". Appreciated as well.

Voxel.

Voxel
Voxel's picture
New version of my custom

New version of my custom firmware build: 1.0.2.73SF.

Changes (vs 1.0.2.72SF):

1. OpenVPN is upgraded 2.4.7->2.4.8.
2. curl package is upgraded 7.66.0->7.67.0.
3. DNSCrypt Proxy v.2 is upgraded 2.0.28->2.0.35.
4. stubby config is changed (not so strict requirements to the server).
5. unbound package (used in stubby) is upgraded 1.9.4->1.9.6.
6. e2fsprogs: CVE-2019-5094 patch is added.
7. libubox package is upgraded 2019-10-21->2019-11-24.
8. uci package is upgraded 2019-09-01->2019-11-14.
9. iperf3 package is added.
10. net-wall script is fixed to support IPv6.
11. HiLink LTE modem support: moved to package hilink-modem (optimization).
12. Host tools (e2fspogs): is upgraded to 1.45.4.
13. Host tools (quilt): is upgraded to 0.66.

The link is:

https://www.voxel-firmware.com (thanks to vladlenas for his help with hosting).

Voxel.

 

mate999
mate999's picture
Voxel,Thank you for

Voxel,Thank you for developping this firmware.

I have a little problem. With the latest firmware, minidlna doesn't work properly. DLNA can't play MP3 and video。

Voxel
Voxel's picture
Sorry for a delayed reply.

Sorry for a delayed reply.

 

I've checked 5 mp3: they are working with 1.0.2.74SF...

mp4 file too. What version of fw do you use?

Voxel.

mate999
mate999's picture
Voxel,Thank you for your

Voxel,Thank you for your reply!

I installed version FW v1.0.2.73sf, DLNA cannot play normally. I tried the latest version of the official v1.0.2.68, and had the same problem. Your latest version, v1.0.2.74sf, I haven't tested yet. I'll install and test it this weekend.

Voxel
Voxel's picture
I installed version FW v1.0.2

I installed version FW v1.0.2.73sf, DLNA cannot play normally. I tried the latest version of the official v1.0.2.68, and had the same problem. Your latest version, v1.0.2.74sf, I haven't tested yet. I'll install and test it this weekend.

 

How do you check this? I usually test with my Samsung smart TV and from iPhone (VLC). 73SF was OK too.

BTW My version is too different vs stock...

 

Voxel.

mate999
mate999's picture
Voxel ,Thanks!

Voxel ,Thanks!

I have been using bubbleupnp to play MP3 and MP4 from r7800 through DLNA. I use an Android phone and run bubbleupnp to play the video on the r7800 to my TV box. The previous version is very compatible.

Maybe I made a mistake and didn't doubt whether it was the problem of bubbleupnp software.

mate999
mate999's picture
Voxel,Thank very much!

Voxel,Thank very much!

I have installed v1.0.2.74sf, and use bubbleupnp to play the audio and video on r7800, which can not be played normally. Query the progress:

root@R7800:/$ df
Filesystem           1k-blocks      Used Available Use% Mounted on
tmpfs                      512         0       512   0% /dev
ubi0:overlay_volume      51032     10696     37692  22% /overlay
overlayfs:/overlay       51032     10696     37692  22% /
/dev/sda1             31457280   2945320  28511960   9% /tmp/mnt/sda1
/dev/sda5            456928244 334624188 122304056  73% /tmp/mnt/sda5
tmpfs                      512         0       512   0% /hipplay/dev
tmpfs                   241760         0    241760   0% /hipplay/dev/shm
root@R7800:/$ ps |grep minidlna
17580 root       7696 S   /usr/sbin/minidlna -f /tmp/etc/minidlna.conf
20162 root        864 S   /usr/sbin/minidlna -f /tmp/etc/minidlna.conf
20978 root        864 S   /usr/sbin/minidlna -f /tmp/etc/minidlna.conf
23628 root        864 S   /usr/sbin/minidlna -f /tmp/etc/minidlna.conf
24395 root       6460 S   /usr/sbin/minidlna -f /tmp/etc/minidlna.conf
24462 root       6460 S   /usr/sbin/minidlna -f /tmp/etc/minidlna.conf
24463 root       6460 S   /usr/sbin/minidlna -f /tmp/etc/minidlna.conf
25129 root       6460 S   /usr/sbin/minidlna -f /tmp/etc/minidlna.conf
29313 root       6464 S   /usr/sbin/minidlna -f /tmp/etc/minidlna.conf
30714 root        364 S   grep minidlna
root@R7800:/$ uname -a
Linux R7800 3.4.103 #1 SMP Mon Dec 30 13:03:34 UTC 2019 armv7l IPQ8065

mate999
mate999's picture
Voxel:

Voxel:

I'm sorry, after many tests, I found that it's the problem of bubbleupnp, which is not very compatible with the new version of minidlna library. I used to use bubbleupnp to play media between my various devices. It's very convenient. Now I have to think about a different program of playing software.

  Thanks !!!

Voxel
Voxel's picture
New version of my custom

New version of my custom firmware build: 1.0.2.74.1SF.

Changes (vs 1.0.2.74SF):

1. Partial selective integration of changes from the stock v. 1.0.2.68
to support FCC channels 136, 140, and 144.​
2. Default ReadyCLOUD version is upgraded 20180619->20191014.
3. ubus package is upgraded 2019-12-27->2020-01-05.
4. e2fsprogs package is upgraded 1.44.5->1.45.5.
5. curl package is upgraded 7.67.0->7.68.0.
6. Host tools (e2fspogs): is upgraded to 1.45.5.

Changes (1.0.2.74SF vs 1.0.2.73SF):

1. OpenSSL v. 1.0.2 package is upgraded 1.0.2t->1.0.2u.
2. uci package is upgraded 2019-11-14->2019-12-12.
3. libubox package is upgraded 2019-11-24->2019-12-28.
4. ubus package is upgraded 2018-10-06->2019-12-27.
5. DNSCrypt Proxy v.2 is upgraded 2.0.35->2.0.36.
6. logrotate package is upgrader 3.8.1->3.15.0.
7. ffmpeg package is upgraded 3.4.6->3.4.7.

The link is:

https://www.voxel-firmware.com (thanks to vladlenas for his help with hosting).

Voxel.

Voxel
Voxel's picture
New version of my custom

New version of my custom firmware build: 1.0.2.74.2SF.

Changes (vs 1.0.2.74.1SF):

1. Changes in firewall to allow accessing LAN devices when using OpenVPN TUN server.
2. HiLink LTE modem support changes: otimization.
3. tune2fs utility is added to allow tuning ext2/3/4 FS features (-O ^metadata_csum,^64bit).
4. hotplug2 package: add support of upcoming WireGuard-Go add-on (config from USB flash).
5. DNSCrypt Proxy v.2 build scheme is changed (compilation by Go, dynamic GCC libs). Should work faster.
6. DNSCrypt Proxy v.2 is upgraded 2.0.36->2.0.39.
7. libubox package is upgraded 2019-12-28->2020-01-20.
8. util-linux package is upgraded 2.34->2.35.1.
9. sqlite package is upgraded 3300100->3310100.
10. uci package is upgraded 2019-12-12->2020-01-27.
11. sysstat package is upgraded 12.0.5->12.2.1.
12. libgpg-error package is upgraded 1.36->1.37.
13. coreutils package (sort) is upgraded 8.30->8.31.
14. libxml2 package: optimization for a size.
15. Host tools (gmp): is upgraded to 6.2.0.
16. Host tools (sed): is upgraded to 4.8.
17. Host tools (bison): is upgraded to 3.5.1.
18. Host tools (quilt): is upgraded to 0.66.
19. Toolchain: Go (used for DNSCrypt Proxy v. 2) is upgraded to 1.13.8.

The link is:

https://www.voxel-firmware.com (thanks to vladlenas for his help with hosting).

Voxel.

spiderjuka
spiderjuka's picture
Hello,

Hello,

I already installed last your firmware v1.0.2.76.1SF on my R7800. Till now everythink is working. Thank you very much for your greet job!

I have two questions:

1. Is it possible to have access to SSH server via WAN? It working only inside of LAN network.

How can I allow to remote control from outside to SSH?

2. Is it possible to make full backup of firmware with all settings and installed programms/applications?

On openwrt I saw that it is possbile to make copy of correct memory block - mtd. For TP-Link Archer C7 it is mtd6 - named "firmware".

Unfortunatelly R7800 firmware has 20 mtd's memory block (mtd0-mtd9). Which block should I backup? And how can I restore it?

Thank yuo.

Best Regards.

spiderjuka
spiderjuka's picture
Hello,

Hello,

I already installed last your firmware v1.0.2.76.1SF on my R7800. Till now everythink is working. Thank you very much for your greet job!

I have two questions:

1. Is it possible to have access to SSH server via WAN? It working only inside of LAN network.

How can I allow to remote control from outside to SSH?

2. Is it possible to make full backup of firmware with all settings and installed programms/applications?

On openwrt I saw that it is possbile to make copy of correct memory block - mtd. For TP-Link Archer C7 it is mtd6 - named "firmware".

Unfortunatelly R7800 firmware has 20 mtd's memory block (mtd0-mtd9). Which block should I backup? And how can I restore it?

Thank yuo.

Best Regards.

spiderjuka
spiderjuka's picture
Hello,

Hello,

 

First point I did - now SSH working via WAN.

But secon question still is open:

Is it possible to make full backup of firmware with all settings and installed programms/applications?

On openwrt I saw that it is possbile to make copy of correct memory block - mtd. For TP-Link Archer C7 it is mtd6 - named "firmware".

Unfortunatelly R7800 firmware has 20 mtd's memory block (mtd0-mtd9). Which block should I backup? And how can I restore it?

 

Tank you.

Best Regards.

Voxel
Voxel's picture
Please contact me in P.M. in

Please contact me in P.M. in th case of urgency. This COVID-19....

 

Backup settings. Check this

 

https://www.snbforums.com/threads/enabling-dhcp-auth-options-60-and-61-o...

 

Voxel.

Voxel
Voxel's picture
New version of my custom

New version of my custom firmware build: 1.0.2.78SF.

Changes (vs 1.0.2.77SF):

1. dropbear package is upgraded 2019.78->2020.79
(scp fix for CVE-2018-20685:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20685
support of ed25519 hostkeys and authorized_keys,
adding chacha20-poly1305 authenticated cipher etc).​
2. iptables package is upgraded 1.8.4->1.8.5.
3. ca-certificates package is upgraded 20190110->20200601.
4. DNSCrypt Proxy v.2 is upgraded 2.0.42->2.0.44.
5. curl package is upgraded 7.70.0->7.71.0.
6. haveged package is upgraded 1.9.8->1.9.12.
7. proftpd package is upgraded 1.3.6c->1.3.6d.
8. pcre package is upgraded 7.6->8.44.
9. sqlite package is upgraded 3320000->3320100.
10. sysstat package is upgraded 12.1.1->12.2.2.
11. transmission package: optimize for a size.
12. db4 package: optimize for a size.
13. Toolchain: Go is upgraded 1.14.3->1.14.4.

The link is:

https://www.voxel-firmware.com (thanks to vladlenas for his help with hosting).

Voxel.

adrian_vg
adrian_vg's picture
@Voxel

Thanks for your work on this firmware!
Router seems a bit snappier, which I appreciate a lot. :-D

Now, I tried adding host lines to /etc/hosts file, in order to resolve(...) my ongoing name resolving issues with all my Ubuntu desktops and servers.
After a router reboot the added gost lines were however gone.

Is there anyway to use this custom firmware to add some simple dns-capability at all?
Even a persistent /etc/hosts files would work.

Thanks.

Voxel
Voxel's picture
Is there anyway to use this

Is there anyway to use this custom firmware to add some simple dns-capability at all?
Even a persistent /etc/hosts files would work.

 

You should use for this external USB drive (e.g. USB stick) and create the file autorun/scripts/post-mount.sh (root of this USB formatted e.g. as EXT4). See my README.

BTW new version of firmware is available to download from my site (1.0.2.80.4SF).

Voxel

adrian_vg
adrian_vg's picture
Hello!

Hello!

I'm not sure I follow.

Post-mount.sh is mentioned in chapter 3; Setup SSH access to router.
There is howwever no mention of how I'd use a usb-stick to add a persistent hosts-file in the readme; https://www.voxel-firmware.com/Downloads/Voxel/readme.docx. 

Or do you mean a different readme file?

Thanks,
//AvG
 

 

Voxel
Voxel's picture
I mean exactly this readme

I mean exactly this readme.docx.

 

If your USB (formatted as e.g. ext4) has the file autorun/scripts/post-mount.sh and it is executable (i.e. such directory tree from the root of your USB drive), then it will be executed every time you reboot your router. I.e. if your post-mount.sh is something like

----------------------------
#!/bin/sh

sleep 30

cat /mnt/$1/myhost >> /etc/hosts

---------------------------------

it should appenf your /etc/hosts file by the file myhost sored on the root of your USB. Just try to play with this.

 

This post-mount.sh is automatically called after reboot with argument sda1 or sdb1 or sdc1 etc (depending how your USB drive is mounted  e.g. /mnt/sda1).

Voxel.

adrian_vg
adrian_vg's picture
Thanks Voxel!

Thanks Voxel!
Will look into it some more and see if I can figure it out.

//AvG

Pages