From owner-freebsd-questions Sat Aug 7 13:57:25 1999 Delivered-To: freebsd-questions@freebsd.org Received: from radagast.wizard.net (radagast.wizard.net [206.161.15.5]) by hub.freebsd.org (Postfix) with ESMTP id 512EA14CFC for ; Sat, 7 Aug 1999 13:57:19 -0700 (PDT) (envelope-from tyson@alumni.stanford.org) Received: from alumni.stanford.org (tc1-s16.wizard.net [206.161.15.46]) by radagast.wizard.net (8.8.7/8.8.7) with ESMTP id QAA31966; Sat, 7 Aug 1999 16:53:51 -0400 Message-Id: <199908072053.QAA31966@radagast.wizard.net> To: "Joseph Pecquet" Cc: freebsd-questions@freebsd.org Subject: Re: user ppp disconnects while trying to neg. LCP In-reply-to: Your message of "Sat, 07 Aug 1999 04:25:12 EDT." Date: Sat, 07 Aug 1999 16:53:32 -0400 From: "Donald R. Tyson" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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