Custom firmware build for R7800 v. 1.0.2.69SF

Voxel

Part of the Furniture
[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

Wrong. The owner should be root. And not 777 permissions for all. My output:

Code:
ls -al /opt/bin
lrwxrwxrwx    1 root     root            8 Jun  7 08:46 ash -> /bin/ash
-rwxr-xr-x    1 root     root       301892 May 25 13:27 find
-rwxr-xr-x    1 root     root       260088 May 25 13:27 grep
-rwxr-xr-x    1 root     root         5556 May 25 13:27 islebe
-rwxr-xr-x    1 root     root        31808 May 25 13:27 locale.new
-rwxr-xr-x    1 root     root       305612 May 25 13:27 localedef.new
-rwxr-xr-x    1 root     root       138792 May 25 13:27 opkg
lrwxrwxrwx    1 root     root            7 Jun  7 08:46 sh -> /bin/sh
lrwxrwxrwx    1 root     root            8 Jun  7 08:46 wget -> wget-ssl
-rwxr-xr-x    1 root     root       523608 May 25 13:27 wget-ssl
-rwxr-xr-x    1 root     root        75580 May 25 13:27 xargs

I guess you are using NTFS or FAT...

Format your USB as ext4. It is necessary for Entware.

mkfs.ext4 -L optware -O ^metadata_csum /dev/sda1

Voxel.
 
Last edited:

Luuc Paauw

Occasional Visitor
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]:/opt$
[email protected]:/opt$ df
Filesystem 1k-blocks Used Available Use% Mounted on
tmpfs 512 0 512 0% /dev
ubi0:eek:verlay_volume 51032 8988 39404 19% /overlay
overlayfs:/overlay 51032 8988 39404 19% /
/dev/sda1 29267892 86 27756946 0% /tmp/mnt/sda1
/dev/sda1 29267892 86 27756946 0% /tmp/ftpadmin/shares/T_Drive
tmpfs 512 0 512 0% /hipplay/dev
/dev/sda1 29267892 86 27756946 0% /hipplay/home/0external/4eed3647-3960-d501-40e5-36473960d501
tmpfs 241760 0 241760 0% /hipplay/dev/shm

i cant seem to format any usb stick...i get this error with the sticks if they are original ntfs or ext2 or ext4...

what is wrong with the command and what blocksize do i choose ?
 

Luuc Paauw

Occasional Visitor
[email protected]:/$
[email protected]:/$ df
Filesystem 1k-blocks Used Available Use% Mounted on
tmpfs 512 0 512 0% /dev
ubi0:eek:verlay_volume 51032 8988 39400 19% /overlay
overlayfs:/overlay 51032 8988 39400 19% /
/dev/sda1 28318963 1812445 24995658 7% /tmp/mnt/sda1
/dev/sda1 28318963 1812445 24995658 7% /tmp/ftpadmin/shares/T_Drive
tmpfs 512 0 512 0% /hipplay/dev
/dev/sda1 28318963 1812445 24995658 7% /hipplay/home/0external/de7e3252-3d60-d501-107e-32523d60d501
tmpfs 241760 0 241760 0% /hipplay/dev/shm
[email protected]:/$
[email protected]:/$ ll
drwxr-xr-x 2 root root 916 Aug 28 21:38 bin
-rw-r--r-- 1 root root 9 Aug 28 21:40 cloud_version
-rw-r--r-- 1 root root 11 Aug 28 21:40 default_language_version
drwxr-xr-x 8 root root 4700 Aug 28 21:40 dev
drwxr-xr-x 1 root root 656 Aug 31 21:08 etc
-rw-r--r-- 1 root root 1 Aug 28 21:40 firmware_region
-rw-r--r-- 1 root root 29 Aug 28 21:40 firmware_time
-rw-r--r-- 1 root root 12 Aug 28 21:40 firmware_version
-rw-r--r-- 1 root root 6 Aug 28 21:40 hardware_version
drwxr-xr-x 16 root root 1376 Aug 31 11:19 hipplay
lrwxrwxrwx 1 root root 4 Aug 28 21:38 home -> /tmp
-rw-r--r-- 1 root root 35 Aug 28 21:40 hw_id
drwxr-xr-x 1 root root 232 Aug 28 21:38 lib
lrwxrwxrwx 1 root root 8 Aug 28 21:38 mnt -> /tmp/mnt
-rw-r--r-- 1 root root 6 Aug 28 21:40 module_name
drwxr-xr-x 6 root root 1256 Aug 31 20:46 opt
drwxr-xr-x 9 root root 744 Aug 28 21:45 overlay
dr-xr-xr-x 175 root root 0 Jan 1 1970 proc
drwxr-xr-x 15 root root 436 Aug 28 21:40 rom
drwxr-xr-x 1 root root 232 Aug 31 12:42 root
drwxr-xr-x 3 root root 2374 Aug 28 21:38 sbin
dr-xr-xr-x 15 root root 0 Jan 1 1970 sys
drwxrwxrwt 29 root root 2660 Aug 31 21:26 tmp
drwxr-xr-x 1 root root 224 Jun 19 2018 usr
lrwxrwxrwx 1 root root 4 Aug 28 21:38 var -> /tmp
drwxr-xr-x 1 root root 224 Jun 19 2018 www
[email protected]:/$
[email protected]:/$ ll /opt
lrwxrwxrwx 1 root root 25 Aug 31 20:46 bin -> /tmp/mnt/sda1/entware/bin
-rw-r--r-- 1 root root 175 Aug 28 21:45 dirlist
lrwxrwxrwx 1 root root 25 Aug 31 20:46 etc -> /tmp/mnt/sda1/entware/etc
-rw-r--r-- 1 root root 855 Aug 28 21:45 filelist
lrwxrwxrwx 1 root root 26 Aug 31 20:46 home -> /tmp/mnt/sda1/entware/home
drwxr-xr-x 2 root root 224 Jun 19 2018 leafp2p
lrwxrwxrwx 1 root root 25 Aug 31 20:46 lib -> /tmp/mnt/sda1/entware/lib
drwxr-xr-x 4 root root 648 Jun 19 2018 rcagent
drwxr-xr-x 2 root root 296 Jun 19 2018 remote
lrwxrwxrwx 1 root root 26 Aug 31 20:46 root -> /tmp/mnt/sda1/entware/root
lrwxrwxrwx 1 root root 26 Aug 31 20:46 sbin -> /tmp/mnt/sda1/entware/sbin
lrwxrwxrwx 1 root root 27 Aug 31 20:46 share -> /tmp/mnt/sda1/entware/share
lrwxrwxrwx 1 root root 25 Aug 31 20:46 tmp -> /tmp/mnt/sda1/entware/tmp
lrwxrwxrwx 1 root root 25 Aug 31 20:46 usr -> /tmp/mnt/sda1/entware/usr
lrwxrwxrwx 1 root root 25 Aug 31 20:46 var -> /tmp/mnt/sda1/entware/var
-rw-r--r-- 1 root root 45 Aug 28 21:45 version
drwxr-xr-x 3 root root 504 Jun 19 2018 xagent
[email protected]:/$
[email protected]:/$ ls -al /opt/
drwxr-xr-x 6 root root 1256 Aug 31 20:46 .
drwxr-xr-x 1 root root 744 Aug 28 21:45 ..
lrwxrwxrwx 1 root root 25 Aug 31 20:46 bin -> /tmp/mnt/sda1/entware/bin
-rw-r--r-- 1 root root 175 Aug 28 21:45 dirlist
lrwxrwxrwx 1 root root 25 Aug 31 20:46 etc -> /tmp/mnt/sda1/entware/etc
-rw-r--r-- 1 root root 855 Aug 28 21:45 filelist
lrwxrwxrwx 1 root root 26 Aug 31 20:46 home -> /tmp/mnt/sda1/entware/home
drwxr-xr-x 2 root root 224 Jun 19 2018 leafp2p
lrwxrwxrwx 1 root root 25 Aug 31 20:46 lib -> /tmp/mnt/sda1/entware/lib
drwxr-xr-x 4 root root 648 Jun 19 2018 rcagent
drwxr-xr-x 2 root root 296 Jun 19 2018 remote
lrwxrwxrwx 1 root root 26 Aug 31 20:46 root -> /tmp/mnt/sda1/entware/root
lrwxrwxrwx 1 root root 26 Aug 31 20:46 sbin -> /tmp/mnt/sda1/entware/sbin
lrwxrwxrwx 1 root root 27 Aug 31 20:46 share -> /tmp/mnt/sda1/entware/share
lrwxrwxrwx 1 root root 25 Aug 31 20:46 tmp -> /tmp/mnt/sda1/entware/tmp
lrwxrwxrwx 1 root root 25 Aug 31 20:46 usr -> /tmp/mnt/sda1/entware/usr
lrwxrwxrwx 1 root root 25 Aug 31 20:46 var -> /tmp/mnt/sda1/entware/var
-rw-r--r-- 1 root root 45 Aug 28 21:45 version
drwxr-xr-x 3 root root 504 Jun 19 2018 xagent
[email protected]800:/$
[email protected]:/$ cd bin
[email protected]:/bin$
[email protected]:/bin$ opkg --version
opkg version 0.1.8
[email protected]:/bin$
[email protected]:/bin$ /opt/bin/opkg --version
/bin/ash: /opt/bin/opkg: not found
[email protected]:/bin$
[email protected]:/bin$ cd ..
[email protected]:/$
[email protected]:/$ pwd
/
[email protected]:/$
[email protected]:/$ cd opt
[email protected]:/opt$
[email protected]:/opt$ pwd
/opt
[email protected]:/opt$
[email protected]:/opt$ ls -al
drwxr-xr-x 6 root root 1256 Aug 31 20:46 .
drwxr-xr-x 1 root root 744 Aug 28 21:45 ..
lrwxrwxrwx 1 root root 25 Aug 31 20:46 bin -> /tmp/mnt/sda1/entware/bin
-rw-r--r-- 1 root root 175 Aug 28 21:45 dirlist
lrwxrwxrwx 1 root root 25 Aug 31 20:46 etc -> /tmp/mnt/sda1/entware/etc
-rw-r--r-- 1 root root 855 Aug 28 21:45 filelist
lrwxrwxrwx 1 root root 26 Aug 31 20:46 home -> /tmp/mnt/sda1/entware/home
drwxr-xr-x 2 root root 224 Jun 19 2018 leafp2p
lrwxrwxrwx 1 root root 25 Aug 31 20:46 lib -> /tmp/mnt/sda1/entware/lib
drwxr-xr-x 4 root root 648 Jun 19 2018 rcagent
drwxr-xr-x 2 root root 296 Jun 19 2018 remote
lrwxrwxrwx 1 root root 26 Aug 31 20:46 root -> /tmp/mnt/sda1/entware/root
lrwxrwxrwx 1 root root 26 Aug 31 20:46 sbin -> /tmp/mnt/sda1/entware/sbin
lrwxrwxrwx 1 root root 27 Aug 31 20:46 share -> /tmp/mnt/sda1/entware/share
lrwxrwxrwx 1 root root 25 Aug 31 20:46 tmp -> /tmp/mnt/sda1/entware/tmp
lrwxrwxrwx 1 root root 25 Aug 31 20:46 usr -> /tmp/mnt/sda1/entware/usr
lrwxrwxrwx 1 root root 25 Aug 31 20:46 var -> /tmp/mnt/sda1/entware/var
-rw-r--r-- 1 root root 45 Aug 28 21:45 version
drwxr-xr-x 3 root root 504 Jun 19 2018 xagent
[email protected]:/opt$
[email protected]:/tmp/mnt/sda1/entware/etc$
[email protected]:/tmp/mnt/sda1/entware/etc$ cd ..
[email protected]:/opt$
[email protected]:/opt$ cd bin
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$ opkg update
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.
[email protected]:/tmp/mnt/sda1/entware/bin$
[email protected]:/tmp/mnt/sda1/entware/bin$
 

Blade

Occasional Visitor
Hi Voxel, I have upgrade from 68 -> 69 and was unable to SSH to the router. I had to re-create the keys from README. Just checking if this is intended, or is there something that can be done, that would make it work with prev. version keys?

Thanks
 

Voxel

Part of the Furniture
Hi Voxel, I have upgrade from 68 -> 69 and was unable to SSH to the router. I had to re-create the keys from README. Just checking if this is intended, or is there something that can be done, that would make it work with prev. version keys?

Thanks

All such changes are not kept when flashing new firmware unfortunately. You should create your own backup and restore after new firmware flashing.

Example:
https://www.snbforums.com/threads/e...xel-routers-for-sky-uk-etc.41720/#post-353344

Voxel.
 

Blade

Occasional Visitor
OK, no worries .. thanks for the link.

Also liking the new transmission-web, I was trying to install this manually, but glad you updated it in v69 :).
 

pege63

Very Senior Member
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.

That was not GOOD at all!
So the home network is completely opend and all guests have access to all files when its running in AP mode, even if you have a GUEST network on the incoming router?
 

Voxel

Part of the Furniture
That was not GOOD at all!
So the home network is completely opend and all guests have access to all files when its running in AP mode, even if you have a GUEST network on the incoming router?
It is not something like NG specific bug. Not AP provides isolation but router.

Well see e.g.

https://www.snbforums.com/threads/guest-networks-not-isolated-in-ap-mode.33652/

for ASUS in AP mode.

P.S.
You may move your R7800 to router mode (double NAT unfortunately) and enable isolation of your guests.

Voxel.
 

pege63

Very Senior Member
It is not something like NG specific bug. Not AP provides isolation but router.

Well see e.g.

https://www.snbforums.com/threads/guest-networks-not-isolated-in-ap-mode.33652/

for ASUS in AP mode.

P.S.
You may move your R7800 to router mode (double NAT unfortunately) and enable isolation of your guests.

Voxel.

Not even if i have a GUEST network on the INCOMMING router and the AP is connecting to the Router?
So i must let the GUEST connecting to the router GUEST network and NOT to the AP?
 

Voxel

Part of the Furniture
Not even if i have a GUEST network on the INCOMMING router and the AP is connecting to the Router?
So i must let the GUEST connecting to the router GUEST network and NOT to the AP?

When your guests are connected to AP even using GUEST Wi-Fi, AP just sends their traffic to the router (gateway) and router is not aware that this traffic should be somehow processed or isolated from LAN. Similar if your guests would connect by long-long Ethernet cable attached directly to your router: router cannot understand that this Ethernet cable is "guest cable".

P.S.
There could some tricks and complex scheme with VLAN tagging to isolate AP guest network. On the level: do it yourself for yourself and your own environment. But complex and not common case. Changes in AP and in router as well on the level of scripting.


Voxel.
 

3rdOne

Occasional Visitor
I wish I would have found your firmware earlier. I installed the latest build on my R7800 router and it's now solid. Wifi disconnects gone, speed is awesome. The only item I saw that was buggy was accessing the Attached Devices page. It would just display the logon dialog box over and over again. There is a thread about this on the Netgear forums of people having issues of the logon dialog box displaying once they selected the Attached Devices. Occurred after installing NG firmware 62 or 63 Beta. Only happens when QoS is enabled, if it is disabled the problem is gone. I don't need QoS enabled so not a show stopper for me. Just wanted to say, whatever bugs in the NG firmware 63 and 62 causing the logon dialog box to display when QoS is enabled also persist in 1.0.2.69SF. Thank you for your hard work Voxel.
 

Voxel

Part of the Furniture
The only item I saw that was buggy was accessing the Attached Devices page. It would just display the logon dialog box over and over again. There is a thread about this on the Netgear forums of people having issues of the logon dialog box displaying once they selected the Attached Devices. Occurred after installing NG firmware 62 or 63 Beta. Only happens when QoS is enabled, if it is disabled the problem is gone.

Probably it is your case:
https://www.myopenrouter.com/comment/44310#comment-44310

and solution:
https://www.myopenrouter.com/comment/44315#comment-44315

Voxel.
 

Voxel

Part of the Furniture
is entware still working? update gives me 404 error...

Entware is working. Maybe you did not update/upgrade it? Entware was upgraded (Jun)

Code:
/opt/bin/opkg update
/opt/bin/opkg upgrade
/opt/bin/opkg install package_name

If something is still wrong please let me know what concrete package do you try to install. There are 2781 packages in Entware. I cannot test every package installation.

Voxel.
 

Sizzlechest

Regular Contributor
Use case: Laptop which can connect to router by Ethernet or WiFi. Want to ensure the laptop has the same IP address, but that's not an option in the LAN Setup/Address Reservation configuration. Any way to do this?
 

Latest threads

Sign Up For SNBForums Daily Digest

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