Skip to content

adrazhi/mikrotik-macaddr-tln

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Required libraries
-------------------------------------------------------------------------------
MAC-Telnet requires libpcap and libnet. Installation in Ubuntu GNU/Linux or
any other Debian-based distribution is quite simple:

$ sudo apt-get install build-essential libpcap-dev libnet1 libnet1-dev

Under FreeBSD you will need to compile these libraries from ports:

# cd /usr/ports/net/libnet-devel
# make install
# cd /usr/ports/net/libnet
# make install

Or install some packages with pkg_add ;-)


Compilation
-------------------------------------------------------------------------------
Also easy. Standard libc required. Just type:

$ make clean && make


Discovering
-------------------------------------------------------------------------------
Run mactelnet with device name as an argument. It might take up several seconds
to find all available hardware:

# mactelnet eth0
Discovering Mikrotik routers... (CTRL+C to abort)
00:0d:b9:12:d3:4c  2n_2c2_1_1 4.3 MikroTik up~263days21h x86 0.0.0.0
00:0d:b9:12:d3:4c  2n_2c2_1_1 4.3 MikroTik up~263days21h x86 0.0.0.0


Connecting
-------------------------------------------------------------------------------
Two arguments are required - device name and hardware MAC of previously
discovered remote Mikrotik router.

# mactelnet eth0 00:0d:b9:12:d3:4c
Connecting to 00:0d:b9:12:d3:4c ...
Username: admin
Password: 



About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published