Community discussions

MikroTik App
 
ramirez
Member Candidate
Member Candidate
Topic Author
Posts: 157
Joined: Sun May 12, 2013 9:48 pm

Neighbor discovery other than through WinBox?

Thu Dec 12, 2019 8:10 pm

Greetings to everyone!

Is there a way through Linux terminal or Webfig to configure an out-of-the-box M.T. router by using the "Mac address access" as we do it from WinBox?

On a remote location I have a raspberry Pi connected on the ISP's VDSL modem router. On that modem-router, that by the way runs the DHCP server, I also connect over Ethernet the M.T. router.

The thing is that through WinBox you can access M.T. through Mac address and make appropriate changes e.g. DHCP client in order to change from 192.168.88.1 to whatever, and then log in through Webfig to further adjust in order to grant remote access over www for WinBox. But without WinBox I am unaware of a way thus the question. If the LAN is for example 192.168.0.0/24 and my Linux device is 192.168.0.99 and M.T. is 192.168.88.1 how do I activate on it DHCP client or at least give it a static I.P. e.g. 192.168.0.100 (through the Linux device)?

The above concerns me in the event of factory reset for whatever reason or hardware failure and not being able to go to the location to reprogram it. I would be able to send someone there but only for the person to replace the "damaged" M.T. with a new one and power it on, just that.

Thank you in advance!
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13031
Joined: Thu Mar 03, 2016 10:23 pm

Re: Neighbor discovery other than through WinBox?

Thu Dec 12, 2019 8:30 pm

Using a working RB: /tool mac-scan <interface> and /tool mac-telnet

ROS version on both devices has to be fairly similar ...

mac-telnet protocol is not a public one (might well be MT proprietary) and implementations for non-ROS are scarce. There is an implementation for linux, but it seems outdated and may not work for connecting to RBs running recent ROS versions ...
 
dmitris
Member Candidate
Member Candidate
Posts: 130
Joined: Mon Oct 09, 2017 1:08 pm

Re: Neighbor discovery other than through WinBox?

Thu Dec 12, 2019 8:40 pm

This should work
https://robert.penz.name/1412/accessing ... linux-box/

P.S

Just checked on my Raspberry (debian 10). Working like a charm

upd:
Seems that this utility not working with latest ROS
https://github.com/haakonnessjoen/MAC-Telnet/issues/59
 
ramirez
Member Candidate
Member Candidate
Topic Author
Posts: 157
Joined: Sun May 12, 2013 9:48 pm

Re: Neighbor discovery other than through WinBox?

Fri Dec 13, 2019 2:36 pm

Thank you both! Unfortunately There is no other RB in the remote location that I can remotely access :-(

Also I tried the mactelnet way and although I was able to discover it, because I have Installed the latest update, it does not login and returns "Login failed, incorrect username or password
Connection closed." although the input credentials are correct.

If anything else comes to mind please let me know, I will appreciate it very much .

Who is online

Users browsing this forum: johnson73, Skydryl, wispmikrotik and 86 guests