beautypg.com

Chapter 22, Zyxel modems and unix – ZyXEL Communications 2864 User Manual

Page 225

background image

22–1

Chapter 22

ZyXEL MODEMS AND UNIX

Hints for Unix Setups

Cable

Please consult the documentation that came with your workstation to find the part
number of or information on how to make a serial cable for your workstation. The
cable should be a hardware-handshaking cable. Please refer to Appendix A for a
complete list of signals provided by the modem its serial port.

Installation

Modem settings

Unix environments usually don’t like modem responses or echoing of commands.
Therefore you should set

ATE0Q1

. If you plan to install a dial-in line, don't forget

to set the S-register

S0

to a value other than 0 (e.g.

ATS0=2

) for auto-answer. De-

pending on your kind of Unix, the cable and software used, you may have to disa-
ble carrier detection using

AT&C0

.

Unix system files

If you wish to use your modem for dial-out connections, you only need appropriate
software, but no changes to system files are necessary. You need to generate infor-
mation or activate entries in at least two system files. If you wish to use your mo-
dem for dial-in connections, these files are

/etc/inittab

and

/etc/gettydefs

.

In

/etc/inittab

, you define which

getty

to use along with some parameters.

The final parameter on the definition line is a tag which points to an entry in the
file

/etc/gettydefs

discussed next. An example for your entry in

/etc/inittab

might be:

s1:45:respawn:/usr/lib/uucp/uugetty -mt60 -r- ttys01 MMULTI

The parameter

ttys01

should be replaced by the actual name of the used serial

port.