marcelo@sparcwood.Princeton.EDU (Marcelo A. Gallardo) (11/22/90)
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 .. marcelo@sparcwood.princeton.edu marcelo@phoenix.princeton.edu marcelo@pucc.princeton.edu marcelo@idunno.princeton.edu Marcelo Gallardo Test and Evaluation Specialist Princeton University Advanced Technologies and Applications 609 - 258 - 5661 .. Marcelo .. marcelo@sparcwood.princeton.edu marcelo@phoenix.princeton.edu marcelo@pucc.princeton.edu marcelo@idunno.princeton.edu Marcelo Gallardo Test and Evaluation Specialist Princeton University Advanced Technologies and Applications 609 - 258 - 5661
mst@mx.csun.edu (Michael Temkin) (11/27/90)
In article <4206@idunno.Princeton.EDU> marcelo@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@csun.edu Cal. State U. Northridge, School of Engineering and Computer Science Voice phone: (818) 885-3919