Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Aug 1999 16:53:32 -0400
From:      "Donald R. Tyson" <tyson@alumni.stanford.org>
To:        "Joseph Pecquet" <jpe@fuse.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: user ppp disconnects while trying to neg. LCP 
Message-ID:  <199908072053.QAA31966@radagast.wizard.net>
In-Reply-To: Your message of "Sat, 07 Aug 1999 04:25:12 EDT."

next in thread | raw e-mail | index | archive | help
Joseph --

For what they're worth, try the ppp.conf and ppp.linkup
files I use, as shown below (assumes your ISP uses PAP);
plus the relevant ppp.secret and 
/etc/hosts files as shown in the Handbook:

/etc/ppp/ppp.conf:

default:
 set log Phase Chat LCP IPCP CCP tun command
 set device /dev/cuaa1
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"

(name of your dialing script here): 
 set phone *70,1234567890
 set login 
 set timeout 300 
 deny lqr
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR
 delete ALL
 add 0 0 HISADDR
 set authname yourusername
 set authkey yourpassword

/etc/ppp/ppp.linkup:

MYADDR:
 delete ALL
 add 0 0 HISADDR

Hope this helps.  Don Tyson

> 
> 

> I have been unable to make user mode ppp work (or kernel mode, for that =
> matter).  My isp won't support non-windows users, and so has not been =
> helpfull.  As you can see below, LCP never opens.  I have tried =
> variations of the parameters with no change in behavior.  Is there any =
> way to make this work? Thanks...
> -joseph (jpe@fuse.net)
> as suggested in FAQ, I tried set openmode passive but it did not help.  =
> Here are the relevant files:
> (note that I have been testing with interactive mode only so far)
> /etc/ppp/ppp.conf
> 
> default:
> 
> set log Phase LCP tun
> 
> set device /dev/cuaa1
> 
> set speed 115200
> 
> # deny pred1
> 
> # disable pred1
> 
> # deny lqr
> 
> # disable lqr
> 
> # deny shortseq
> 
> # disable shortseq
> 
> set mru 1524
> 
> # set mrru 1524
> 
> set mrru
> 
> # enable pap
> 
> # set openmode active 2
> 
> set openmode passive
> 
> # set lcpretry 10 10 10
> 
> # set lcpretry 20
> 
> set lcpretry 6
> 
> set accmap 000a0000
> 
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 60 \"\" ATE1Q0 OK-AT-OK =
> \\dATDT\\T TIMEOUT 50 CONNECT"
[snipped]
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908072053.QAA31966>