I have an USB drive on R7800 and how do I get your autorun script to run after a new firmware update? I haven't installed any addons, just the firmware only.E.g. part of my /mnt/sda1/autorun/scripts/post-mount.sh:
Code:#!/bin/sh . . . # Autorestore from backup if flashing new firmware is detected if [ ! -f /root/.ssh/authorized_keys ]; then cd / tar xf /mnt/optware/backup/root.tar echo "Flashing new firmware is detected. Restore settings from archive." > /tmp/autorun.log fi
I.e. it is better to make a backup storing whole /root directory (once) and to provide "autorestore" as in example above.
root@R7800:/tmp/mnt/sda/root$ df
Filesystem 1k-blocks Used Available Use% Mounted on
tmpfs 512 0 512 0% /dev
ubi0:overlay_volume 51032 9240 39148 19% /overlay
overlayfs:/overlay 51032 9240 39148 19% /
/dev/sda 3916288 164 3916124 0% /tmp/mnt/sda
umount -l /mnt/sda
fdisk /dev/sda
ls -l /dev/sda*
mkfs.ext4 -L optware -O ^64bit /dev/sda1
tune2fs -O ^metadata_csum /dev/sda1
reboot
Thank you so much and appreciate your quick response.Interesting... How could you get this re: /tmp/mnt/sda but not /tmp/mnt/sda1...
Seems, you have to reformat your USB and with ext4 FS. First, fdisk when USB is unmounted:
Code:umount -l /mnt/sda fdisk /dev/sda
delete all partitions on your USB and create the primary partition. fdisk contains some help ("Command (m for help):").
After that you should see as /dev/sda as /dev/sda1
Code:ls -l /dev/sda*
and after that:
Code:mkfs.ext4 -L optware -O ^64bit /dev/sda1 tune2fs -O ^metadata_csum /dev/sda1 reboot
and if you create after reboot /mnt/sda1/autorun/scripts/post-mount.sh file and it will be executable ('chmod +x /mnt/sda1/autorun/scripts/post-mount.sh') it will be executed every time after you reboot your router.
And: add autorestore of your /root/.ssh (but not /mnt/sda/root/.ssh).
Voxel.
Please check this thread:1. I unchecked the PIN for WPS in Advanced->Advanced Setup->Wireless Settings->WPS Settings->Router PIN. Is it all needed or how do I disable WPS completely?
If you do not use Entware:2. In your README, I see that you have mentioned this: "manually remove ReadyCLOUD and Kwilt installations (several reboots might be needed)". I already set the NVRAM variables as you described but how to manually remove ReadyCLOUD and Kwilt?
rm -rf /opt
rm -rf /hipplay
reboot
Thanks again for the response.Please check this thread:
Disable WPS on R7800
Is there a way to completely disable WPS on the R7800? I have already disabled the PIN in the advanced wireless settings, but still would like to completely disable the feature. I'm using Voxel firmware. (Sorry if this has been answered before, the forum won't allow a search for "wps" because...www.snbforums.com
RT-AC87R:
admin@RT-AC87R:/tmp/home/root# uptime
13:22:58 up 5:30, load average: 0.13, 0.13, 0.12
R7800:
root@R7800:~$ uptime
11:17:35 up 7:47, load average: 4.00, 4.01, 4.04
Just the usual streaming/browsing from few devices, maybe around 6 - 8.Hello,
What did you do to load the CPU?
Yes, that's why I thought of switching the router to see whether anything is messed up in my network. Found out that it's Netgear firmware and others are having the same issue too.Mine has the same results too :
root@R7800:/$ uptime
22:14:05 up 7 days, 2:54, load average: 4.15, 4.05, 4.05
That's why it's a bit hot too, 52° almost all the time...
FWIW: I placed a usb powered dual fan laptop cooler underneath my R7800 and the temp never gets that high anymore.The bug is not that the R7800 is using a lot of CPU.
The bug is only that the netgear kernel is calculating the load in a wrong way.
If you'd check the cpu usage with for instance mpstat -P ALL 1 1 then you'll probably see a high idle %
Also a temperature of 52 celcius is pretty oke in my opinion. (also considering that it doesn't have CPU fan)
Mine is usually running above 56c.
And if I really push the cpu load, then it will reach 70c
I second that.FWIW: I placed a usb powered dual fan laptop cooler underneath my R7800 and the temp never gets that high anymore.
I suppose some coolers are more efficient than others.I also use a usb powered dual fan laptop cooler underneath my R7800, but 1) it's a little noisy and my 7800 is in my bedroom, and 2) the temp never goes lower than 51°C, the room temperature is around 19°C at best.
root@HERMES:~$ cat /sys/devices/virtual/thermal/thermal_zone*/temp
43
42
40
40
39
40
42
40
43
39
41
root@HERMES:~$
R7800I've tried many coolers, and the one I kept is relatively quiet. But there is still a little huming but I can live with that
The temps you are showing, aren't they from the Asus router?
Mine are :
root@R7800:/sys/devices/virtual/thermal$ cat thermal_zone*/temp
50
49
49
48
49
48
48
48
49
46
50
But my cooler is not on yet. It's still February, Spring is coming but not yet
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!