FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
1,890 views 4 comments
by
Hi,

I'd like to lookup the MAC address of a remote RU955 device via CLI.

Is the above possible?

Thanks

2 Answers

0 votes
by anonymous

You should try: ifconfig

root@Teltonika-RUT955:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:1E:42:25:3F:D8
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1105 errors:0 dropped:0 overruns:0 frame:0
          TX packets:231 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:170361 (166.3 KiB)  TX bytes:52205 (50.9 KiB)
 

Best answer
by
Thanks,

Is there a way to request this remotely when SSH isnt possible via a UCI SMS command?
by anonymous

If you need MAC address send SMS text message: admin01 monitoring_status

Note: <<admin01>> is default RUT password and should be replaced by your admin password.

0 votes
by anonymous

Hello,

You can SSH into the router and view the ARP cache via shell using the arp or ip neigh commands, depending on which output your prefer. You should have a similar outcome to this;

root@Teltonika-RUT955:~# arp
IP address       HW type     Flags       HW address            Mask     Device
192.168.1.103    0x1         0x2         ac:e2:d3:00:00:00     *        br-lan
192.168.1.151    0x1         0x2         18:d6:c7:00:00:00     *        br-lan
root@Teltonika-RUT955:~# ip neigh
192.168.1.103 dev br-lan lladdr ac:e2:d3:00:00:00 REACHABLE
192.168.1.151 dev br-lan lladdr 18:d6:c7:00:00:00 REACHABLE
by
His this is the MAC addresses of devices connected to the RUT955.

What command gives me the MAC address of the device itself?
by anonymous
If you are just looking for device's own ifconfig should do it.