Community discussions

MikroTik App
 
mangust
Member Candidate
Member Candidate
Topic Author
Posts: 224
Joined: Thu Jun 14, 2007 11:14 am

mac-telnet from Linux Box

Tue Jan 29, 2008 4:38 pm

Is it possible?
How i can do that?
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: mac-telnet from Linux Box

Tue Jan 29, 2008 4:56 pm

this is not possible as there is no such software available for linux

only thing that is possible is to connect to router and the from that router connect to your other routeres using mac-telnet (the way i do that myself)
 
darkmachine
just joined
Posts: 1
Joined: Sat May 10, 2008 2:51 am

Re: mac-telnet from Linux Box

Sat May 10, 2008 2:55 am

Neighbor viewer, downloadable from the the Mikrotik website, has MAC-telnet, only for windows. I run linux, so I use Wine. This works perfectly. Under Ubuntu

sudo apt-get install wine

give it a try
 
User avatar
secret
just joined
Posts: 3
Joined: Wed Sep 02, 2009 7:38 pm
Location: Brazil

Re: mac-telnet from Linux Box

Mon Oct 12, 2009 3:48 pm

I have two network cards on my box. The mac telnet utility tries to connect using the wrong card network.

Is there a command line or way to bind the mac telnet to the correct card?

The neighbor viewer utility sees the neighbor but the mac telnet doesn't work because of the two cards...
 
haakon
just joined
Posts: 19
Joined: Sat May 02, 2009 6:02 pm

Re: mac-telnet from Linux Box

Sat Oct 02, 2010 3:31 pm

As this is a answer to an old post, this is just for future references:

You could either use Wine to run MikroTik's own windows tools in Linux.
Or you could try out my open source Mac-Telnet application for linux:
http://github.com/haakonnessjoen/MAC-Telnet
 
savage
Forum Guru
Forum Guru
Posts: 1269
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Re: mac-telnet from Linux Box

Thu Apr 05, 2012 1:00 pm

*very* interested in this.... But

RHEL4:
cc -Wall -c interfaces.c
cc -Wall -c protocol.c
protocol.c: In function `parse_mndp':
protocol.c:369: warning: implicit declaration of function `le32toh'
cc -Wall -o macping macping.c interfaces.o protocol.o
protocol.o(.text+0x964): In function `parse_mndp':
: undefined reference to `le32toh'
collect2: ld returned 1 exit status
make: *** [macping] Error 1

#include <byteswap.h>
#define htole32(x)      (bswap_32(htonl(x)))
#define le32toh(x)      (ntohl(bswap_32(x)))
in protocol.c and mactelnet.c sorted out le32toh. But mactelnet.c still errors...
mactelnet.c: In function `send_auth':
mactelnet.c:193: warning: implicit declaration of function `htole16'
/tmp/ccyZiFO3.o(.text+0x4ad): In function `send_auth':
: undefined reference to `htole16'
/tmp/ccyZiFO3.o(.text+0x4c5): In function `send_auth':
: undefined reference to `htole16'
/tmp/ccyZiFO3.o(.text+0x5a3): In function `sig_winch':
: undefined reference to `htole16'
/tmp/ccyZiFO3.o(.text+0x5b5): In function `sig_winch':
: undefined reference to `htole16'
collect2: ld returned 1 exit status
--
Chris
 
defaulttrue
just joined
Posts: 1
Joined: Tue Mar 29, 2011 10:43 pm

Re: mac-telnet from Linux Box

Sun Dec 02, 2012 3:23 pm

just add another "#define htole16(x) (bswap_16(htonl(x)))"
and do "make mactelnet"

./mactelnet <MAC>
 
pikpik
Frequent Visitor
Frequent Visitor
Posts: 80
Joined: Wed Jan 20, 2010 11:25 am

Re: mac-telnet from Linux Box

Thu Dec 13, 2012 5:56 pm

 
Ivoshiee
Member
Member
Posts: 483
Joined: Sat May 06, 2006 4:11 pm

Re: mac-telnet from Linux Box

Mon Jan 07, 2013 3:00 pm

Are you developer of that code?
 
User avatar
luqasz
Member Candidate
Member Candidate
Posts: 101
Joined: Thu Aug 16, 2007 9:53 pm
Location: Poland

Re: mac-telnet from Linux Box

Sat Apr 26, 2014 2:20 am

https://github.com/haakonnessjoen/MAC-Telnet

under debian and ubuntu just:
apt-get install mactelnet-client
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: mac-telnet from Linux Box

Sat Apr 26, 2014 9:05 am

I have also troubles with winbox, i have wine installed and winbox works on it but the mac coms not if i click on the three dots.

In windows works that fine.

Please make a winbox on Linux this shal us help.


this is not possible as there is no such software available for linux

only thing that is possible is to connect to router and the from that router connect to your other routeres using mac-telnet (the way i do that myself)