[svlug] PPP: Can Dial In and Out Coexist?

Alvin Oga alvin at planet.fef.com
Fri Nov 13 16:04:16 PST 1998


hi ya ray/tim...

> At 05:36 PM 11/13/98 -0500, Timothy King wrote:
> [deleted]
> >1. Is there some setup where I can both dial-in and dial-out?

dialin and dialout can co-exists at the same time....but...
you obviously cannot dialin and dialout at the same time...

and the serial ports all have a "lock" file to tell the other 
sw applications that the serial port is used...
	/dev/ttyS0 is the same as /dev/cua0....etc...

lock files will vary depending on which mechanism your box uses..
usually  /var/lock or /var/spool/uucp
	if one sw app uses /var/lock and another uses uucp-type locks
	than you got a problem...

To test if your locking is working right....
and assuming you have inittab respawning a new mgetty or uugetty
to watch your modem line...

use a regular phone to dial into your computer...and quickly
see if you can use minicom to dial out... ( should fail )

use minicom or seyon to initialize/use the modem port...
	seyon  -modems /dev/cuaxx   for dialing out

	change minicom.rc for defining which modem minicom uses

as long as inittab is respawning "gettys" seyon and minicom should fail
only when the modem is being used ( locked )

if the modem is NOT used.... than seyon and minicom should be
able to dial out 
	ie if you don't dial into the machine first...to cause uugetty 
	via inittab to lock the modem...

watch out for incoming phone line rollover... 
watch out for modem init strings....big pain

have fun
alvin

--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe



More information about the svlug mailing list