What's new

Kamoj Kamoj debug-page add-on for Netgear R7800 X4S running Voxel Firmware

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

kamoj

Very Senior Member
Nota Bene: This add-on is obsolete. Please use new version at:
https://www.snbforums.com/threads/kamoj-information-add-on-v4-for-netgear-r7800-x4s-and-r9000-x10-temperatures-a-o.55063/

About:

This is the first in a series of Kamoj add-ons for the Netgear R7800 X4s Router running Voxel Firmware.

This add-on adds information (and corrects some) on the routers "debug-page":
http://www.routerlogin.net/debug.htm (Same page as where you enable Telnet)

Pre-requisites:
- Voxel FW, preferrably version 1.0.2.54SF or later.
- A telnet client program.
- Internet connection (To download the 10KB add-on package).

How to install:
#1. Logon (From your web-browser):
http://www.routerlogin.net

#2. Make a backup of current settings (Not needed, but easyily done):
Advanced, Administration, Backup Settings, Back Up, Save

#3. Enable Telnet:
http://www.routerlogin.net/debug.htm
Set a tick in the box for "Enable Telnet". (No apply needed)

#4. Login to the router using telnet:
Code:
telnet www.routerlogin.net

#5. Download the add-on:
Code:
wget --no-check-certificate https://www.voxel-firmware.com/Downloads/kamoj-debug-page_180801-222749-1_ipq806x.ipk

#6. Install:
Code:
/bin/opkg install --force-overwrite kamoj-debug-page_180801-222749-1_ipq806x.ipk

#7. Finish the installation with a reboot:
Code:
reboot

#8. To see the result, open your web-browser and again go to:
http://www.routerlogin.net/debug.htm

DONE!

-----------------------------------------------------------------------------
- PACKAGE CONTENT
-----------------------------------------------------------------------------
Corrected Content in Netgear debug page:

CPU Load (Total and per kernel)
Flash Usage

Additional Content in debug page:
NVRAM Usage
CPU Governors and Frequencies
Temperatures CPU / WiFi0 / WiFi1 (Current + Max since boot)
WiFi (Transmit power and RSSI e.g.)
OpenVPN Client information
DNSCrypt Proxy Servers information
Congestion Control information
NTP synchronized information. (Time to boot, time to synchronize time)
DNS status (Incl. ping-time)
Internet connection status (Incl. ping-time)
System Version Information (Linux and Voxel)

Additional fixes:
Show idle/sleeping devices in "Attached Devices" and "Access Control".

Future:
You are welcome to wish for more information to be added,
or even other add-ons.

Next add-on planned to be released is "By-pass OpenVPN for specific devices".
This "Policy based routing lite" will be fast and easy to control with original GUI!

Thanks:
To Voxel for all help and support he's given to many people during long time.
He is a true professional, higly intelligent, kind, humble and supportive person.
Thank you - also for hosting my add-on!

To thiggins for hosting and moderating this nice place on the web!

Yours sincerely,
Kamoj

PS
#Uninstall/Removal:
/bin/opkg remove kamoj-debug-page

#Finish the uninstall with a reboot:
reboot

PPS
If you get a problem with the missing scroll bar, as reported by blundersdome:
sed -i s/no/yes/g /www/debug.htm
 
Last edited:
Just tried it and it looks great! Thanks for putting this together. One quick thing, though - the status page isn't creating a scroll bar so if you have a lower resolution screen (mine is 1600x900) currently the only way to see the entire page is to zoom out on the page. Tested in Firefox, Chrome, and IE and it's the same in all three - no scroll bar and have to zoom out to see everything.
 
Just tried it and it looks great! Thanks for putting this together. One quick thing, though - the status page isn't creating a scroll bar so if you have a lower resolution screen (mine is 1600x900) currently the only way to see the entire page is to zoom out on the page. Tested in Firefox, Chrome, and IE and it's the same in all three - no scroll bar and have to zoom out to see everything.

Run this command when logged in with telnet, to get the scroll bar:
sed -i s/no/yes/g /www/debug.htm
 
Perfect - that did the trick. Thanks again for your help and your work!

You are welcome!
I'm just trying to learn from Voxel.

What temperatures do you get?
And how long before you get ntp synched?
Just curious ;-)
 
You are welcome!
I'm just trying to learn from Voxel.

What temperatures do you get?
And how long before you get ntp synched?
Just curious ;-)

Temps look really good at 54/54/48 (ambient is around 24).

NTP Sync line says this:

Boot sequence: 1527814803 seconds. Time then synchronized after 9 seconds. Synch indicators: (F)
 
Temps look really good at 54/54/48 (ambient is around 24).
NTP Sync line says this:
Boot sequence: 1527814803 seconds. Time then synchronized after 9 seconds. Synch indicators: (F)
Thank you very much. Very kind of you to report back!
 
Whats the chances Voxel could just add this to his regular firmware ? Then no need for two installs, maybe even add a separate tab in the UI to access the information similar to Merlins builds for Asus. Thanks Voxel and Kamoj for your work.

I do not exclude such chances in the future. But there are several reasons to make it as add-on now:

1. kamoj deserves his own thread and “likes” for his part of job. It required from my side several months when I was pushing him to release his useful add-ons. Now I hope we can get something good from him much faster.

2. It is not necessary to wait for a new release of my firmware but to use it right now, during this damn heat. Release is very time consuming stuff…

3. We all here are something like “advanced users”. Most of ordinary users just do not need anything like that. For example my own “add-on” to use USB WebCam: how many people are using it? Or LTE modem as a WAN… Or Entware. For example average people are using their computers and do not bother to get info: what is the current temperature of CPU and RAM load… They just answer e-mails, browse internet, type their documents.

4. Well, and last but not least. Scheme with add-ons/plugins implies distributed development. My firmware is just my hobby. I cannot be busy with this all the time. The same with kamoj. We are from different countries BTW. But. We can just do not wait each other to release something good for you.


Voxel.
 
Great addon !
Temperatures CPU / WiFi0 / WiFi1 66 / 66 / 67
Room temp 27 (C)
Even on big screens installation of scroll bar is needed.
Very good Kamoj !

Upd...
after a few hours of wifi downloading ...
Temperatures CPU / WiFi0 / WiFi1 67 / 67 / 78 (Top=72 / 69 / 83) (Critical Max=80 / 75 / 75) °C
Thinks are getting pretty hot...
 
Last edited:
Even on big screens installation of scroll bar is needed.

Temperatures CPU / WiFi0 / WiFi1 67 / 67 / 78 (Top=72 / 69 / 83) (Critical Max=80 / 75 / 75) °C
Thinks are getting pretty hot...

Thank you for feedback!

Things like that keep me and Voxel going.
Without acknowledgement our work would cease.

The scroll bar will of course be in the next add-on update/bug-fix.
(There are new things coming, as well as enhanced stability for different configurations).

About the "critical temperatures":
I have not found any reliable source or statement what is "too high".
The values "Critical Max=80 / 75 / 75" comes from discussions with Voxel and unused code for the router that
is intended to control Fan speed. That one uses max fan speed from 75 deg C.

Also they are used by another - not released - add-on, that adds a "Turbo"-mode to the R7800.
The Turbo mode is switched off when a critical temperature is reached.
My experiments shows that temperature falls very fast when Turbo is off.
So now you know about the temperatures...
 
I have my R7800 on a laptop pad which has a cooling fan in the bottom so I haven't seen these more extreme temps!
 
After running a couple of days:

Temperatures CPU / WiFi0 / WiFi1 44 / 36 / 43 (Top=53 / 45 / 48)
 
There might have a minor bug on WiFi 2.4GHz channel display, it shows CH:0 if no client associated, 5GHz channel works even no client is connected.
 
Thank you for reporting!
Can you issue this command from the router and send me the result, please:
Code:
nvram show | grep -E "wla_channel|wl_channel"
 
wla_channel=149
wl_channel=0

but at this time, debug.htm does showing correct 2.4GHz channel even when I connected at 5GHz channel, seems there is certain combination of the condition(s) leads to channel number as '0'

updated: after few times of refresh my debug.htm, with Telnet Enabled, and telnet session kept (not sure if this is the combination), CH:0 is now back on my debug.htm

2nd update: once I have another client connected at 2.4GHz channel, it shows correctly again. Might related to if there is client connected.

Maybe getting Frequency from iwconfig and convert it to channel number would give proper info.
 
Last edited:

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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

Members online

Top