OpenWrt Forum Archive

Topic: Command to see router model using SSH

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello everyone! If I use luci, I can see my router model on first page (for example: Model TP-Link TL-WR741N/ND v4).
But how to see router model using SSH, without luci?

Hi, easily:

root@OpenWrt:/etc/config# cat /proc/cpuinfo
system type             : Qualcomm Atheros QCA9533 ver 2 rev 0
machine                 : TP-LINK TL-WR842N/ND v3
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 432.53
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

Or these alternatives:

root@OpenWrt:~# head -n 4 /tmp/board.json
{
        "model": {
                "id": "netgear,r7800",
                "name": "Netgear Nighthawk X4S R7800"

root@OpenWrt:~# cat /tmp/sysinfo/board_name
netgear,r7800

root@OpenWrt:~# cat /tmp/sysinfo/model
Netgear Nighthawk X4S R7800

Thanks!

The discussion might have continued from here.