The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
script for nested rlogin and telnet mcburke38 Shell Programming and Scripting 6 03-19-2009 10:37 AM
Disable telnet timeout ayhanne SUN Solaris 2 03-14-2007 07:13 AM
telnet, rlogin, ssh login probblem anphdula UNIX for Dummies Questions & Answers 1 01-08-2006 10:13 AM
telnet session timeout yls177 UNIX for Dummies Questions & Answers 6 10-16-2002 09:11 PM
rlogin & telnet g-e-n-o UNIX for Dummies Questions & Answers 13 11-06-2001 10:08 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-16-2008
dr_gsb dr_gsb is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 4
Exclamation 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 (permalink)  
Old 09-18-2008
dr_gsb dr_gsb is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 4
Exclamation

Any comments?This is very important for me --gsb
  #3 (permalink)  
Old 09-18-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,063
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 (permalink)  
Old 09-19-2008
dr_gsb dr_gsb is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 4
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 (permalink)  
Old 09-19-2008
pupp's Avatar
pupp pupp is offline Forum Staff  
cap_10hdx 1
  
 

Join Date: Feb 2008
Location: Jersey Shore
Posts: 548
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 (permalink)  
Old 09-20-2008
incredible incredible is offline Forum Advisor  
Registered User
  
 

Join Date: May 2008
Location: s'pore
Posts: 2,063
So... did the ndd settings worked fine?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




All times are GMT -4. The time now is 03:50 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0