On 13 Oct, [EMAIL PROTECTED] wrote:
> On Wed, 13 Oct 1999 [EMAIL PROTECTED] wrote:
>> I'm trying to setup a two-way dial-on-demand system between a Linux box
>> and an Ascend MAX router.  I can get TCP/IP (telnet) operating in both
>> directions, but I can only set it up so that dial-out works, or dial-in
>> works, but I cannot get dial-out and dial-in to work simultaneously.
>> 
>> Basically, dial-in works only if pppd is started with auth, and
>> dial-out only works without auth.  From the LCP debug output, it looks
>> like the following happens with dial-out and auth:
>> diald phones, connects.
>> diald runs "pppd auth ...."
>> max says "Hello, who are you?"
>> pppd says "Hello, who are you?"
>> max responds "You called me, please identify yourself first".
>> pppd: disconnect - peer refused to authenticate.
>> 
>> Without auth:
>> diald phones, connects.
>> diald runs "pppd ...."
>> max says "Hello, who are you?"
>> pppd says "I am such-and-such"
>> max says "Welcome"
>> 
>> pppd defaults to "auth if peer requests", however I would like "auth" on
>> incoming calls.  Is there a way to run "auth" on incoming, but not
>> outgoing?
> 
> You can give a completely different configuration on the command line for
> incoming pppd in login.conf if you use mgetty.
> 
> You can give a completely differenf conf for outgoing pppd in diald.conf.

Thanks for the help - this got me further, but I ran into another snag.

pppd refuses to add a default route if diald is running - so if diald is
running, and I use pppd to answer, the default route is sl0, and diald
tries to dial out.  So I have to use a script which deletes diald's sl0
route before running pppd.  It works, but its a bit of a kludge. 
Further, pppd doesn't time out, which diald does do (fixable at the MAX
side).
 
> Dont put anything in the ppp options file that gets used both times.
> 
>> 
>> Version info:
>> Linux: 2.0.27+ (2.0 series), libc5.
>> pppd: 2.2.0f
>> diald: 0.16.4, 0.16.5 and 0.99.1
>> max: 6030 running 5.0Ap42+

-- 
Kind regards,                             
Berend                                  
                                        
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Berend De Schouwer, +27-11-339-6111, UCS


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to