VT100 emulator on Win7 to Linux Virtualbox

Discussions related to using VirtualBox on Windows hosts.
Post Reply
JohnSmith
Posts: 12
Joined: 26. Oct 2012, 17:26

VT100 emulator on Win7 to Linux Virtualbox

Post by JohnSmith »

Hi,

I am using Windows 7 as host, and I have Linux Red Hat running on VirtualBox. I would like, from Windows, to use any vt100 terminal emulator to connect to Linux. I have already changed the network to bridge, but even though, I am not able to access Linux environment, so, does anyone know how to solve it?

tks.
H.Z.
Posts: 23
Joined: 28. Dec 2012, 16:41
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux
Location: Budapest

Re: VT100 emulator on Win7 to Linux Virtualbox

Post by H.Z. »

Have you got any error message?
Which emulator have you try? I suggest to try PuTTy.
How would you like to access your linux? Via SSH? Telnet? Serial port or something other?
IMHO you try to use ssh. If it's true, then...
- sshd is running?
- it is listening on the bridged interface?
- which user did you use to login? If you tried to login with root, then you must to allow root login in sshd's config.
- what's with linux firewall? If enabled, it can deny to use ssh..
etc...
Could you give some details?
JohnSmith
Posts: 12
Joined: 26. Oct 2012, 17:26

Re: VT100 emulator on Win7 to Linux Virtualbox

Post by JohnSmith »

Hi H.Z,

I am not an expert in Linux, so, let me see if I can answer your questions:

Have you got any error message? --> no, I have no message, but I have no access as well.
Which emulator have you try? I suggest to try PuTTy. --> I am using Putty.
How would you like to access your linux? Via SSH? Telnet? Serial port or something other? --> could be ssh or telnet, what it works first, or what I dont have to change many things in Linux....
IMHO you try to use ssh. If it's true, then... --> yes, I tried to connect to Linux using ssh and telnet, however, it is difficult to knwo the correct IP address. I used ip addr eth0, and I used the first IP that I saw after this command......
- sshd is running? --> yes, it is running....
- it is listening on the bridged interface? --> how do I know that it is working....the internet is being sharing.....
- which user did you use to login? If you tried to login with root, then you must to allow root login in sshd's config. --> I didnt type any user, because there is no prompt to do it,..I think the connection is not completed.....
- what's with linux firewall? If enabled, it can deny to use ssh.. ---> it is enable, but telnet and ssh are set as reliable...


if you have any hints, please let me know....

tks.
H.Z.
Posts: 23
Joined: 28. Dec 2012, 16:41
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: linux
Location: Budapest

Re: VT100 emulator on Win7 to Linux Virtualbox

Post by H.Z. »

JohnSmith wrote:Have you got any error message? --> no, I have no message, but I have no access as well.
Could you ping the guest?

JohnSmith wrote:it is difficult to knwo the correct IP address. I used ip addr eth0, and I used the first IP that I saw after this command......
Ahh... :-)
Start the VM and...
(I assume, you use only one virtual network adapter on the guest)

version one:
- login to guest as root (or other user, then su -, or sudo -i)
- ifconfig eth0
This will show parameters of interface eth0.

version two:
run cmd.exe on host, and
VBoxManage guestproperty enumerate "guest name" | find "Net/0/V4/IP"



JohnSmith wrote:- it is listening on the bridged interface? --> how do I know that it is working....
Login to guest, get a root shell, and run "netstat -lntp | grep ':22' "
You should see something like this:
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 777/sshd
If you see 127.0.0.1:22 instead of 0.0.0.0:22 then try to reconfigure sshd to listen on all interfaces. (I don't know, how can you do it, because I use debian based systems)

JohnSmith wrote:- what's with linux firewall? If enabled, it can deny to use ssh.. ---> it is enable, but telnet and ssh are set as reliable...
If the above hints don't help, then try to temporarily disable firewall on linux!



ps: ha magyar vagy, akkor folytassuk privátban! ;-)
Post Reply