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 > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Telnet question oppiz UNIX for Dummies Questions & Answers 2 03-10-2008 04:48 PM
question about telnet to HP unix 11 zetadhell HP-UX 3 06-06-2006 09:21 PM
TELNET Question mr-synapse SUN Solaris 8 11-23-2005 12:34 AM
telnet question ober5861 UNIX for Dummies Questions & Answers 2 10-02-2002 01:29 PM
tcp timout peter.herlihy IP Networking 5 12-29-2001 01:04 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 01-18-2005
Acleoma Acleoma is offline
Registered User
  
 

Join Date: Jul 2003
Location: Utah
Posts: 18
Telnet timout question

ok here is a little bit on what I am trying to do. I am logged into a saolaris 9 server and telnet to another server to run an application that sits on the second unix / linux server. This application can sit idle for an hour to two and any given time. During this time the telnet session timesout and the users have to relog in. Now granted most of us would just login again but the users are at remote locations and never had this issues until we moved the servers off the local network. We have checked all our firewalls, switches and routers and there not booting the connection. Now if I have one of them use putty or secureCRT with anti-idle settings going they don't timeout. The problem is not all locations have a windows box to install those applications they use standard telnet from a unix terminal. My question is after reading a bunch of stuff is how do I send a nop or NO-OP from a standard telnet term on a unix box? Any help would be great on this or if you know another way I am all ears.

Thanks
  #2 (permalink)  
Old 01-18-2005
google's Avatar
google google is offline Forum Advisor  
Moderator
  
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
There is an environment variable called TMOUT that contains the default number of seconds before a shell timeout occurs. If your session is idle for that duration, you get booted. You can however, over ride this variable (assuming that your local sys admin did not make this a read only variable). To do so in Korn Shell:

export TMOUT=0
  #3 (permalink)  
Old 01-18-2005
Acleoma Acleoma is offline
Registered User
  
 

Join Date: Jul 2003
Location: Utah
Posts: 18
I have already made that change in the /etc/profile with no luck as the session still times out after an hour. Any other idea's on how to keep this session from a time out. The bad part is that when they run the app it gives them a menu and they will sit there for hours befor ethey imput things.
  #4 (permalink)  
Old 01-18-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
Hog Hunter
  
 

Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Quote:
how do I send a nop or NO-OP from a standard telnet term on a unix box?
Check the man page for telnet for your OS - should allow you to break out to show parameters.

What I see from mine: use Control-] to get to telnet prompt -

Then ? to see commands
mine has a send command
Type in send ? and you should see a nop
  #5 (permalink)  
Old 02-23-2005
bluestar bluestar is offline
Registered User
  
 

Join Date: Feb 2005
Posts: 1
Telnet time out

I also have a problem regarding telnet time out(the server is a p5 520 OS is AIX 5.2):
After telneting to the server, if inactive for more than 20 minutes the session is "closed by foreign host". Where is this timeout value set? I've looked at the /etc/profile and the TMOUT variable is commented out and an echo of TMOUT show a value of 0...which appears to mean "no time out set". We suspect that the new F5 switch is causing the problem, not the OS. Were else can I look?
Sponsored Links
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 12:25 PM.


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