NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
SLK-Purdue
Mar 22, 2020Luminary
Attached Devices Sorted by IP Number
I have a good number of devices on my home network. I manage then with static DHCP reservations and I wanted to be able to get an Attached Device display in the web ui sorted by IP number. The at...
SLK-Purdue
Mar 22, 2020Luminary
CrimpOn wrote:Considering users have been asking Netgear for this for at least two years, WOW.
For those of us uncertain how Orbi's Linux is different from others we have used, would you mind sharing the procedure used to implement the change? My guess is the process is to (a) make a backup copy of this file in case I screw it up and have to go back, (b) edit the file. AND?????
This probably has to be done with each firmware release.
Thanks
I struggled with that idea when I thought about my original post. My problem is there are too many variable for both tools and skills. For Telnet, I use PuTTY but there are many other good tools. Once you get Telnet working, log in as "admin" with your router password. Then at the prompt type "cd /www" to change directories. I would then "cp DEV_show_devices.htm DEV_show_devices.orig" to create a backup of the original file. Editing is the difficult part. The editor vi isn't the easiest to use. I am open to ideas. Maybe other members have ideas. The best idea, of course, would be to get NETGEAR to make this available in their firmware. :-)
Scott
CrimpOn
Mar 22, 2020Guru - Experienced User
SLK-Purdue wrote:
I struggled with that idea when I thought about my original post. My problem is there are too many variable for both tools and skills. For Telnet, I use PuTTY but there are many other good tools. Once you get Telnet working, log in as "admin" with your router password. Then at the prompt type "cd /www" to change directories. I would then "cp DEV_show_devices.htm DEV_show_devices.orig" to create a backup of the original file. Editing is the difficult part. The editor vi isn't the easiest to use. I am open to ideas. Maybe other members have ideas. The best idea, of course, would be to get NETGEAR to make this available in their firmware. :-)
I use PuTTY as well (love it). Will brush up on vi before attempting this. (Have been using nano with my Raspberry Pi's and Linux Mint machines.) It is really annoying that the Nighthawk line has had the "click on a column" for years. Using different sort routines would not be a serious issue. (If .. then, else or something similar) It's recognizing the column click and setting the selection variable that is WAY beyond me.
I cannot think of any "Downside" to sorting by IP address.
- SW_Mar 22, 2020Prodigy
The "device.keySort("ip")" will consume extra CPU cycles, i.e., CPU cost for sorting. Depending on the nubmer of devices, it may not be noticeable.
- CrimpOnMar 22, 2020Guru - Experienced User
SW_ wrote:The "device.keySort("ip")" will consume extra CPU cycles, i.e., CPU cost for sorting. Depending on the nubmer of devices, it may not be noticeable.
Of course, thanks. If that is indeed the case with my 30+ devices, I can always "go back".
- SLK-PurdueMar 22, 2020Luminary
CrimpOn wrote:
SW_ wrote:The "device.keySort("ip")" will consume extra CPU cycles, i.e., CPU cost for sorting. Depending on the nubmer of devices, it may not be noticeable.
Of course, thanks. If that is indeed the case with my 30+ devices, I can always "go back".
Yes, there is a cost to sorting and there are likely more efficient sorting schemes that could be used. I have about 50 connected devices and the initial screen paint for Attached Devices takes about 10 seconds. That's a price I am willing to pay for the value of the sort. Your mileage and value may vary.
- tomschmidtApr 02, 2020Virtuoso
I like this modification, and I do not think that it adds too much load on the CPU. Unfortunately it does not survive a reboot, but you can save a copy of it to /tmp/mnt/circle for example and then copy it back to /www from there. This even survived a factory reset.
cp -p /www/DEV_show_devices.htm /www/DEV_show_devices.orig
Make the required changes
cp -p /www/DEV_show_devices.htm* /tmp/mnt/circle/
Then when you reboot the router, run this:
cp -p /tmp/mnt/circle/DEV_show_devices.htm /www/
- FURRYe38Apr 02, 2020Guru - Experienced User
Just curious if you have tired Voxels FW? He recently added some sort modification to his FW...
tomschmidt wrote:I like this modification, and I do not think that it adds too much load on the CPU. Unfortunately it does not survive a reboot, but you can save a copy of it to /tmp/mnt/circle for example and then copy it back to /www from there. This even survived a factory reset.
cp -p /www/DEV_show_devices.htm /www/DEV_show_devices.orig
Make the required changes
cp -p /www/DEV_show_devices.htm* /tmp/mnt/circle/
Then when you reboot the router, run this:
cp -p /tmp/mnt/circle/DEV_show_devices.htm /www/
- tomschmidtApr 02, 2020Virtuoso
FURRYe38, I have not tried Voxel's firmware yet, as I still have 4 open tickets with NG on bugs for them to resolve. Each ticket is at L2 and L3 support awaiting their firmware team to fix the bugs that many of us have seen and reported here on the community forum, including the Traffic Meter DST bug.
- CrimpOnApr 02, 2020Guru - Experienced User
tomschmidt wrote:Make the required changes
cp -p /www/DEV_show_devices.htm* /tmp/mnt/circle/
Then when you reboot the router, run this:
cp -p /tmp/mnt/circle/DEV_show_devices.htm /www/
I may have messed something up, but on my Orbi, the file does not have an "s" at the end: i.e.
DEV_shot_device.htm (no "s").
It is grammatically incorrect, which tripped me up several times. My Orbi sorts by IP, so I'm pretty sure that "no s" is correct.
- SLK-PurdueApr 02, 2020Luminary
My bad. No "s" is correct. Will be posting an update very in a few minutes.