1. instalation
To install dependencies on Debian/Ubuntu based systems:
apt-get install build-essential automake autoconf
Download source tarball, extract, compile and install:
wget http://github.com/haakonnessjoen/MAC-Telnet/tarball/master -O mactelnet.tar.gz
tar zxvf mactelnet.tar.gz
cd haakonness*/
./autogen.sh
./configure
make all install
/etc/mac-telnet/
or
/etc/mactelnetd.users
3. add service
add line mactelnetd in /etc/rc.local
source : https://github.com/haakonnessjoen/MAC-Telnet