1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

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!

command line method to list device names

Discussion in 'Asuswrt-Merlin' started by akb, Jul 11, 2019.

  1. akb

    akb Regular Contributor

    Joined:
    Sep 25, 2016
    Messages:
    122
    I can not seem to find a method to retreive device names on my ac88u. running arp -a shows ip, address, and network, but not the device name. I seen in other posts arp -a will also show the device name, so something most be different with the ac88u. Is there a nvram get command to list the names?

    Ideally I am looking for a command that will show the following for my ac88u
    1.) Device Name
    2.) Mac Adress
    3.) IP Address
    4.) Network Connection
    5.) How long it has been connected

    Many thanks, sorry for multiple posts with questions, but I am really appreciating the great responses!
     
  2. ColinTaylor

    ColinTaylor Part of the Furniture

    Joined:
    Mar 31, 2014
    Messages:
    8,837
    Location:
    UK
    There's no reliable way to get that information, especially the connection time. But "arp -a" ought to return the host names assuming it's in the router's DNS. Have you installed a different version of arp?
    Code:
    # /sbin/arp -a
    cpc83661-xxxxxx.net (82.28.xxx.yyy) at 00:01:5c:7a:fa:47 [ether]  on vlan2
    H49N5700.home.lan (192.168.1.86) at 64:6e:69:2b:c8:0d [ether]  on br0
    Stream-83i.home.lan (192.168.1.95) at 00:22:61:ab:ab:c2 [ether]  on br0
    PS4.home.lan (192.168.1.78) at b0:05:94:25:d8:b3 [ether]  on br0
    Anns-iPad.home.lan (192.168.1.40) at 4c:b1:99:a1:60:c0 [ether]  on br0
    zen.home.lan (192.168.1.238) at 94:de:80:c5:79:52 [ether]  on br0
     
  3. Jack Yaz

    Jack Yaz Part of the Furniture

    Joined:
    Apr 20, 2017
    Messages:
    2,296
    Check that using dnsmasq as a caching resolver isn't disabled in tools
     
    ColinTaylor likes this.
  4. akb

    akb Regular Contributor

    Joined:
    Sep 25, 2016
    Messages:
    122
    :p Doh! issue resolved, thank you!
     
    Jack Yaz likes this.