What's new

Custom firmware build for R7800 v. 1.0.2.69SF

Voxel

Very Senior Member
Continuation of
. . .
https://www.snbforums.com/threads/custom-firmware-build-for-r7800-v-1-0-2-67sf-1-0-2-67-1sf.56921/
https://www.snbforums.com/threads/custom-firmware-build-for-r7800-v-1-0-2-68sf.57646/

New version of my custom firmware build: 1.0.2.69SF.

Changes (vs 1.0.2.68SF):

1. libreadline: fixing read-only attribute for target libraries to provide strip of binary (saving space).
2. amule, libcrypto++, wxWidgets: optimization of size (saving space).
3. libunistring is removed (not needed, saving space).
4. libogg is removed (not needed, saving space).
5. Transmission: change of GUI. transmission-web-control package is added and standard transmission-web package is removed.
6. OpenSSL package: unification of Makefile (identical with R9000 version).
7. lz4 package is upgraded 1.9.1->1.9.2
8. lz4 package: unification of Makefile (identical with R9000 version).
9. lzo package: unification of Makefile (identical with R9000 version).
10. OpenVPN package: unification of Makefile (identical with R9000 version).
11. dropbear package: unification of Makefile (identical with R9000 version).
12. libflac package is upgraded 1.3.2->1.3.3.
13. libflac package optimization (sync with OpenWRT version).
14. curl package is upgraded 7.65.1->7.65.3.
15. expat package is upgraded 2.2.6->2.2.7.
16. sqlite package is upgraded 3270200->3290000.
17. Host tools: two components are upgraded (e2fsprogs, scons).

The link is:

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

Voxel.
 
Last edited:

pege63

Very Senior Member
Good Work Voxel.

Is there a way to block out GUEST from the the local network and just let them access to the internet?

 
Last edited:

Voxel

Very Senior Member
Is there a way to block out GUEST from the the local network and just let them access to the internet?
I do not see any problem with this. Maybe you should really enable GUEST (it is not enabled in your screenshot).

upload_2019-8-31_14-35-29.png


Voxel.
 

Luuc Paauw

Occasional Visitor
just reverted back to your firmware voxel, Kong stopped dd-wrt development.
try to install entware but de usb does not work...(automount)
if i run your post-mount script and try to opkg it says

Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ipq806x/generic/packages/Packages.gz.
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ipq806x/generic/packages
/Packages.gz: Error.


the source is not available and after telling opkg to use /opt/etc/opkg.conf i get

opkg update -f /opt/etc/opkg.conf
Package mtd-utils-mtdinfo version 1.5.2-2 has no valid architecture, ignoring.
Package kmod-usb-storage version 3.4.103-1 has no valid architecture, ignoring.
Package terminfo version 6.1-1 has no valid architecture, ignoring.
Package kmod-sched-connmark version 3.4.103-1 has no valid architecture, ignoring.
Package libuci-lua version 2019-05-17-f199b961-1 has no valid architecture, ignoring.
Package samba36-server version 3.6.25-7 has no valid architecture, ignoring.
Package kmod-lib-textsearch version 3.4.103-1 has no valid architecture, ignoring.
Package net-scan version 1 has no valid architecture, ignoring.
Package libc version 0.9.33.2-1 has no valid architecture, ignoring.
Package kmod-ebtables version 3.4.103-1 has no valid architecture, ignoring.
Package kmod-l2tp version 3.4.103-1 has no valid architecture, ignoring.
etc..


What can i do to install entware ?
Can you build in midnight commander like you dit with transmittion, i think much users would appreciate it
 

Voxel

Very Senior Member
if i run your post-mount script and try to opkg it says

Downloading http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ipq806x/generic/packages/Packages.gz.
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ipq806x/generic/packages
/Packages.gz: Error.
Run:
Code:
which opkg
It will display you /bin/opkg. As I suppose.

You should use /opt/bin/opkg. Default (/bin/opkg) is just used for internal needs and QoS update.

Create the file /root/.profile:

Code:
#!/bin/sh
export PATH=/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin
to force /opt/bin/opkg from Entware by default.

Voxel.
 

Voxel

Very Senior Member
Midnight Commander:

Out-of topic: I dislike MC. Something personal. It is strange of course because I do use similar to original Norton Commander shell Far Manager (for Windows):

https://farmanager.com/screenshots.php?l=en

And it (Far Manager) helps me much in firmware integration/build. E.g. it has SCP add-on allowing me to edit/view/browse files on Linux from my Windows PC.

Perhaps MC vs FAR comparison...

Voxel.
 

Luuc Paauw

Occasional Visitor
did everything you said...which opkg was wrong...created .profile in /root/ , reboor, telnet but no right PATH....dit an export and now the right PATH...
But upkg update run from /opt/etc.. i got the same error as before...with opkg -f /opt/etc/opkg.conf also the same errors...
can far be installed to voxel firmware...i use it to copy from 1 disk (internal) to the other ones....
 

Voxel

Very Senior Member
did everything you said...which opkg was wrong...created .profile in /root/ , reboor, telnet but no right PATH....dit an export and now the right PATH...
But upkg update run from /opt/etc.. i got the same error as before...with opkg -f /opt/etc/opkg.conf also the same errors...
can far be installed to voxel firmware...i use it to copy from 1 disk (internal) to the other ones....
Try to run concrete opkg wit full path:

Code:
/opt/bin/opkg update
/opt/bin/opkg upgrade
/opt/bin/opkg install mc
mc
P.S. Far Manage is a Windows program. Cannot be used in Linux environment.

Voxel.
 

pege63

Very Senior Member
I do not see any problem with this. Maybe you should really enable GUEST (it is not enabled in your screenshot).
Voxel.


As you can see, it cant change it even if i klick to enable Guest Network.
I cant klick in the square to dissable access my local NETWORK.
I DONT want GUEST access to the LOCAL network and to see all my mapps and access to files, ONLY acceess to INTERNET.

In the MANUAL its not even klicked in, so how to i get the same!?
"Guest networks allow visitors at your home to use the Internet without using your wireless security key" When its NOT klicked in you can access the INTERNET only!

 
Last edited:

Luuc Paauw

Occasional Visitor
voxel..the /opt/bin opkg command also gives the same problems...another usb stick does the same errors..i'm lost
 

Luuc Paauw

Occasional Visitor
if i download your mc fron your site :


export PATH=/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin
[email protected]:/tmp/mnt/sda1/entware/bin$ which opkg
/opt/bin/opkg
[email protected]:/tmp/mnt/sda1/entware/bin$ opkg install mc_4.8.22-1_cortex-a15-3x.ipkUnknown package 'mc'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for mc found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package mc.
 

Voxel

Very Senior Member
As you can see, it cant change it even if i klick to enable Guest Network.
I cant klick in the square to dissable access my local NETWORK.
I DONT want GUEST access to the LOCAL network and to see all my mapps and access to files, ONLY acceess to INTERNET.
Sorry, I could not recognize from your screenshot that you are using R7800 in AP mode. Not router mode.

Guest isolation is not possible in AP mode, because the AP has no control over the traffic once it leaves the AP...

Voxel.
 

Voxel

Very Senior Member
if i download your mc fron your site :


export PATH=/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin
[email protected]:/tmp/mnt/sda1/entware/bin$ which opkg
/opt/bin/opkg
[email protected]:/tmp/mnt/sda1/entware/bin$ opkg install mc_4.8.22-1_cortex-a15-3x.ipkUnknown package 'mc'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for mc found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package mc.
IMU you are still using /bin/opkg.

Try to run

opkg --version

it should display
Code:
opkg version d4ba162bb3f931bd5a019154270a548cf1f0853b (2019-01-31)
if you are using Entware version. If it displays "opkg version 0.1.8" then you are using wrong opkg.

Try again using FULL PATH, not just "opkg" but "/opt/bin/opkg":

Code:
/opt/bin/opkg install mc_4.8.22-1_cortex-a15-3x.ipk
[CODE]

Voxel.
 

Luuc Paauw

Occasional Visitor
tried it but no luck ;

[email protected]:/tmp/mnt/sda1/entware/bin$ ls
find mc_4.8.22-1_cortex-a15-3x.ipk
grep opkg
islebe wget-ssl
locale.new xargs
localedef.new
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ opkg --version
opkg version 0.1.8
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ echo $PATH
/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ opkg --version
opkg version 0.1.8
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ /opt/bin/opkg install mc_4.8.22-1_cortex-a15-3x.ipk
/bin/ash: /opt/bin/opkg: not found
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ ./opt/bin/opkg
/bin/ash: ./opt/bin/opkg: not found
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ ./opt/bin/opkg install /tmp/mnt/sda1/entware/bin/mc_4.8.22-1_cortex-a15-3x.ipk
/bin/ash: ./opt/bin/opkg: not found
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ /tmp/mnt/sda1/entware/bin/opkg --version
/bin/ash: /tmp/mnt/sda1/entware/bin/opkg: not found
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ opkg --version
opkg version 0.1.8
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ df
Filesystem 1k-blocks Used Available Use% Mounted on
tmpfs 512 0 512 0% /dev
ubi0:eek:verlay_volume 51032 8984 39404 19% /overlay
overlayfs:/overlay 51032 8984 39404 19% /
/dev/sda1 28322740 1079096 25732784 4% /tmp/mnt/sda1
tmpfs 512 0 512 0% /hipplay/dev
/dev/sda1 28322740 1079096 25732784 4% /tmp/ftpadmin/shares/T_Drive
/dev/sda1 28322740 1079096 25732784 4% /hipplay/home/0external/b65f4f60-1460-d501-804d-4f601460d501
tmpfs 241760 0 241760 0% /hipplay/dev/shm
 

Luuc Paauw

Occasional Visitor
several opkg...

[email protected]:/tmp/mnt/sda1/entware/bin$ find / -name opkg
/bin/opkg
find: /proc/14100: No such file or directory
/rom/bin/opkg
/rom/usr/lib/opkg
/tmp/usr/lib/opkg
/tmp/ftpadmin/shares/T_Drive/entware/lib/opkg
/tmp/ftpadmin/shares/T_Drive/entware/bin/opkg
/tmp/ftpadmin/shares/T_Drive/entware/tmp/opt/lib/opkg
/tmp/ftpadmin/shares/T_Drive/entware/tmp/usr/lib/opkg
/tmp/mnt/sda1/entware/lib/opkg
/tmp/mnt/sda1/entware/bin/opkg
/tmp/mnt/sda1/entware/tmp/opt/lib/opkg
/tmp/mnt/sda1/entware/tmp/usr/lib/opkg
/usr/lib/opkg
/hipplay/TMP/usr/lib/opkg
/hipplay/home/0external/b65f4f60-1460-d501-804d-4f601460d501/entware/lib/opkg
/hipplay/home/0external/b65f4f60-1460-d501-804d-4f601460d501/entware/bin/opkg
/hipplay/home/0external/b65f4f60-1460-d501-804d-4f601460d501/entware/tmp/opt/lib/opkg
/hipplay/home/0external/b65f4f60-1460-d501-804d-4f601460d501/entware/tmp/usr/lib/opkg


[email protected]:/tmp/mnt/sda1/entware/bin$ ls -al
drwxrwxrwx 2 admin admin 2048 Aug 31 16:38 .
drwxrwxrwx 12 admin admin 2048 Aug 31 16:19 ..
-rwxrwxrwx 1 admin admin 301892 May 25 13:27 find
-rwxrwxrwx 1 admin admin 260088 May 25 13:27 grep
-rwxrwxrwx 1 admin admin 5556 May 25 13:27 islebe
-rwxrwxrwx 1 admin admin 31808 May 25 13:27 locale.new
-rwxrwxrwx 1 admin admin 305612 May 25 13:27 localedef.new
-rwxrwxrwx 1 admin admin 722009 Aug 31 16:36 mc_4.8.22-1_cortex-a15-3x.ipk
-rwxrwxrwx 1 admin admin 138792 May 25 13:27 opkg
-rwxrwxrwx 1 admin admin 523608 May 25 13:27 wget-ssl
-rwxrwxrwx 1 admin admin 75580 May 25 13:27 xargs
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ cd /bin
[email protected]:/bin$
[email protected]:/bin$ ls -al
drwxr-xr-x 2 root root 916 Aug 28 21:38 .
drwxr-xr-x 1 root root 744 Aug 28 21:45 ..
lrwxrwxrwx 1 root root 7 Aug 28 21:38 addgroup -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 adduser -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 ash -> busybox
-rwxr-xr-x 1 root root 577261 Aug 28 21:38 busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 cat -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 chgrp -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 chmod -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 chown -> busybox
lrwxrwxrwx 1 root root 5 Aug 28 21:38 config -> nvram
lrwxrwxrwx 1 root root 7 Aug 28 21:38 cp -> busybox
-rwxr-xr-x 1 root root 39586 Aug 28 20:59 datalib
lrwxrwxrwx 1 root root 7 Aug 28 21:38 date -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 dd -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 delgroup -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 deluser -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 df -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 dmesg -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 echo -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 egrep -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 false -> busybox
-rwxr-xr-x 1 root root 696567 Dec 10 2018 fbwifi
lrwxrwxrwx 1 root root 7 Aug 28 21:38 fgrep -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 getopt -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 grep -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 gunzip -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 gzip -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 hostname -> busybox
-rwxr-xr-x 1 root root 1382 Jan 24 2017 ipcalc.sh
lrwxrwxrwx 1 root root 7 Aug 28 21:38 kill -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 ln -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 lock -> busybox
-rwxr-xr-x 1 root root 735 Jan 25 2019 login
lrwxrwxrwx 1 root root 7 Aug 28 21:38 ls -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 md -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 mkdir -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 mknod -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 mktemp -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 mm -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 mount -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 mv -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 netmsg -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 netstat -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 nice -> busybox
-rwxr-xr-x 1 root root 3502 Aug 28 20:59 nvram
-rwxr-xr-x 1 root root 723451 Dec 10 2018 ookla
-rwxr-xr-x 1 root root 1702 May 16 2018 openvpn_cert_check
-rwxr-xr-x 1 root root 2209 May 16 2018 openvpn_update
-rwxr-xr-x 1 root root 129400 Aug 28 21:32 opkg
lrwxrwxrwx 1 root root 7 Aug 28 21:38 pidof -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 ping -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 ping6 -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 ps -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 pwd -> busybox
lrwxrwxrwx 1 root root 5 Aug 28 21:38 readycloud_nvram -> nvram
lrwxrwxrwx 1 root root 7 Aug 28 21:38 rm -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 rmdir -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 sed -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 sh -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 sleep -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 su -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 sync -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 touch -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 true -> busybox
-rwxr-xr-x 1 root root 12472 Aug 28 21:11 ubus
lrwxrwxrwx 1 root root 7 Aug 28 21:38 umount -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 uname -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 usleep -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 vi -> busybox
lrwxrwxrwx 1 root root 7 Aug 28 21:38 zcat -> busybox


did i use the richt package from your site ?
 

Voxel

Very Senior Member
[email protected]:/tmp/mnt/sda1/entware/bin$ /opt/bin/opkg install mc_4.8.22-1_cortex-a15-3x.ipk
/bin/ash: /opt/bin/opkg: not found
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ ./opt/bin/opkg
/bin/ash: ./opt/bin/opkg: not found
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ ./opt/bin/opkg install /tmp/mnt/sda1/entware/bin/mc_4.8.22-1_cortex-a15-3x.ipk
/bin/ash: ./opt/bin/opkg: not found
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ /tmp/mnt/sda1/entware/bin/opkg --version
/bin/ash: /tmp/mnt/sda1/entware/bin/opkg: not found
So something is wrong with your installation. opkg from Entware does not work

First, what filesystem do you use? Entware requires ext4 (or at least ext2/3).
Second, make sure that you created ext4 using the command:
Code:
mkfs.ext4 -L optware -O ^metadata_csum /dev/sda1
(described in my README).
Third, just post the output of commands:

Code:
ll /opt/
ll /opt/bin/
Voxel.
 
Last edited:

Luuc Paauw

Occasional Visitor
i originally did a format with partition master in windows and label it optware but if i try your command

[email protected]:/rom/bin$ mkfs.ext4 L optware -O ^metadata_csum /dev/sda1
mke2fs 1.44.5 (15-Dec-2018)
mkfs.ext4: invalid blocks 'optware' on device 'L'
[email protected]:/rom/bin$
[email protected]:/rom/bin$ ll /opt
ash: ll: not found
[email protected]:/rom/bin$
[email protected]:/rom/bin$ ll /opt/
ash: ll: not found
[email protected]:/rom/bin$
[email protected]:/rom/bin$ ll /opt/bin/
 

Luuc Paauw

Occasional Visitor
i was on dd-wrt ent went back to your firmware, did also do a factory reset
i also had to chmod 777 /tmp/mnt/sda1 to make it accessable from windows to unpak your generic zip from your site
 

Sign Up For SNBForums Daily Digest

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