1748255 Members
4013 Online
108760 Solutions
New Discussion юеВ

Can't telnet and rlogin

 
Tarek
Super Advisor

Can't telnet and rlogin

Hallo there,
i'm trying to telnet to a ws. The ws is on the network, with ping I see it. If i try to telnet i have this error:
Trying...
Connected to WS.
Escape character is '^]'.
Local flow controll off
Connection closed by foreign host.
With rlogin I have:
rcmd: Lost connection.
What is the problem?? I'm trying to connect remotely, because the ws is far from the place where i'm.
Any advice? Thanks in advance.
16 REPLIES 16
Alexander M. Ermes
Honored Contributor

Re: Can't telnet and rlogin

HI there.
Can you get the remote access checked in :
SAM --> Network and Communications --> System access ? Mostly this is causes the problems with remote access.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Alexander M. Ermes
Honored Contributor

Re: Can't telnet and rlogin

Hi there.
Sorry, you have to go down one more level from Remote Logins to System Access.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Printaporn_1
Esteemed Contributor

Re: Can't telnet and rlogin

First place to start is syslog of the telnet server , any error.

with ping does it stable.
or any duplicate IP message from
netfmt -t 50 -f /var/adm/nettl.LOG00
enjoy any little thing in my life
Tarek
Super Advisor

Re: Can't telnet and rlogin

Hi Alexander..sorry but i haven't understand. I can telnet to any ws without problems, instead of this one. So is there a way to connect remotely?? If yes which one? If it isn't possible remotely, what should i do locally?? Boot on single user?? And then?? Thanks again
Frank Li
Trusted Contributor

Re: Can't telnet and rlogin

And you can check in your profile(~/.profile) and system profile(/etc/profile) , whether there is a "exit" in those file !!!

Hi Friend
Varghese Mathew
Trusted Contributor

Re: Can't telnet and rlogin

Hi Tarek,

I think there is only on eway in front of you - go to the system (not over the network) ans see for any error - if any , they should be logged in the /var/adm/syslog/syslog.log file. Yoiu can even check the system buffer also for any error messages.

At the workstation you can try stopping the network services and restarting it by using the below command
#/sbin/init.d/net stop
#/sbin/init.d/net start
If no one else have done anything in the server level, it should start working by now.
(You can even try a system reboot, if possible)

Hope this helps

Cheers !!!
Mathew

Cheers !!!
Tarek
Super Advisor

Re: Can't telnet and rlogin

My telnet server is OK. I can telnet to any ws I want instead of this. The ping is stable and OK. I issued this command on the telnet server:
netfmt -t 50 -f /var/adm/nettl.LOG00 I had a lot of messages like:
Subsystem: STREAMS
Log Class: ERROR
140 16:30:14 11917212 1 T..5316 11 '00:30:6e:03:ee:e2'
141 16:30:14 11917212 1 T..5316 11 trying to be our address (my ws ip address)!
16:30:14 11917316 1 T..5316 11 IP: Hardware address..
Frank Li
Trusted Contributor

Re: Can't telnet and rlogin

Oh , you must miss some device file !

check whether there are some special file under /dev/pts/* ,
if not or does not have /dev/pts dir , use :

insf -d pts -e
insf -d tels -e


to create it . and telnet/rlogin should be okay.
Hi Friend
Vincenzo Restuccia
Honored Contributor

Re: Can't telnet and rlogin

See /var/adm/inetd.sec.