Community discussions

MikroTik App
 
Sayrax
just joined
Topic Author
Posts: 24
Joined: Mon Jun 26, 2017 4:44 pm
Location: Kharkiv
Contact:

MacTelnet-Client

Sun Apr 19, 2020 11:16 pm

Good afternoon! Faced a problem. installed mactelnet-client. I see routers and switches. But I can’t connect. For winbox, everything works. But the console is not. I tried both for Ubuntu and CentOS and install from source
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11381
Joined: Thu Mar 03, 2016 10:23 pm

Re: MacTelnet-Client

Sun Apr 19, 2020 11:32 pm

Currently available mactelnet-client doesn't support connections to ROS version 6.43 or newer. That ROS version brought change in how passwords are stored and change in logon procedures had to follow. mactelnet-client doesn't seem to be maintained, hence necessary change never got implemented.

BTW, same change affected winbox as well, versions 3.13 or older can't connect to recent ROS versions.

Many ROS admins use ssh for console connections for routine every day work.
Last edited by mkx on Sun Apr 19, 2020 11:35 pm, edited 1 time in total.
 
User avatar
eworm
Forum Guru
Forum Guru
Posts: 1070
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: MacTelnet-Client

Sun Apr 19, 2020 11:35 pm

It is maintained, but not all details about authentication are available. Read this for details:
https://github.com/haakonnessjoen/MAC-Telnet/issues/42
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11381
Joined: Thu Mar 03, 2016 10:23 pm

Re: MacTelnet-Client

Sun Apr 19, 2020 11:49 pm

It is maintained, but not all details about authentication are available. Read this for details:
https://github.com/haakonnessjoen/MAC-Telnet/issues/42

Thanks for the link. Makes things much more clear.
 
Sayrax
just joined
Topic Author
Posts: 24
Joined: Mon Jun 26, 2017 4:44 pm
Location: Kharkiv
Contact:

Re: MacTelnet-Client

Mon Apr 20, 2020 4:48 am

Thanks for the link. BUT it was these sources that I installed. Winbox is not suitable for me, I am a Linux user, and wine is not very fond of.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11381
Joined: Thu Mar 03, 2016 10:23 pm

Re: MacTelnet-Client

Mon Apr 20, 2020 7:22 pm

Winbox is not suitable for me, I am a Linux user, and wine is not very fond of.

So why don't you use ssh to access routers? mactelnet has one single function which ssh doesn't: connectivity over MAC, which comes handy when IP setup gets south. But hopefully that's not very often and I (being a linux/console nerd myself) resort to using winbox in such case (runs under linux / wine just fine). On the other hand ssh connectivity works over routed networks while mactelnet (using MAC directly) doesn't.
 
Sayrax
just joined
Topic Author
Posts: 24
Joined: Mon Jun 26, 2017 4:44 pm
Location: Kharkiv
Contact:

Re: MacTelnet-Client

Tue Apr 21, 2020 8:10 am

Winbox is not suitable for me, I am a Linux user, and wine is not very fond of.

So why don't you use ssh to access routers? mactelnet has one single function which ssh doesn't: connectivity over MAC, which comes handy when IP setup gets south. But hopefully that's not very often and I (being a linux/console nerd myself) resort to using winbox in such case (runs under linux / wine just fine). On the other hand ssh connectivity works over routed networks while mactelnet (using MAC directly) doesn't.
I am not a big fan of windows applications. I am using SSH. Having received the router, I immediately clean out the config. Naturally, access disappears. Therefore, the problem.
 
User avatar
eworm
Forum Guru
Forum Guru
Posts: 1070
Joined: Wed Oct 22, 2014 9:23 am
Location: Oberhausen, Germany
Contact:

Re: MacTelnet-Client

Tue Apr 21, 2020 8:39 am

So why don't you use ssh to access routers? mactelnet has one single function which ssh doesn't: connectivity over MAC, which comes handy when IP setup gets south. But hopefully that's not very often and I (being a linux/console nerd myself) resort to using winbox in such case (runs under linux / wine just fine). On the other hand ssh connectivity works over routed networks while mactelnet (using MAC directly) doesn't.
Of course we use SSH for daily work. But "not very often" is still a valid case, for example when cleaning a board with "/system reset-configuration no-defaults=yes".

Running Winbox from Wine is fine, but not always a choice: Sometime you have a server in the same segment where you do install neither graphical environment nor wine.
Luckily another Mikrotik is available very often to do the job. :wink:

Anyway, a working mac-telnet from linux terminal would be very handy.
Mikrotik, please share information about authentication mechanism. You do not need to provide any code, just share that information!
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11381
Joined: Thu Mar 03, 2016 10:23 pm

Re: MacTelnet-Client

Wed Apr 22, 2020 12:16 am

Anyway, a working mac-telnet from linux terminal would be very handy.
Mikrotik, please share information about authentication mechanism. You do not need to provide any code, just share that information!
+1
 
ssalonen
just joined
Posts: 6
Joined: Sun Mar 01, 2020 7:43 pm

Re: MacTelnet-Client

Fri Apr 09, 2021 7:30 pm

I know this is a quite a complicated workaround but helped me after I lost L3 connectivity and was looking for L2 access via mactelnet.

I happened to have raspberry pi on the site. By spinning up virtual CHR router on the raspberry pi (x86-64 emulated via qemu) I was able to access the router using ROS mactelnet. Details in viewtopic.php?f=15&t=165332&p=852393#p852393

It would have been so much easier if mactelnet (which is available to many platforms and architectures) would work with the latest ROS and the login mechanism...
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18959
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: MacTelnet-Client

Fri Apr 09, 2021 8:58 pm

Anyway, a working mac-telnet from linux terminal would be very handy.
Mikrotik, please share information about authentication mechanism. You do not need to provide any code, just share that information!
+1
Avatar for mkx!!
mkx.jpg

If you poke him hard enough he falls over. ;-)
You do not have the required permissions to view the files attached to this post.
 
mada3k
Long time Member
Long time Member
Posts: 682
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Re: MacTelnet-Client

Fri Apr 09, 2021 10:17 pm

mactelnet is wonderfull when L3 has been messed up. A simple Linux client would be handy indeed.
 
User avatar
berisz
newbie
Posts: 43
Joined: Tue Dec 12, 2017 12:50 am

Re: MacTelnet-Client

Tue Apr 20, 2021 10:36 am

+1
A simple Linux CLI application is required similar to Windows terminal.exe
https://mikrotik.com/download/neighbour.zip

Who is online

Users browsing this forum: diasdm, MrBrick, SMARTNETTT and 73 guests