GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.13k stars 434 forks source link

I cannot connect via console to custom VM #1668

Closed MoD01 closed 7 years ago

MoD01 commented 7 years ago

I want to connect via telnet to, e.g. Kali Linux or Windows. I get the following, when the console opens:

Last login: Tue Nov 22 20:51:57 on ttys009
mycomputer$ telnet localhost 5007
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
KaliHost-1 console is now available... Press RETURN to get started.

Do I have to start a telnet service on the Kali VM or is this not required ?

I need a way to do it via GNS3 -> right click on VM -> Console

BTW: this works fine for gns3 images from the marketplace.

julien-duponchelle commented 7 years ago

You need to enable the serial console in the OS of the VM

Le mar. 22 nov. 2016 20:59, MoD01 notifications@github.com a écrit :

I want to connect via telnet to, e.g. Kali Linux or Windows. I get the following, when the console opens:

Last login: Tue Nov 22 20:51:57 on ttys009 mycomputer$ telnet localhost 5007 Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. KaliHost-1 console is now available... Press RETURN to get started.

Do I have to start a telnet service on the Kali VM or is this not required ?

I need a way to do it via GNS3 -> right click on VM -> Console

BTW: this works fine for gns3 images from the marketplace.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/GNS3/gns3-gui/issues/1668, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVFXWmOirK5q9f4_Q7JTpUxWzvzEowlks5rA0mdgaJpZM4K54H3 .

MoD01 commented 7 years ago

Ok, thanks for the quick reply 😃 I will try to enable a serial console for Windows + Kali Linux and post my experiences here.

MoD01 commented 7 years ago

For all who have the same problem: A good guide for Kali Linux can be found here : https://www.cyberciti.biz/faq/howto-setup-serial-console-on-debian-linux/

this worked for me