rlogin, telnet connections timeout


 
Thread Tools Search this Thread
Operating Systems Solaris rlogin, telnet connections timeout
# 1  
Old 09-16-2008
Error rlogin, telnet connections timeout

Hi,
I have a Sun Ultra 5 desktop with Solaris 8. When I telnet/rlogin into any other host, the connection closes after few hours of inactivity.
I also have another Windows box which I use rarely. But when I telnet/rlogin into the same hosts using putty, the connection stays for days without any activity.

I think there is some setting in my Solarix desktop which is dropping connections. Can someone help me?

Thanks in adv.
--gsb
# 2  
Old 09-18-2008
Error

Any comments?This is very important for me Smilie--gsb
# 3  
Old 09-18-2008
Check your Solaris server in the /etc/default/login file.
Check the entry on TMOUT. Or simply comment out the entry for it not to take effect
# 4  
Old 09-19-2008
Thanks for your reply.
The only things in the server's default login file which are uncommented:
PASSREQ=YES
ALTSHELL=YES
SYSLOG=YES

Also, as I mentioned in my first port, when I telnet using putty from any Windows machine or even from any other unix box, the connection stays open for days. Its when I telnet/rlogin from my solaris desktop that the connections timeout. So I think it has to do something with my desktop, rather than the servers.
And yes, this happens for all the servers. I mean that if I have 4 telnet connections opened with 4 different servers, they all timeout after few hours.
I am not able to keep my windows open over the night because of this.

Thanks in adv
--gsb
# 5  
Old 09-19-2008
i'm not sure if its on the app level or something deeper. however, you can always change some tcp/ip values:

Code:
ndd -set /dev/tcp tcp_ip_abort_cinternval <milliseconds>
ndd -set /dev/tcp tcp_time_wait_interval <milliseconds>

the first is the time out and defaults to 3 minutes and the 2nd is the port reuse wait time.

not sure if any of this will help.
# 6  
Old 09-20-2008
So... did the ndd settings worked fine? Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ping and telnet timeout

Hello, I need help, I have the following which save in the result file ping and telnet:port test. Basically the script works but I should implement a check on ping and telnet command so that ping has 5 seconds threshold and telnet (more important) 10 seconds. Over that threshold ping and... (0 Replies)
Discussion started by: marmellata
0 Replies

2. Linux

Telnet Timeout

is there a way to add a timeout parameter to telnet when connecting to any IP address? like, if this IP doesn't respond within 10 seconds, abort. thanks i'm looking for something like this: telnet gaggaga.com 443 -t 10 (3 Replies)
Discussion started by: SkySmart
3 Replies

3. Shell Programming and Scripting

rlogin and telnet

I want to make a script which will execute a command from a remote server like below rlogin server1 then telnet server2 (username, password will be given) now execute command (it may "ls -l *.txt") and give the output I've to do this manually but want to make it automatic Script may... (4 Replies)
Discussion started by: shoeb
4 Replies

4. Shell Programming and Scripting

script for nested rlogin and telnet

I want to write a script that rlogins to a couple machines and then from the last machine, telnet into a final machine and execute a command. So in pseudocode it would look like: rlogin host1 from host1 rlogin host2 from host2 telnet host3 from host 3 execute command The reason for the... (6 Replies)
Discussion started by: mcburke38
6 Replies

5. IP Networking

rlogin,telnet-different or same?

Hai guys, Both "rlogin" and "telnet" are used to login remote host.Is there any differece between these 2 commands? (or) are both same? Thanks (1 Reply)
Discussion started by: Felicia23
1 Replies

6. Solaris

Disable telnet timeout

Hi, Can someone help me how I can disable telnet timeout? I'm connecting remotely to some machines and after some time my telnet connection was closed. How can I disable this so that I'm always connected to those machines? Thanks! (2 Replies)
Discussion started by: ayhanne
2 Replies

7. Shell Programming and Scripting

Testing telnet connections in a script

Hi, I am trying to figure out how to test to see if a server is accepting telnet connections via a script. I have several remote MPE servers that are set in single user mode (and hence not accepting telnet connections), for their backups, I want to try and automate a test (from a unix... (0 Replies)
Discussion started by: dikiee
0 Replies

8. UNIX for Dummies Questions & Answers

telnet, rlogin, ssh login probblem

Hello Friends, I had an IRIX box won't let me login with any IDs (even root) Telnet, Rlogin, SSh. However, I can login by single user with root ID. Telnet login >>> Connection closed by forgeign host. Rlogin >>> Connection closed SSh login >>> connection to address ???.????.???.??? ... (1 Reply)
Discussion started by: anphdula
1 Replies

9. UNIX for Dummies Questions & Answers

telnet session timeout

hi, we can set something such that if the user has been idle for a while, it will auto disconnect. where to do so? thanks (6 Replies)
Discussion started by: yls177
6 Replies

10. UNIX for Dummies Questions & Answers

rlogin & telnet

hi what is the main difference between rlogin and telnet? Or they are synonymous cheers (13 Replies)
Discussion started by: g-e-n-o
13 Replies
Login or Register to Ask a Question