ITEM: H2142L
How can Hayes commands be sent to a modem on AIX 3.2.any_level?
Question:
What are the steps to configure AIX at any 3.2 level so that modem command
strings can be sent to any brand of modem using the CU utility and the
uucpadm command?
*************************************************************************
Response:
The tty which has a modem attached should be configured as a "dumb" device.
It will normally be acceptable to use the default port values such as 8-bits
per character, 1 stop bit, no parity and 9600 BPS.
There should not be a getty respawned on the TTY as viewed in the /etc/inittab
file. To prevent the CU command from returning the "No Devices Available"
error message, the /etc/uucp/Devices file must be edited via these steps as
the root user:
cd /usr/lib/uucp
uucpadm
Choose option 1) Add/Change UUCP devices
As an example, the "Uucp Device Maintenance" panel for tty0 should appear
as:
Type: Direct
Line1: tty0
Line2:
Class: 9600
Dialer: direct
Next, the ACU entry in the Devices file should be verified with the
same procedures as just described using the uucpadm command and
the "Add/Change UUCP devices" selection. In this case, the "UUCP
Device Maintenance" panel should appear as follows:
Type: ACU
Line1: tty0
Line2:
Class: 9600
Dialer: hayes
After verifying the Devices entries, the connection should tested by
issuing the "cu -ml tty\#" command. If a lock file exists as may be
signified by a message which indicates that the device was locked, then
that lock file should be removed via:
cd /etc/locks
rm *tty\#*
The "cu -ml tty\#" command should be re-executed to gain a connection.
As an example only, a Hayes command string to the modem could appear
as "ATE0Q2&D2&C1S0=1&W". To end the connection to the modem, type
"~.". When ended, the "connection has ended" message should be
displayed. The modem string depends on the type of modem being used.
In the case of a non-IBM modem, modem configuration assistance is
available as a CONSULTLINE offering.
Support Line: How can Hayes commands be sent to a modem on AIX 3.2.any_level? ITEM: H2142L
Dated: May 1994 Category: N/A
This HTML file was generated 99/06/24~13:30:48
Comments or suggestions?
Contact us