1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Custom firmware build for R7800 v. 1.0.2.69SF

Discussion in 'NETGEAR AC Wireless' started by Voxel, Aug 30, 2019.

Tags:
  1. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    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: Sep 2, 2019
    atom, xingcoo, 3rdOne and 21 others like this.
  2. Bendon

    Bendon Occasional Visitor

    Joined:
    Apr 12, 2019
    Messages:
    13
    ty for your hard work:)
     
    Gar and Voxel like this.
  3. pege63

    pege63 Very Senior Member

    Joined:
    Jan 17, 2015
    Messages:
    985
    Location:
    Sweden, AngelIsland
    Good Work Voxel.

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

    [​IMG]
     
    Last edited: Aug 31, 2019
    Voxel likes this.
  4. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    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.
     
    kamoj likes this.
  5. Luuc Paauw

    Luuc Paauw Occasional Visitor

    Joined:
    Sep 25, 2018
    Messages:
    29
    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
     
  6. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    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.
     
  7. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    As an add-on maybe... Entware contains mc...

    Voxel.
     
  8. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    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.
     
  9. Luuc Paauw

    Luuc Paauw Occasional Visitor

    Joined:
    Sep 25, 2018
    Messages:
    29
    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....
     
  10. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    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.
     
  11. pege63

    pege63 Very Senior Member

    Joined:
    Jan 17, 2015
    Messages:
    985
    Location:
    Sweden, AngelIsland
    [​IMG]

    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!

    [​IMG]
     
    Last edited: Aug 31, 2019
  12. Luuc Paauw

    Luuc Paauw Occasional Visitor

    Joined:
    Sep 25, 2018
    Messages:
    29
    voxel..the /opt/bin opkg command also gives the same problems...another usb stick does the same errors..i'm lost
     
  13. Luuc Paauw

    Luuc Paauw Occasional Visitor

    Joined:
    Sep 25, 2018
    Messages:
    29
    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
    root[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.
     
  14. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    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.
     
  15. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    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.
     
  16. Luuc Paauw

    Luuc Paauw Occasional Visitor

    Joined:
    Sep 25, 2018
    Messages:
    29
    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
     
  17. Luuc Paauw

    Luuc Paauw Occasional Visitor

    Joined:
    Sep 25, 2018
    Messages:
    29
    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 ?
     
  18. Voxel

    Voxel Very Senior Member

    Joined:
    Dec 9, 2014
    Messages:
    1,315
    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: Sep 1, 2019
  19. Luuc Paauw

    Luuc Paauw Occasional Visitor

    Joined:
    Sep 25, 2018
    Messages:
    29
    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/
     
  20. Luuc Paauw

    Luuc Paauw Occasional Visitor

    Joined:
    Sep 25, 2018
    Messages:
    29
    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