Click to See Complete Forum and Search --> : problems logging in to unix hosts via telnet


sanchez
10-31-2001, 12:20 PM
I just installed mandrake 8.1 on my VA Linux box at my work however I am having problems telneting to all/any of our unix hosts (Sunn Ultra 420s/SunOs5.6).

I am able to telnet to other linux boxes on the network fine, but when I try telneting to any unix host I get the Login screen all jumbled up and when I type the login and press enter, the screen just hangs and doesn't prompt me for the password. There for I am able to actually get to the unix box but there is some configuration issue.

- I am using standard command line telnet, but have tried gnome PPP and others.
- I have tried using telneting from a Xterm, Gnome terminal.
- I am using dynmaic IP
- I am able to telnet to myself as 127.0.0.1.
- I am able to ping the hosts I want to telnet to (meaning I am on the net work.)
- I have tried playing with my term variable seting it to linux, vt100 and every other possible option.
- I am able to telnet on a pc to the unix boxes and even from other linux boxes (running red hat), so this leads me to believe that the problem is on my end.
- finally, i am able to ftp, but when i first login i get the following message

Connected to foo.bar.com
220 foo FTP server (SunOS 5.6) ready.
500 'AUTH GSSAPI': command not understood
500 'AUTH KERBEROS_V4: command not understood.
KERBEROS_V4 rejected as an authentication type
Name (foo.bar.com):

...and after that I can login fine.

Has anybody encountered these problems? Its strange because I have never had to deal with this issues before, but then again I am new to Mandrake.

Thanks in advance. This forum is the best.

error27
10-31-2001, 07:27 PM
I don't have a sun machine to play with so I could be way off base.

What happens when you telnet in from windows and type "echo $TERM" on the sun box? This might give you clues about what type of terminal it expects.

What happens when you press ctrl-f1 and log in and telnet from there?

Or telnet in and your screen will be all screwed up. Now type "reset"

I don't know I'm just throwing out ideas.

sanchez
11-01-2001, 11:00 AM
thanks for your response.

so to answer your questions:

1) I don't have a sun machine to play with so I could be way off base.
What happens when you telnet in from windows and type "echo $TERM" on the sun box? This might give you clues about what type of terminal it expects.

- when i telnet in from windows and echo TERM the value is vt100

- i am not able to telnet in from linux at all so i cannot access the TERM value after logging in. However, the term values I have tried before telneting are: linux and vt100.

2) What happens when you press ctrl-f1 and log in and telnet from there?

- typing ctrl-f1 does nothing

3) Or telnet in and your screen will be all screwed up. Now type "reset"

- I can't tell net in at all

eXtremist
11-02-2001, 08:32 AM
Instead of pressing ctrl-F1 as suggested, try ctrl-alt-F1 and log in that way. (assuming you're using X)

To get back to X hit ctrl-alt-F7 (more than likely). If that doesn't get you back in X try F2-6 until it pops up.

Lorithar
11-02-2001, 10:15 AM
*ummms*

I would suggest you might be running kerberos on the new mandrake install,
(the message at ftp connect) and IIRC there is a kerberos terminal function on sun boxen... which may be scrambling the screen on you as your mandrake box is not using the protocol in the same way as the sun boxen...

Not that I can state this a) for a fact or b) with any real knowledge of the circumstances.. I do however know that if kerberos authenication required is set 'on' on a newly installed sun box, when I telnet to it I cant read the screen for garbage...

*grin* ... I don't run mandrake, but I'm sure someone can tell you how to turn it off..

sanchez
11-02-2001, 12:45 PM
THE ANSWER:

The telnet client packaged with the Mandrake8.1 ISO download package is corrupted. Preventing any Mandrake8.1 telnet client from connecting to external machines.

Uninstall the telnet client package it shipped with. And go to:
http://www.rpmfind.net/linux/rpm2html/search.php?query=telnet

and download and install the latest telnet client for Mandrake.

This completely fixed my problem

Many thanks to Jason at www.telnet.org (http://www.telnet.org) for answering this question.

Thanks to everyone who put their two cents in.