[comp.unix.aix] Connecting AIX PS/2 to Modems

hhs@penguin.hut.fi (Hannu Strang) (10/25/89)

I have problems using AIX PS/2 with modems and would like to know what are
the correct settings in devices program and /etc/ports for a modem line.
If AIX wants some modem signals permanently on, a list of those would also
be helpful. AIX manuals don't say much about this.

With my current settings the modem answers correctly and also hangs up
when doing "stty 0". The main problem is, that when the modem disconnects
unexpectedly because of our friendly telephone company's noisy lines
AIX doesn't seem to notice anything. It doesn't send HUP signal to my
processes and they are still running when I call the system again.
That is, after reconnection I get my previous csh prompt and not the
login prompt. This is quite annoying.

I would also like the modem lines to be bi-directional. 

The machine is a PS/2 Model 80-111 with two Dual Asynchronous cards. I have
tried ports tty0 and tty2 with many different settings. The modem is a
Multitech V.32 with Hayes compatible command set and the RS232 speed
permanently set to 19200.

kevin@msa3b.UUCP (Kevin P. Kleinfelter) (10/26/89)

hhs@penguin.hut.fi (Hannu Strang) writes:

>I have problems using AIX PS/2 with modems and would like to know what are
>the correct settings in devices program and /etc/ports for a modem line.
>If AIX wants some modem signals permanently on, a list of those would also
>be helpful. AIX manuals don't say much about this.
...
>I would also like the modem lines to be bi-directional. 
...
This is indeed poorly documented (IMHO).  Via "devices" try the following:

tt=vt100
ae=true
dvam=remote
bpc=8
nosb=1
pt=none
elevel=1,4
rts=2400
ixp=false
aa=false
pro=dc

Now these are the values I use with my current software. Before I applied
a recent upgrade, it seems that setting PRO=DC caused SERIOUS problems.
IBM's support line was unable to give a technical explanation, and simply
said "Only  use PRO=DC for Direct Connections."  The critical parameters
seem to be DVAM and PRO.  I have found that changing settings of these
flags SOMETIMES seems to require a reboot to take effect.  My problems
were greatly reduced after I applied the UPDATE disks from August 1989.
If you do not have these, I suggest that you get them from IBM.  Also,
the devices command's menus on my machine have been modified by a
Dickens Data (multiport) serial driver, which seems to help quite a bit.
When I originally setup my machine (before Dickens and before updates),
I found that reading the "asy" section in the tech ref, running
"devices", and MANUALLY MODIFYING the major/minor node numbers, and
/etc/ports was required to get things to work.  I spent about a week.
I think a minor node of "64" seemed to work best.  Lotsa luck.