NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
I've been using the Orbi RBK50 for over a month, and I set up all my connected devices in Netgear's backend admin, with their names and device types. But I find that the selection of types and icons ...
phands
Jun 26, 2019Aspirant
I managed to do this, and it's not too bad, if you're happy with the command line, but requires telnet access enabled from the hidden debug page at 192.168.1.1/debug.htm, assuming your router is at that IP address.
Once enabled, you can telnet into the router using admin credentials.
The device itype information is stored in the web server directory at /www/device_type.
That directory contains the following.....
lrwxrwxrwx 1 root root 57 Jan 1 2003 Device_Type_Index_Table -> /tmp/media/nand/device-info-table/Device_Type_Index_Table -rw-r--r-- 1 root root 2686 Jun 26 14:56 device type table.json lrwxrwxrwx 1 root root 22 Jan 1 2003 device_type.json -> device type table.json drwxr-xr-x 2 root root 2848 Jun 26 14:35 icon
The file "device type table.json" has the following content as delivered.....
[{"Device type":"Amazon Kindle","Device Index":1,"Icon":"1.jpg"}, {"Device type":"Android Device","Device Index":2,"Icon":"2.jpg"}, {"Device type":"Android Phone","Device Index":3,"Icon":"3.jpg"}, {"Device type":"Android Tablet","Device Index":4,"Icon":"4.jpg"}, {"Device type":"Apple Airport Express","Device Index":5,"Icon":"5.jpg"}, {"Device type":"Blu-ray player","Device Index":6,"Icon":"6.jpg"}, {"Device type":"Bridge","Device Index":7,"Icon":"7.jpg"}, {"Device type":"Cable STB","Device Index":8,"Icon":"8.jpg"}, {"Device type":"Camera","Device Index":9,"Icon":"9.jpg"}, {"Device type":"Router","Device Index":10,"Icon":"10.jpg"}, {"Device type":"DVR","Device Index":11,"Icon":"11.jpg"}, {"Device type":"Gaming Console","Device Index":12,"Icon":"12.jpg"}, {"Device type":"iMac","Device Index":13,"Icon":"13.jpg"}, {"Device type":"iPad","Device Index":14,"Icon":"14.jpg"}, {"Device type":"iPad mini","Device Index":15,"Icon":"15.jpg"}, {"Device type":"iPhone 5/5S/5C","Device Index":16,"Icon":"16.jpg"}, {"Device type":"iPhone","Device Index":17,"Icon":"17.jpg"}, {"Device type":"iPod Touch","Device Index":18,"Icon":"18.jpg"}, {"Device type":"Linux PC","Device Index":19,"Icon":"19.jpg"}, {"Device type":"Mac mini","Device Index":20,"Icon":"20.jpg"}, {"Device type":"Mac Pro","Device Index":21,"Icon":"21.jpg"}, {"Device type":"Mac Book","Device Index":22,"Icon":"22.jpg"}, {"Device type":"Media Device","Device Index":23,"Icon":"23.jpg"}, {"Device type":"Network Device","Device Index":24,"Icon":"24.jpg"}, {"Device type":"Other STB","Device Index":25,"Icon":"25.jpg"}, {"Device type":"Powerline","Device Index":26,"Icon":"26.jpg"}, {"Device type":"Printer","Device Index":27,"Icon":"27.jpg"}, {"Device type":"Repeater","Device Index":28,"Icon":"28.jpg"}, {"Device type":"Satellite STB","Device Index":29,"Icon":"29.jpg"}, {"Device type":"scanner","Device Index":30,"Icon":"30.jpg"}, {"Device type":"Sling box","Device Index":31,"Icon":"31.jpg"}, {"Device type":"Smart phone","Device Index":32,"Icon":"32.jpg"}, {"Device type":"Storage(NAS)","Device Index":33,"Icon":"33.jpg"}, {"Device type":"Switch","Device Index":34,"Icon":"34.jpg"}, {"Device type":"TV","Device Index":35,"Icon":"35.jpg"}, {"Device type":"Tablet","Device Index":36,"Icon":"36.jpg"}, {"Device type":"Unix PC","Device Index":37,"Icon":"37.jpg"}, {"Device type":"Windows PC","Device Index":38,"Icon":"38.jpg"}, {"Device type":"Surface","Device Index":39,"Icon":"39.jpg"}, {"Device type":"Wifi Extender","Device Index":40,"Icon":"40.jpg"}, {"Device type":"Apple TV","Device Index":41,"Icon":"41.jpg"}]
The "icon" directory cotains 41 jpeg images for the devices, and these are referenced from the json file by name.
What I did......
BACK UP THE ORIGINAL JSON FILE by copying it to "device type table.json.ORIG"
Note: the spaces in the file can be avoided by using the link "device_type.json"
Using vi or vim (the editors available in the telnet terminal) I added another line at the end ....
{"Device type":"Air Conditioner","Device Index":42,"Icon":"42.jpg"}]
Don't forget the "]" at the end of the newly added line and to change the "]" at the end of line 41 to a ","
My "device type table.json" file now looks like this.......
cat device_type.json [{"Device type":"Amazon Kindle","Device Index":1,"Icon":"1.jpg"}, {"Device type":"Android Device","Device Index":2,"Icon":"2.jpg"}, {"Device type":"Android Phone","Device Index":3,"Icon":"3.jpg"}, {"Device type":"Android Tablet","Device Index":4,"Icon":"4.jpg"}, {"Device type":"Apple Airport Express","Device Index":5,"Icon":"5.jpg"}, {"Device type":"Blu-ray player","Device Index":6,"Icon":"6.jpg"}, {"Device type":"Bridge","Device Index":7,"Icon":"7.jpg"}, {"Device type":"Cable STB","Device Index":8,"Icon":"8.jpg"}, {"Device type":"Camera","Device Index":9,"Icon":"9.jpg"}, {"Device type":"Router","Device Index":10,"Icon":"10.jpg"}, {"Device type":"DVR","Device Index":11,"Icon":"11.jpg"}, {"Device type":"Gaming Console","Device Index":12,"Icon":"12.jpg"}, {"Device type":"iMac","Device Index":13,"Icon":"13.jpg"}, {"Device type":"iPad","Device Index":14,"Icon":"14.jpg"}, {"Device type":"iPad mini","Device Index":15,"Icon":"15.jpg"}, {"Device type":"iPhone 5/5S/5C","Device Index":16,"Icon":"16.jpg"}, {"Device type":"iPhone","Device Index":17,"Icon":"17.jpg"}, {"Device type":"iPod Touch","Device Index":18,"Icon":"18.jpg"}, {"Device type":"Linux PC","Device Index":19,"Icon":"19.jpg"}, {"Device type":"Mac mini","Device Index":20,"Icon":"20.jpg"}, {"Device type":"Mac Pro","Device Index":21,"Icon":"21.jpg"}, {"Device type":"Mac Book","Device Index":22,"Icon":"22.jpg"}, {"Device type":"Media Device","Device Index":23,"Icon":"23.jpg"}, {"Device type":"Network Device","Device Index":24,"Icon":"24.jpg"}, {"Device type":"Other STB","Device Index":25,"Icon":"25.jpg"}, {"Device type":"Powerline","Device Index":26,"Icon":"26.jpg"}, {"Device type":"Printer","Device Index":27,"Icon":"27.jpg"}, {"Device type":"Repeater","Device Index":28,"Icon":"28.jpg"}, {"Device type":"Satellite STB","Device Index":29,"Icon":"29.jpg"}, {"Device type":"scanner","Device Index":30,"Icon":"30.jpg"}, {"Device type":"Sling box","Device Index":31,"Icon":"31.jpg"}, {"Device type":"Smart phone","Device Index":32,"Icon":"32.jpg"}, {"Device type":"Storage(NAS)","Device Index":33,"Icon":"33.jpg"}, {"Device type":"Switch","Device Index":34,"Icon":"34.jpg"}, {"Device type":"TV","Device Index":35,"Icon":"35.jpg"}, {"Device type":"Tablet","Device Index":36,"Icon":"36.jpg"}, {"Device type":"Unix PC","Device Index":37,"Icon":"37.jpg"}, {"Device type":"Windows PC","Device Index":38,"Icon":"38.jpg"}, {"Device type":"Surface","Device Index":39,"Icon":"39.jpg"}, {"Device type":"Wifi Extender","Device Index":40,"Icon":"40.jpg"}, {"Device type":"Apple TV","Device Index":41,"Icon":"41.jpg"}, {"Device type":"Air Conditioner","Device Index":42,"Icon":"42.jpg"}]
The only changes are at the end. If you get the syntax wrong, the attached devices page won't render properly in your browser, but will still work, so this is a reasonably safe change.
To add the new icon file to the "icon" directory, I used scp from inside the telnet session (you can ssh/scp out from the Orbi, but not in!) to add a new jpeg file. I called it 42.jpg in this case.
Once you have changed the json file and added the icon file, go the attached devices page, select a device to edit, and you will see a new "Air Conditioner" entry at the end of the Device Typre dropdown menu. Select that, and you will see the correct name with the new icon.
This change persists after a reboot of the Orbi, but I don't know if it will survive a power cycle, and I'm sure it won't survive a factory reset.
Hope this helps a bit,
Paul