Operating System - HP-UX
1753534 Members
5301 Online
108795 Solutions
New Discussion юеВ

preblems to connect with telnet

 
SOLVED
Go to solution
Jairo Campana
Trusted Contributor

preblems to connect with telnet

hello I am trying to connect to me with telnet an obtain the following error:
telnet 10.1.1.10
telnetd: /dev/pts/ta: Is a directory
.
lost connection whith host.
press any key for continue

in /dev/pts exist file:
mouse # ls
0 24 4
1 25 40
10 26 41
11 27 42
12 28 43
13 29 44
14 3 45
15 30 46
16 31 47
17 32 48
18 33 49
19 34 5
2 35 50
20 36 51
21 37 52
22 38 53
23 39 54
legionx
4 REPLIES 4
Larry Reinhart
Advisor
Solution

Re: preblems to connect with telnet

Jairo,

Do a search on "telnet problems pts". You can see there are many problems. Look at these threads:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4e5a87dc4d7dd5118ff00090279cd0f9,00.html

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xddcd9200caded5118ff40090279cd0f9,00.html

These should shed some light on the problem.

Have a great HP day!
Larry
Bill Hassell
Honored Contributor

Re: preblems to connect with telnet

Someone has trashed your /dev/pts directory (they would have to be root to do this). Remove *any* directory inside /dev/pts, then run insf -e to replace the missing device files.


Bill Hassell, sysadmin
Michael Tully
Honored Contributor

Re: preblems to connect with telnet

Then, change the root password and cut the persons fingers off who has fat finger syndrome.
Anyone for a Mutiny ?
S.K. Chan
Honored Contributor

Re: preblems to connect with telnet

If it's just telm and tels gotten messed up (these are the telnetd devices), then you would ..
# cd /dev/pts
# rmsf t*
# rmsf /dev/telnetm
# cd /
# insf -d telm
# ll /dev/telnetm
Afterwards check /dev/telnetm and /dev/pts/ta. They should be created with the current timestamp.