*BSD News Article 52022


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!EU.net!sun4nl!news.iaf.nl!iafnl.iaf.nl!yedi!wilko
From: wilko@yedi.iaf.nl (Wilko Bulte)
Subject: Re: Getting BSD PPP to talk to NT
Organization: Private FreeBSD site - Arnhem, The Netherlands CSgg DJOhttp Mail News Pictures SNAP WB auto bin cd_link cds correspond datab doc dos etiket folklore fractals freebsd htdocs html humor jubileum machines mail stor vll The Deamon is Free *
Message-ID: <DFqMF9.Gx@yedi.iaf.nl>
References: <44g35a$p3f@nnrp3.news.primenet.com>
Date: Sat, 30 Sep 1995 21:30:45 GMT
Lines: 53

Gregory Allen <gwa@primenet.com> writes:

>I've successfully configured iij PPP on my FreeBSD 2.0.5 box, and now I'd
>like to dial a NT 3.51 server running Remote Access Services.  I understand
>that NT uses PAP authentification, so iij PPP should work fine.  My problem
>is that I don't know what to put in my login script.  I need to know how to
>get the NT server to start talking PPP so that iij PPP can send the 
>authentification strings.

>Here's my current /etc/ppp/ppp.conf: (edited to remove passwords and such)

>default: 
>set device /dev/cuaa1 
>set speed 115200 
>disable lqr 
>deny lqr 
>set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-AT-OK \\dATDT
>\\T TIMEOUT 40 CONNECT"
>provider: 
>set phone <provider phone number> 
>set login "" 
>set ifaddr <my static ip> <gateway ip> 
>enable pap 

We had a similar setup and it only worked when we replaced 'enable pap'
by 'accept pap'. As far as I remember enable pap also requires the
NT machine to identify itself using PAP, which in our case it simply
refused to do. Accept PAP does identification to the NT box, but
does not require the NT box to do the same to you.

See below for what worked for us:

# Default setup. Executed always when PPP is invoked.
default:
 set device /dev/cuaa1
 set speed 57600
 set openmode active
 set login ""
 set ifaddr 0.0.0.0/0 0.0.0.0/0
 display

universal:
 set phone XXXXX
 set authname "ZZZZ"
 set authkey  "YYYY"
 disable chap
 deny chap
 accept pap
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATZ OK-AT-OK ATE1M1N0Q0S11=50 OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"

Hope this helps

	Wilko