🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.rt
4 messages
4 total messages Started by Jamie Watson Sat, 19 Mar 1988 20:56
Dial in/out on one line?
#1361
Author: Jamie Watson
Date: Sat, 19 Mar 1988 20:56
15 lines
991 bytes
How can I configure a modem line for dial in and dial out on a single line?  I
have a MultiTech card in an RT running AIX 2.1.2.  The Communications Guide
describes in detail how to set up incoming only or outgoing only.  It makes a
few references to using one line for both directions, but it never gives any
details on how to do it.

I've tried to set it up myself, but every time init spawns a new getty for the
incoming side, it changes the owner of the serial line to root, and the mode
to 622.  The next time uucico tries to open the line for an outgoing call, it
fails (of course).

Any help will be greatly appreciated.

jw    ...!mcvax!cernvax!pan!jw
Re: Dial in/out on one line?
#1362
Author: David L. Luner
Date: Mon, 21 Mar 1988 15:35
10 lines
753 bytes
I believe that this is a "restriction." A port cannot be set up for both
dial-in and dial-out UUCP access. The way around this is to have a cron or
at job pdisable the port prior to when uucp is going to try to call out.
I hope to have a better solution in the future, but I wouldn't hold my
breath.

David Luner
Systems Engineer
IBM Madison, WI
608-273-5243
Re: Dial in/out on one line?
#1367
Author: Jamie Watson
Date: Thu, 24 Mar 1988 06:30
24 lines
1667 bytes
In article <5424@spool.cs.wisc.edu> luner@ai.cs.wisc.edu (David L. Luner) writes:
>I believe that this is a "restriction." A port cannot be set up for both
>dial-in and dial-out UUCP access. The way around this is to have a cron or
>at job pdisable the port prior to when uucp is going to try to call out.
>I hope to have a better solution in the future, but I wouldn't hold my
>breath.

But you see, "pdisable/penable" is not the problem!  The uucico program does
that (at least, when run with -x9 it claims to do that), but then it can't
open the serial line, because the line is owned by root and mode 622.  I can
either the owner or mode by hand, and then everything works.  But the next
time a new getty is spawned, the owner and modes are changed back, and I'm
stuck again.

So far the best I can think of is to limit callout times, and have a cron
script which sets the owner and mode a the beginning of that time.  This is
not only ugly, though, it is prone to failure.

The fact that uucico diables and enables the port makes me believe that
someone intended for dialin/dialout on one line to work.  I'm hoping that
I just need to make some special kind of L-devices file entry, or something,
but perhaps they just never quite got it done right.

jw
Re: Dial in/out on one line?
#1370
Author: Charlie Sauer
Date: Tue, 29 Mar 1988 17:18
22 lines
1451 bytes
In article <381@pan.UUCP>, jw@pan.UUCP (Jamie Watson) writes:
> 
> How can I configure a modem line for dial in and dial out on a single line?  I
> have a MultiTech card in an RT running AIX 2.1.2.  The Communications Guide
> describes in detail how to set up incoming only or outgoing only.  It makes a
> few references to using one line for both directions, but it never gives any
> details on how to do it.
> 
> I've tried to set it up myself, but every time init spawns a new getty for the
> incoming side, it changes the owner of the serial line to root, and the mode
> to 622.  The next time uucico tries to open the line for an outgoing call, it
> fails (of course).

getty in AIX/RT 2.2 deals with this problem.  2.2 is scheduled to be
available in June.
-- 


Charlie Sauer   Dept D18, Bldg 802      aesnet: sauer@auschs
                IBM AES/ESD, Austin, TX   vnet: SAUER at AUSVM6
                (512) 823-3692           csnet: ibmaus!sauer@EMX.UTEXAS.EDU
                                          uucp: ut-sally!ut-emx!ibmaus!sauer
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads