Networking Forums

Networking Forums > Computer Networking > Linux Networking > Hyperterminal vs command line telnet

Reply
Thread Tools Display Modes

Hyperterminal vs command line telnet

 
 
Joe Bramblett, KD5NRH
Guest
Posts: n/a

 
      07-20-2004, 11:16 PM
Why should it matter?
Using XP Pro to connect to a Debian box. In Hyperterminal, I get the login
prompt, so I know data has been passed, but that's it. I can't seem to
make it do anything from there, and it eventually times out. Command line
telnet to the same box works fine. Is there a difference between the two?
Also, when it is doing this, remote X login via Cygwin never connects.

Both hyperterm and Cygwin will sometimes work, but there doesn't seem to be
any rhyme or reason to when they work or fail. Am I missing something
obvious?

FWIW, the Debian box is plugged into a WAP, and the XP box has both
ethernet and wireless to the same router. I've tried only using one
connection with the other disabled, but both seem to exhibit the same
behavior.

 
Reply With Quote
 
 
 
 
Brendon Caligari
Guest
Posts: n/a

 
      07-21-2004, 12:00 AM

"Joe Bramblett, KD5NRH" <(E-Mail Removed)> wrote in message
news:Xns952CAFC55E9AAkd5nrhyahoocom@38.144.126.103 ...
> Why should it matter?
> Using XP Pro to connect to a Debian box. In Hyperterminal, I get the

login
> prompt, so I know data has been passed, but that's it. I can't seem to
> make it do anything from there, and it eventually times out. Command line
> telnet to the same box works fine. Is there a difference between the two?
> Also, when it is doing this, remote X login via Cygwin never connects.
>
> Both hyperterm and Cygwin will sometimes work, but there doesn't seem to

be
> any rhyme or reason to when they work or fail. Am I missing something
> obvious?
>
> FWIW, the Debian box is plugged into a WAP, and the XP box has both
> ethernet and wireless to the same router. I've tried only using one
> connection with the other disabled, but both seem to exhibit the same
> behavior.
>


Try PuTTY for telnet / ssh

http://www.chiark.greenend.org.uk/~sgtatham/putty/


B


 
Reply With Quote
 
Joe Bramblett, KD5NRH
Guest
Posts: n/a

 
      07-21-2004, 11:54 AM
"Brendon Caligari" <(E-Mail Removed)> wrote in
news:40fda401$0$58815$(E-Mail Removed):


> Try PuTTY for telnet / ssh
>
> http://www.chiark.greenend.org.uk/~sgtatham/putty/


Well, that seems to help somewhat, but it stll leaves me wondering what's
going on with the other stuff.

 
Reply With Quote
 
Brendon Caligari
Guest
Posts: n/a

 
      07-21-2004, 01:23 PM

"Joe Bramblett, KD5NRH" <(E-Mail Removed)> wrote in message
news:Xns952D3C1DAC8C5kd5nrhyahoocom@38.144.126.109 ...
> "Brendon Caligari" <(E-Mail Removed)> wrote in
> news:40fda401$0$58815$(E-Mail Removed):
>
>
> > Try PuTTY for telnet / ssh
> >
> > http://www.chiark.greenend.org.uk/~sgtatham/putty/

>
> Well, that seems to help somewhat, but it stll leaves me wondering what's
> going on with the other stuff.
>


that makes two of us


 
Reply With Quote
 
Juhan Leemet
Guest
Posts: n/a

 
      07-22-2004, 12:29 AM
On Wed, 21 Jul 2004 10:54:25 +0000, Joe Bramblett, KD5NRH wrote:
> "Brendon Caligari" <(E-Mail Removed)> wrote in
> news:40fda401$0$58815$(E-Mail Removed):
>
>> Try PuTTY for telnet / ssh
>>
>> http://www.chiark.greenend.org.uk/~sgtatham/putty/

>
> Well, that seems to help somewhat, but it stll leaves me wondering what's
> going on with the other stuff.


Who knows? Busted app? I've read that Solaris users haven't been happy
with Hyperterm serial line connections either. Maybe it's flakey? It was a
demo, wasn't it? I seem to recall that on OS/2 they gave you a demo
Hyperterm and lots of pestering (popups?) to upgrade to the "real product".

I also use PuTTY. It's a good habit to get into using ssh. Telnet is a
security risk, since it sends username & password in cleartext! (ftp too!)

--
Juhan Leemet
Logicognosis, Inc.

 
Reply With Quote
 
Robert E A Harvey
Guest
Posts: n/a

 
      07-22-2004, 01:48 AM
"Joe Bramblett, KD5NRH" <(E-Mail Removed)> wrote in message news:<Xns952CAFC55E9AAkd5nrhyahoocom@38.144.126.10 3>...
> Why should it matter?
> Using XP Pro to connect to a Debian box. In Hyperterminal, I get the login
> prompt, so I know data has been passed, but that's it. I can't seem to
> make it do anything from there, and it eventually times out. Command line
> telnet to the same box works fine. Is there a difference between the two?

Well, the obvious one is that hyperterminal is serial, telnet is
ethernet.
Yes, you get the login prompt, but you don't know if you are sending
anything in the other direction.

one trick is to run cu from the debian box, to the same serial port.
cu -p /dev/ttyS0 -s 9600

then you can type on both machines and see what happens on the other.

Things to watch: handshake lines - set hyperterminal to handshake
'none'.


> Also, when it is doing this, remote X login via Cygwin never connects.

Do you mean it does otherwise? I'd check you are setting xhost + on
cygwin - and giving it time to work - before attempting to connect.
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      07-23-2004, 02:54 AM
On 20 Jul 2004, Joe Bramblett, KD5NRH <(E-Mail Removed)> wrote:
> Why should it matter?
> Using XP Pro to connect to a Debian box. In Hyperterminal, I get the login
> prompt, so I know data has been passed, but that's it. I can't seem to
> make it do anything from there, and it eventually times out. Command line
> telnet to the same box works fine. Is there a difference between the two?
> Also, when it is doing this, remote X login via Cygwin never connects.


Hyperterminal (or minicom in Linux) uses a serial link (like null modem
cable or direct shell dialup). Typically you set up a getty of some sort
on the destination to handle the login. There is no networking (tcp/ip)
for such a connection, so X programs would not work on a direct shell
login.

Telnet (or ssh) connect over tcp/ip (ethernet connection). Putty is a
Windows ssh (or telnet) client (ssh is much more secure, especially when
using wireless, or public network like internet).

> Both hyperterm and Cygwin will sometimes work, but there doesn't seem to be
> any rhyme or reason to when they work or fail. Am I missing something
> obvious?
>
> FWIW, the Debian box is plugged into a WAP, and the XP box has both
> ethernet and wireless to the same router. I've tried only using one
> connection with the other disabled, but both seem to exhibit the same
> behavior.


You do not mention anything about a serial or modem connection, or
configuring a getty in /etc/inittab for such a connection, so I would be
surprised if Hyperterminal worked at all (except maybe to chat AT codes to
a local modem on its own box). The Text-Terminal-HOWTO explains this.

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
Joe Bramblett, KD5NRH
Guest
Posts: n/a

 
      07-23-2004, 03:52 AM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(E-Mail Removed) (David Efflandt) wrote in
news:(E-Mail Removed):

> You do not mention anything about a serial or modem connection, or
> configuring a getty in /etc/inittab for such a connection, so I
> would be surprised if Hyperterminal worked at all (except maybe to
> chat AT codes to a local modem on its own box). The
> Text-Terminal-HOWTO
> explains this.


Hyperterminal has an option in the connection properties for TCP/IP
connection.

Interestingly, everything seems to be working now, and the only thing
that's changed is that I rebooted the Linux box today. Hyperterm
does fine, if a bit slow, PuTTY ssh works fine, and Cygwin popped
right up without any real delay. Now I just have to figure out what
the heck was changed.


-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBQQB9WaauO3Snl+t6EQKHHQCfSj7Hve+PSMP0RYCeCYG1D2 RS/r0Anj+Y
Ogie/viVhrOWiwNlSnrROWeb
=O2uU
-----END PGP SIGNATURE-----
 
Reply With Quote
 
David Efflandt
Guest
Posts: n/a

 
      07-24-2004, 10:20 PM
On 23 Jul 2004, Joe Bramblett, KD5NRH <(E-Mail Removed)> wrote:
> (E-Mail Removed) (David Efflandt) wrote in
> news:(E-Mail Removed):
>
>> You do not mention anything about a serial or modem connection, or
>> configuring a getty in /etc/inittab for such a connection, so I
>> would be surprised if Hyperterminal worked at all (except maybe to
>> chat AT codes to a local modem on its own box). The
>> Text-Terminal-HOWTO
>> explains this.

>
> Hyperterminal has an option in the connection properties for TCP/IP
> connection.
>
> Interestingly, everything seems to be working now, and the only thing
> that's changed is that I rebooted the Linux box today. Hyperterm
> does fine, if a bit slow, PuTTY ssh works fine, and Cygwin popped
> right up without any real delay. Now I just have to figure out what
> the heck was changed.


Delays in tcp/ip are often timeouts due to tcpwrappers attempting to
resolve a name for connecting IP. This can depend upon hosts.allow,
hosts.deny, /etc/hosts, or if nameserver(s) in /etc/resolv.conf are not
reachable or do not respond (like for your ISP when not connected). So
perhaps something changed in one of those files (or local DNS if doing
your own).

--
David Efflandt - All spam ignored http://www.de-srv.com/
 
Reply With Quote
 
Joe Bramblett, KD5NRH
Guest
Posts: n/a

 
      07-25-2004, 10:00 AM
(E-Mail Removed) (David Efflandt) wrote in
news:(E-Mail Removed):

> Delays in tcp/ip are often timeouts due to tcpwrappers attempting to
> resolve a name for connecting IP. This can depend upon hosts.allow,
> hosts.deny, /etc/hosts, or if nameserver(s) in /etc/resolv.conf are not
> reachable or do not respond (like for your ISP when not connected). So
> perhaps something changed in one of those files (or local DNS if doing
> your own).


First off, to make this easier to describe:
catfish - Debian box, has the modem, and 100baseT to
4-port 802.11g WAP
bass - XP Pro box, 100baseT to WAP, and 802.11g card
perch - XP Pro box, 802.11g only

Everybody has everybody else in hosts, the linux box is gatewaying for
everybody else. (But for some reason I haven't really delved into very
much, can't see the internet at all itself...hasn't been a big issue yet,
but suggestions are welcome) Bass is pretty much the one I use, since it's
by far the fastest, has the best monitor, and the comfiest chair in front
of it.

From bass, command line or PuTTY telnet will work consistently, while
TCP/IP connection from hyperterminal will timeout - sometimes.
cygwin -query catfish will display pretty much the same behavior, except
that it works more often than hyperterm. I've tried it with and without
perch shut down, and with all possible permutations of bass's two
connections, and it's pretty consistent, except that sometimes it will
start working again for no apparent reason when something changes - nothing
in particular, though.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linksys wrt54g with HyperWRT cannot telnet wl command Ciar0468 Network Routers 0 10-25-2009 11:52 AM
how to add an ip to a NIC (from the command line)? gst Windows Networking 1 10-01-2008 03:42 PM
Providing multiple command line (telnet) interfaces to control an application Steve Strobel Linux Networking 1 06-26-2007 10:41 PM
RE: stopping WCZ in command line Pavel A. Wireless Networks 0 01-31-2005 07:07 AM
command line Rupert Windows Networking 2 10-20-2003 08:23 PM



1 2 3 4 5 6 7 8 9 10 11