Page 1 of 1

mac-telnet from Linux Box

Posted: Tue Jan 29, 2008 4:38 pm
by mangust
Is it possible?
How i can do that?

Re: mac-telnet from Linux Box

Posted: Tue Jan 29, 2008 4:56 pm
by janisk
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)

Re: mac-telnet from Linux Box

Posted: Sat May 10, 2008 2:55 am
by darkmachine
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

Re: mac-telnet from Linux Box

Posted: Mon Oct 12, 2009 3:48 pm
by secret
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...

Re: mac-telnet from Linux Box

Posted: Sat Oct 02, 2010 3:31 pm
by haakon
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

Re: mac-telnet from Linux Box

Posted: Thu Apr 05, 2012 1:00 pm
by savage
*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

Re: mac-telnet from Linux Box

Posted: Sun Dec 02, 2012 3:23 pm
by defaulttrue
just add another "#define htole16(x) (bswap_16(htonl(x)))"
and do "make mactelnet"

./mactelnet <MAC>

Re: mac-telnet from Linux Box

Posted: Thu Dec 13, 2012 5:56 pm
by pikpik

Re: mac-telnet from Linux Box

Posted: Mon Jan 07, 2013 3:00 pm
by Ivoshiee
Are you developer of that code?

Re: mac-telnet from Linux Box

Posted: Sat Apr 26, 2014 2:20 am
by luqasz
https://github.com/haakonnessjoen/MAC-Telnet

under debian and ubuntu just:
apt-get install mactelnet-client

Re: mac-telnet from Linux Box

Posted: Sat Apr 26, 2014 9:05 am
by plisken
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)