GNS3: Port socat pada Ubuntu Image agar bisa di remote di GNS3

From OnnoWiki
Revision as of 08:41, 26 July 2015 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Untuk Image Ubuntu, tampaknya kita akan kesulitan untuk menggunakan telnet di GNS3. Sarann-nya di host tempat GNS3 kita menginstalasi socat

apt-get install socat

Di preference GNS3, bisa di ujicoba,

konsole --new-tab -p tabtitle=%d -e telnet %h %p
xterm -T %d -e 'telnet %h %p' >/dev/null 2>&1 &
gnome-terminal -t %d -e 'telnet %h %p' >/dev/null 2>&1 &
gnome-terminal -t %d -e 'ssh onno@%h' >/dev/null 2>&1 &

Untuk akses ke Ubuntu bisa di ujicoba,

konsole --new-tab -p tabtitle=%d -e socat UNIX-CONNECT:"%s" stdio,raw,echo=0
xterm -T %d -e 'socat UNIX-CONNECT:"%s" stdio,raw,echo=0' > /dev/null 2>&1 &
gnome-terminal -t %d -e 'socat UNIX-CONNECT:"%s" stdio,raw,echo=0' > /dev/null 2>&1 &