Dial-in and Dial-out
Michael Temkin
mst at mx.csun.edu
Tue Nov 27 14:22:55 AEST 1990
In article <4206 at idunno.Princeton.EDU> marcelo at sparcwood.Princeton.EDU (Marcelo A. Gallardo) writes:
>
>I have not had any luck making a port both dialin and dialout. The A/UX
>manuals explain how to set up a port for dialin/dialout access with the
>Apple Personal Modem, but this doesn't seem to work with other modems.
>
>Has anyone gotten a port (say tty0) to be both dialin and dialout?
>
>
> .. Marcelo ..
Yes, I have my modem set up for dial-in during run-level 2 and dial-out
during run-level 3. I followed the instruction is the v1.1.1 manuals,
not the ones in the v2.0 manuals. Here are my tty0 lines from /etc/inittab:
du:2:respawn:/etc/getty tty0 mo_2400 # Port 0 (modem); set to "respawn"
do:3:off:/etc/getty tty0 mo_2400 # Port 0 (modem); set to "respawn"
du=dialup, do=dialout
Just remember to change any line with a 2 after the first ':' to be 23
instead of just 2. Like this:
change this:
net8:2:off:/usr/lib/sendmail -bd -q30m # set to "once" for mail
to this:
net8:23:off:/usr/lib/sendmail -bd -q30m # set to "once" for mail
otherwise you will not be running sendmail when you "init 3". I could
be wrong about this (I am of a BSD background) but the manual said
(I know, you can't believe everything you read in a manual) that all
of the run-level 2 processes would be killed when you enter run-level 3.
BTW: To see what run-level you are at, type "who -r", of course "who -a"
gives you loads of neat information :-) .
Mike.
--
Mike Temkin
mst at csun.edu
Cal. State U. Northridge, School of Engineering and Computer Science
Voice phone: (818) 885-3919
More information about the Comp.unix.aux
mailing list