|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: IT Resource Center (support_feedback
us-support.external.hp.com)Date: Thu Feb 15 2001 - 07:52:04 CST
HP Support Information Digests
===============================================================================
o IT Resource Center World Wide Web Service
---------------------------------------------------
If you subscribed through the IT Resource Center and would
like to be REMOVED from this mailing list, access the
IT Resource Center on the World Wide Web at:
http://www.itresourcecenter.hp.com/
Login using your IT Resource Center User ID and Password.
Then select Support Information Digests (located under
Maintenance and Support). You may then unsubscribe from the
appropriate digest.
===============================================================================
Digest Name: monthly HP-UX technical tips digest
Created: Thu Feb 15 3:10:06 PST 2001
Table of Contents:
Document ID Title
--------------- -----------
3100243939 Mail: common problems associated with .forward; also see alia
2200030590 SYS ADM: see umask(1) to set protection mask for files and dir
1100413790 Modem: Describe how to install an MT5634ZBA Modem on the N/L-C
The documents are listed below.
-------------------------------------------------------------------------------
Document ID: 3100243939
Date Loaded: 20010201
Title: Mail: common problems associated with .forward; also see aliases(5)
PROBLEM
A .forward file exists in order to forward mail to a second server.
However, this function does not seem to be working.
What could be causing this condition?
CONFIGURATION
Operating System - HP-UX
RESOLUTION
The following is a list of items to check:
Check that the .forward file is readable by sendmail.
Check that the .forward file is NOT attempting to forward
mail back to the server from which it was sent; this is not allowed.
Please see the man page documentation for aliases(5) for
more information.
<!-- ALT KEYWORDS -->
-----End of Document ID: 3100243939------------------------------------------
Document ID: 2200030590
Date Loaded: 20010201
Title: SYS ADM: see umask(1) to set protection mask for files and directories
PROBLEM
How can umask(1) be used to set the protection mode for the
creation of directories and files?
CONFIGURATION
Operating System - HP-UX
RESOLUTION
When files and directories are created, their permission settings - or
"masks" - are set to:
files: 666 or (rw-rw-rw-)
directories: 777 or (rwxrwxrwx)
The umask(1) command may be used to specify different settings
as follows:
Note: the values in the umask(1) command are subtracted
from the default values. For example:
files: "umask 022" is interpreted as:
666 - 022 = 644 (rw-r--r--)
directories: "umask 022" is interpreted as:
777 - 022 = 755 (drwxr-xr-x)
To take effect system-wide, it is recommended to add umask(1)
to /etc/profile. At a "per-user" level, add this command to the
.profile file for each user.
It is necessary to source the .profile file, or logout/login for
the change to take affect either on a user or a system-wide level.
<!-- ALT KEYWORDS -->
-----End of Document ID: 2200030590------------------------------------------
Document ID: 1100413790
Date Loaded: 20010119
Title: Modem: Describe how to install an MT5634ZBA Modem on the N/L-Class System
PROBLEM
Describe how to install an MT5634ZBA Modem on the N/L-Class System.
CONFIGURATION
Operating System - HP-UX
Hardware System - N-Class, L-Class
RESOLUTION
TITLE: Cookbook to install an MT5634ZBA Modem on the N/L-Class System
________________________________________________________________________________
1.0 Contents
________________________________________________________________________________
1.1 Cookbook to install an MT5634ZBA Modem on the N/L-Class System
1.2 MT5634ZBA Modem Kit Part Number
1.3 GSP ER Command
1.4 MT5634ZBA useful modem commands
1.5 MT5634ZBA explanation of Modem settings
1.6 MT5634ZBA example output from the at&v command
1.7 MT5634ZBA Remote Configuration
1.8 MT1432 and MT2834 Modem Configuration
________________________________________________________________________________
1.1 Cookbook to install an MT5634ZBA Modem on the N/L-Class System
________________________________________________________________________________
Important Notes at the top:
***************************
- Modem TR (Terminal Ready) Indicator light.
With CCITT, this light will be off, even if a getty is running.
This is NOT a problem, and dialin will still work!
CCITT uses the RI (Ring Indicator) to handle an incoming call.
- CLOCAL parameter in gettydefs.
For CCITT, the CLOCAL parameter in /etc/gettydefs must not be
set! Setting this parameter poses a security problem! If set,
the session will remain active when the modem line is disconnected
without doing an exit.
1. Connect the modem to the "Remote Console Serial Port (Modem)"
9-pin connector on the N-Class system. The L-Class system has a
W-Cable with 3 connectors labeled Console, UPS, and Remote. Connect
the modem cable to the connector labeled "Remote" on the L-Class system.
Use either the cable supplied with the modem or a 24542M cable. The
cable supplied with the modem has the number 45880120 on the 25-pin
RS232 connector.
45880120 or
24542M Cable
Modem -------------------> Remote Console
Serial Port (Modem)
Connect the telephone line to the "Line Jack" RJ45 connector
on the rear of the modem.
2. Use the GSP CA command to verify that the config matches the
following:
Local Console Serial Port bit rate: 19200 bits/s
Local Console Serial Port Flow Control: Hardware
Local Console Serial Port Terminal Type: vt100
Remote Console Serial Port Modem Protocol: CCITT
Remote Console Serial Port Modem bit rate: 19200 bits/s
Remote Console Serial Port Modem Flow Control: Hardware
Remote Console Serial Port Modem Transmit Configuration Strings: Disabled
Remote Console Serial Port Modem Presence: always connected
3. Use the GSP ER command to set it to "session mode"
GSP> er
ER
Current remote/modem port access: Locked-out
Do you want to modify this configuration? (Y/[N]) y
Remote/modem serial port access options:
[L]ocked-out: Lock out all dial-in access.
[G]SP : Dial-in results in a GSP login.
[S]ession : O/S controls modem for dial-in and dial-out
GSP may page in any mode if modem is not in use.
O/S may use modem in Session mode only.
Please indicate the new mode for the remote/modem console serial port,
or <CR> to retain current value. Choose one of (L, G, S): s
New remote/modem port access settings will be: Session
Confirm? (Y/[N]): y
Command execution may take 25 seconds.
Current remote/modem port access: Session
4. Create the callin and callout device files
# mknod /dev/ttyd0p2 c 1 0x000206
# mknod /dev/cul0p2 c 1 0x000205
Verify the device files using lssf and ll
# lssf /dev/ttyd0p2
asio0 card instance 0 port 2 ccitt callin at address 0/0/4/0 /dev/ttyd0p2
# ll /dev/ttyd0p2
crw--w---- 1 uucp tty 1 0x000206 Dec 22 13:23 /dev/ttyd0p2
# lssf /dev/cul0p2
asio0 card instance 0 port 2 ccitt callout at address 0/0/4/0 /dev/cul0p2
# ll /dev/cul0p2
crw-rw-rw- 1 root sys 1 0x000205 Dec 22 13:31 /dev/cul0p2
5. Edit /etc/uucp/Devices and add the following line:
Direct cul0p2 - 19200 direct
6. Edit /etc/gettydefs and add the following three lines:
(There must be a blank line above and below the entry.)
192 # B19200 SANE CS8 ISTRIP IXANY TAB3 HUPCL
# B19200 SANE CS8 ISTRIP IXANY TAB3 HUPCL
#Modem Login: #192
Note: The "192" in the above lines is a label, which must be unique
in the /etc/gettydefs file. Please make sure it is not already
used for another entry in the file.
7. Edit /etc/inittab and add the following line:
a0:234:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p2 192
Note: The "a0" in the above line is a label, which must be unique
in the /etc/inittab file. Please make sure it is not already
used anywhere else in the file.
8. Start the getty and verify that it is running:
# init q
# ps -ef|grep uugetty
root 1236 1 0 14:12:00 ? 0:00 /usr/lbin/uucp/uugetty -r -t 60
-h ttyd0p2 192
9. Use cu(1) to connect to the modem
# cu -l cul0p2 dir
Connected
If you get "line problem", use the GSP MR command to reset the modem
10. Configure the modem
at&w1
OK
at&f
OK
atz
OK
at&s1&c1&d3&w
OK
atq2$sb19200$ba0#p0s2=128&w
OK
11. Set the country code on the modem
at%t19,0,nn
where nn is the country code. For Switzerland the command would be:
at%t19,0,0d
Here is a list of the Country codes:
AUSTRALIA 0x01
BELGIUM 0x02
DENMARK 0x03
FINLAND 0x04
FRANCE 0x05
GERMANY 0X06
NETHERLANDS 0X07
ITALY 0X08
NEWZEALAND 0X09
NORWAY 0X0A
SPAIN 0X0B
SWEDEN 0X0C
SWITZERLAND 0X0D
UK 0X0E
AUSTRIA 0X0F
JAPAN 0X10
CHINA 0X11
KOREA 0X12
MALAYSIA 0X13
SINGAPORE 0X14
TAIWAN 0X15
THAILAND 0X16
INDONESIA 0X17
PORTUGAL 0X18
NORTH AMERICA 0x19
IRELAND 0x1a
HONGKONG 0x1b
CANADA 0x1c
MEXICO 0x1d
INDIA 0x1e
VIETNAM 0x1f
PHILIPPINES 0x20
GREECE 0x21
HUNGARY 0x22
TURKEY 0x23
SOUTHAFRICA 0x24
CZECH 0x25
POLAND 0x26
ISRAEL 0x27
SLOVAK 0x28
SLOVENIA 0x29
CHILE 0x2A
INTERNATIONAL 0x30
PANEUROPEAN 0x34
________________________________________________________________________________
1.2 MT5634ZBA Modem Kit Part Number
________________________________________________________________________________
Modem Kit Part Number: 0960-1074
The above kit consists of the MT5634ZBA modem, universal power
supply, power cable, modem cable, MultiModem Quick Start Guide,
feet for modem, RJ11 cable.
________________________________________________________________________________
1.3 GSP ER Command
________________________________________________________________________________
Note: The DR command does not exist anymore, use ER
Locked-out : - Incoming will NOT work !
- Outgoing will NOT work !
GSP : - Incoming will work and you can login via the GSP.
Once on the GSP prompt, you can use the SE command
to initiate a normal session.
- Outgoing will NOT work!
Session : - Incoming will work (normal UNIX login)
- Outgoing will work
________________________________________________________________________________
1.4 MT5634ZBA useful modem commands
________________________________________________________________________________
at&v List the configuration settings
ati Display modem model number and firmware revision
ati5 Display board id and country ID
ati11 Display diagnostic information for the last modem connection
________________________________________________________________________________
1.5 MT5634ZBA explanation of Modem settings
________________________________________________________________________________
- at&w1, at&f, atz
This resets the modem to it's factory default settings
- &s1
Let DSR go high only during connection
&c1
DCD goes high when the remote modem's carrier signal is detected,
and goes low when the carrier signal is not detected.
These two parameters have to be set in order for the modem to
disconnect properly.
- &d3
If DTR drops, the modem hangs up and resets as if a ATZ command
were issued.
This should provide more reliable operation during unexpected
disconnects.
- q2
Do not send result codes during an incoming connection. This
will prevent the modem from sending (upper case) result codes
to HP-UX when an incoming call is received.
- $sb19200
Set the speed on the modem's RS232 interface to a fixed speed of
19200 baud.
- $ba0
The modem will handle the conversion of the speed differences
between the modem baud rate and the RS232 serial baud rate.
- #p0
Set command mode parity to NONE. This is necessary for the
remote configuration to work properly. To enter remote config,
enter %%%ATMTSMODEM <cr>.
- s2=128
Disable local escape. This prevents a hang, when the local
escape (+++AT) is used on the remote modem.
________________________________________________________________________________
1.6 MT5634ZBA example output from the at&v command
________________________________________________________________________________
Option Selection AT Cmd
--------------- ------------ --------
Comm Standard CCITT B
CommandCharEcho Enabled E
Speaker Volume Medium L
Speaker Control OnUntilCarrier M
Result Codes No Response Q
Dialer Type Tone T/P
ResultCode Form Text V
ExtendResultCode Enabled X
DialTone Detect Enabled X
BusyTone Detect Enabled X
CDC Action Standard RS232 &C
DTR Action Off=Reset &D
V22b Guard Tone Disabled &G
Flow Control Hardware &K
Error Control Mode V42,MNP,Buffer \N
Data Compression V42bis/MNP5 %C
DTR Dialing Off $D
Eleven Bit Off $EB
Parity Bit None #P
AutoAnswerRing# 1 S0
AT Escape Char 128 S2
CarriageReturn Char 13 S3
Linefeed Char 10 S4
Backspace Char 8 S5
Blind Dial Pause 3 sec S6
NoAnswer Timeout 50 sec S7
"," Pause Time 2 sec S8
Remote Config Char 37 S9
No Carrier Disc 2000 msec S10
DTMF Dial Speed 95 msec S11
Escape GuardTime 1000 msec S12
Data Calling Tone Enabled S35
Line Rate 33600 S37
Callback Security Disabled #CBS
Callback Delay 15 sec #CBD
Callback Parity None/Space #CBP
Callback Inactivity 20 min #CBI
Callback Retries 4 #CBA
User Profile Stored &W
Xon/Xoff Pacing Pacing On &E12/13
Stored Phone Numbers
--------------------
&Z0=
&Z1=
&Z2=
________________________________________________________________________________
1.7 MT5634ZBA Remote Configuration
________________________________________________________________________________
The modem can be configured remotely as follows:
%%%ATMTSMODEM <cr>
OK
at&w1
OK
at&f
OK
atz
OK
at&s1&c1&d3&w
OK
atq2$sb19200$ba0#p0s2=128&w
OK
ato
________________________________________________________________________________
1.8 MT1432 and MT2834 Modem Configuration
________________________________________________________________________________
If you have an existing MT1432 or MT2834 modem, it can be used on the
N/L-Class also.
Here is the configuration for these modems:
1. Set switches
____________
- Use the numbering on the dip switch bank itself.
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16
__ __ __ __ __ __ __ __ __ ___ ___ ___ ___ ___ ___ ___
UP UP UP UP UP UP UP UP UP UP UP UP
DN DN DN DN
UP = OPEN
DN = CLOSED
Dial/Leased Switch : UP ( Dial )
2. Configure the modem
___________________
at&w1
OK
atz
OK
at&e7&e12&d3#p0$t1s2=130s10=1&w
OK
at$ba0$sb19200&w
OK
3. List the Modem Settings
_______________________
atl5l7l6
B0 E1 M1 Q2 R0 V1 X0 &E1 &E5 &E7 &E8 &E10 &E12 &E15
$MB14400 $SB19200 $BA0 &W0
$A0 &A0 #A0 &B0 &BS1 &C1 $D0 &D3 #DB0 $EB0 %E1 #F2 $F1 &G2 #L0 $MI0 &M0
&P0 #P0 &Q1 $R0 &R1 &RF1 &S1 $SP0 &SF0 %S0 #T1 $T1 $V0 $V6 $VD0 &X1 Y0
$MB14400 $SB19200 $BA0 &W0
S0 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S13 S24 S25 S30
003 130 013 010 008 004 045 000 006 001 080 037 020 000 000
________________________________________________________________________________
Rev 0201 W.Krall
ALT KEYWORDS
N-Class
N2000
N4000
L-Class
L1000
L2000
L3000
5184-0852
5184-0853
5184-0854
0960-1074
Support Link Modem
CCITT
GSP
-----End of Document ID: 1100413790------------------------------------------
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]