10-07-2009
Hi, many thanks for your reply with suggestions. Case 1 is not applicable as value of TMOUT is 0, it also not found in .profile, .login etc. /etc/skel is empty.
Now about case 2, I am now going through nddconf file and shall discuss with our Network admin before making any change.
Hope it will solve our problem.
Quote:
Originally Posted by
Gecko12332
Hey -
There could be a few things going on:
1) If you are using HP-UX outta the box 11.11 telnetd(aemon) via inetd, then check to make sure you don't have a $TMOUT variable is set upon login. The standard telnetd with HP-UX will look at this var. IE: echo $TMOUT If there is a value, you can set to =0 OR find out you .profile, .login, etc and change. Then you can update the 'skel' login files which should live in /etc/skel.
2) If 1) is not the case, then talk to your network admin, they might have certain rules invoked that even though you have an active TCP connection over telnet, if there isn't any generating traffic, the inline router, (if routing) TCP session timeout configured at switch level, or even an active state-full firewall that will drop connections after X time. You can also sorta trick 'schtuff' like this by setting a TCP keep-alive ACK via ndd in HP-UX. I say, "sorta" because depending on the level of experience your network admin has and the equipment, you can also set known keep-alive watchdogs that will do deep packet inspection and see that it's nothing but a keep-alive and still close the connection for security reasons; once again, depending on your environment.
To modify your HP-UX host to send keep-alives for telnet try this:
1) cp -p /etc/rc.config.d/nddconf /etc/rc.config.d/nddconf.prior_keep_alive
2) vi /etc/rc.config.d/nddconf
Look for "NDD_NAME" (minus quotes)
Uncomment (remove #) if needed and put:
NDD_NAME=[0]=tcp_keepalive_interval
THEN set the interval:
NDD_VALUE[0]=300000
This will send a keep-alive data packet every 5 minutes. Each minute is 60000, so set for how often you would like.
Save and exit and run: ndd -c which will change the parameter without rebooting.
Once again, could be some timeout on the host, or network idle timeout. Good luck!
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. Shell Programming and Scripting
Dear friends..
Our project has a module that runs on handheld devices. Through the handheld we telnet to solaris where the application actually runs. I noticed that after starting a session through the handheld, if i go out of range or if i remove and replace the battery in the handheld, the... (1 Reply)
Discussion started by: deepsteptom
1 Replies
3. Shell Programming and Scripting
{
sleep 2
echo "$user"
sleep 2
echo "$password"
sleep 2
echo " ls"
sleep 10
echo "exit"
}| telnet $server
I have a machine x and i have executed the above script on machine 'x'.
i entered the... (6 Replies)
Discussion started by: pathanjalireddy
6 Replies
4. UNIX for Dummies Questions & Answers
Hi
Is there any way whilst in a telnet session you can view your client machine name that you are using to connect to the Unix box ? :eek: (2 Replies)
Discussion started by: mlucas
2 Replies
5. UNIX for Dummies Questions & Answers
Hello,
I have AIX 5.3 at home connected to netgear router. Port Forwarding has been enabled on the router. Problem is that if I want to telnet, I have to try 2 or 3 times before I can get a logon prompt. It times out for first or second time (Connection to session <IP_Address> failed: Connection... (1 Reply)
Discussion started by: bluebee
1 Replies
6. UNIX for Dummies Questions & Answers
How can I disconnect an existing telnet session? The host is a serial port server with multiple ports. The users login using the host's name and a port, i.e. telnet host01 1235.
Thanks. (14 Replies)
Discussion started by: cooldude
14 Replies
7. HP-UX
Our network administrators implemented some sort of check to kill idle sessions and now burden is on us to run some sort of keep alive. Client based keep alive doesn't do a very good job. I have same issue with ssh. Does solution 2 provided above apply for ssh sessions also? (1 Reply)
Discussion started by: yoda9691
1 Replies
8. SCO
I have inherited and SCO OpenServer Release 6 server. The clients connect using telnet to get to a proprietary database application for Service tickets. The issue I am currently having is that the connection just stops abruptly and you can see "telnet session terminated" on the terminal emulation... (22 Replies)
Discussion started by: sean6605
22 Replies
9. Shell Programming and Scripting
I have to put together telnet instructions for 100s of hosts for verifying basic connectivity and get output in a neat format.
Problem- If a telnet is hung with message "Trying .... <hostname" due to firewall or routing issue the commands waits for a very long time before it times out and my... (2 Replies)
Discussion started by: desiphantom
2 Replies
LEARN ABOUT DEBIAN
rabbit
RABBIT(1) rabbit RABBIT(1)
NAME
rabbit - presentation tool using RD, simple text format
SYNOPSIS
rabbit [options] [SOURCE_INFOS]
DESCRIPTION
Theme
-I, --include=PATH
Add [PATH] to load path.
-t, --theme=THEME
Use [THEME] as theme. (default)
--comment-theme=THEME
Use [THEME] for comment. ()
--allotted-time=TIME
Use [TIME] as allotted time. ()
Source
-T, --type=TYPE
Specify source type as [TYPE]. Select from [auto, argf, file, memory, slideshare, uri]. Note: case insensitive. (auto)
When select ARGF specify none (get from STDIN) or [FILE_NAMES] as [SOURCE_INFOS].
When select File specify [FILENAME] as [SOURCE_INFOS].
When select Memory specify [FILENAME_OR_NOT] as [SOURCE_INFOS].
When select SlideShare specify [USER] and [TITLE] as [SOURCE_INFOS].
When select URI specify URI as [SOURCE_INFOS].
-e, --encoding=ENCODING
Specify source encoding as [ENCODING]. (auto)
-B, --base=BASE
Specify base URI or path of source as [BASE]. (auto)
Initial state
-f, --[no-]full-screen
Toggle full screen mode. (off)
--[no-]index-mode
Toggle index mode. (off)
Size
-g, --geometry=GEOMETRY
Set window geometry [GEOMETRY]. Format: WIDTHxHEIGHT+X+Y (nil)
-w, --width=WIDTH
Set window width to [WIDTH]. (800)
-h, --height=HEIGHT
Set window height to [HEIGHT]. (600)
-S, --size=WIDTH,HEIGHT
Set window width and height to [WIDTH] and [HEIGHT]. (800,600)
Save
-s, --save-as-image
Save as image and exit.
-i, --saved-image-type=TYPE
Specify saved image type as [TYPE]. (png)
-bBASE_NAME,
Specify saved image base name as [BASE_NAME].
--saved-image-base-name
(Title of slide)
--saved-image-basename
--[no-]output-html
Output HTML for viewing saved images. (false)
--[no-]output-index-html
Output index HTML for navigating slides. (false)
--rss-base-uri=URI
Specify base URI of RSS as [URI]. RSS is generated only when HTML is output. ()
--source-filename=FILENAME
Specify source filenam as [FILENAME]. ()
Print
-p, --print
Print and exit.
-o, --output-filename=FILENAME
Specify printed out filename as [FILENAME]. (#{Title of slide}.pdf)
--slides-per-page=SLIDES
Set slides per page. (1)
--[no-]draw-scaled-image
Draw scaled image. Better look for displaying but lesser look for printing. (true)
Paper
--paper-width=WIDTH
Set paper width to [WIDTH] Pt. (landscape A4 width)
--paper-height=HEIGHT
Set paper height to [HEIGHT] Pt. (landscape A4 height)
--paper-size=WIDTH,HEIGHT
Set paper width and height to [WIDTH] Pt and [HEIGHT] Pt. (landscape A4 size)
Margin
--margin-left=MARGIN
Set left margin for slides per page mode print. (auto)
--margin-right=MARGIN
Set right margin for slides per page mode print. (auto)
--margin-top=MARGIN
Set top margin for slides per page mode print. (auto)
--margin-bottom=MARGIN
Set bottom margin for slides per page mode print. (auto)
--margin={ [ALL] | [TOP_BOTTOM],[LEFT_RIGHT] | [TOP],[LEFT_RIGHT],[BOTTOM] | [TOP],[RIGHT],[BOTTOM],[LEFT]}
Set margin for slides per page mode print.
--page-margin-left=MARGIN
Set left page margin. (auto)
--page-margin-right=MARGIN
Set right page margin. (auto)
--page-margin-top=MARGIN
Set top page margin. (auto)
--page-margin-bottom=MARGIN
Set bottom page margin. (auto)
--page-margin={[ALL]|[TOP_BOTTOM],[LEFT_RIGHT]|[TOP],[LEFT_RIGHT],[BOTTOM]|[TOP],[RIGHT],[BOTTOM],[LEFT]}
Set page margin.
dRuby
--[no-]use-druby
Specify whether to use dRuby. (true)
--druby-uri=URI
Specify dRuby URI. (druby://127.0.0.1:10101)
--[no-]output-druby-uri
Specify whether to output dRuby URI. (false)
SOAP
--[no-]use-soap
Specify whether to use SOAP. (false)
--soap-host=HOST
Specify SOAP host as [HOST]. (0.0.0.0)
--soap-port=PORT
Specify SOAP port as [PORT]. (10103)
XML-RPC
--[no-]use-xmlrpc
Specify whether to use XML-RPC. (false)
--xmlrpc-host=HOST
Specify XML-RPC host as [HOST]. (0.0.0.0)
--xmlrpc-port=PORT
Specify XML-RPC port as [PORT]. (10104)
Server
--[no-]server
Specify whether to run as server. (false)
Public level
--public-level=LEVEL
Specify public level. Select from the following: [
strict, move, read-size, change-size, size, read-source, change-source, source, control, all
] (all)
Comment
--comment-source=FILE
Deprecated. Just ignored. Specify initial comment source. (default source)
--comment-encoding=ENCODING
Deprecated. Just ignored. Specify comment source encoding. (auto)
Migemo
--migemo-dictionary-search-path=PATH1,PATH2,...
Specify search paths for Migemo static dictionary. (/usr/share, /usr/local/share)
--migemo-dictionary-name=NAME
Specify static dictionary name for Migemo. (migemo-dict)
3D
--[no-]use-gl
Specify whether to use OpenGL if available. (false)
Display
--[no-]keep-above
Specify whether to keep above window. (false)
Others
--[no-]show-native-window-id Show a native window ID of the Rabbit window if available.
e.g. The ID is the ID of X resource on X window system. (false)
Common options
--locale-dir=DIR
Specify locale dir as [DIR]. (auto)
--logger-type=TYPE
Specify logger type as [TYPE]. Select from [stderr, gui]. (STDERR)
--log-level=LEVEL
Specify log level as [LEVEL]. Select from [debug, info, warning, error, fatal, unknown]. (info)
--help Show this message.
--version
Show version.
rabbit 1.0.7 June 2012 RABBIT(1)