From owner-freebsd-questions Sat May 17 15:11:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id PAA17251 for questions-outgoing; Sat, 17 May 1997 15:11:56 -0700 (PDT) Received: from www.xinetron.com (www.xinetron.com [206.86.215.68]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id PAA17246 for ; Sat, 17 May 1997 15:11:54 -0700 (PDT) Received: from pop.xinetron.com (pop.xinetron.com [206.86.215.82]) by www.xinetron.com (8.7.5/8.7.3) with ESMTP id PAA03155; Sat, 17 May 1997 15:10:51 -0700 (PDT) Received: from jason.xinetron.com (jason.xinetron.com [206.86.215.94]) by pop.xinetron.com (8.7.5/8.7.3) with SMTP id PAA15007; Sat, 17 May 1997 15:10:21 -0700 (PDT) Message-ID: <337E2CCE.27E7@xinetron.com> Date: Sat, 17 May 1997 15:10:22 -0700 From: Jason Liao Reply-To: jasonl@xinetron.com Organization: Xinetron, Inc. X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG CC: "Joshua M. Free" Subject: User PPP works! (Was: User PPP can not connect to Livingston Portmaster) References: <337CF5CB.41C67EA6@xinetron.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jason Liao wrote: > > Hi there, > > I am using FreeBSD 2.1.5 with user PPP. I tried to connect to an ISP > through ISDN with a Motorola Bitsurfer Pro ISDN modem. The ISP is using > Livingston Portmaster access unit. I can dial in and get connected, but > I can not set up any TCP/IP connection. If you have any suggestion, > please e-mail me. I appreciate your help! > > It seems that the user PPP has exchanged the authentication codes > successfully with the PPP server, but they have not set up any network > level connection. I used the same configuration to dial into a FreeBSD > box running kernel PPP. There is no such problem. > > PS. I can use the same modem, the same ISDN phone number to connect a > Windows 95 box to the ISP with the Dial-up Networking function of Win > 95. > > --------------------------- > ppp.conf file: > isp: > set device /dev/cuaa1 > set speed 115200 > disable lqr > deny lqr > set redial 10 4 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 25 \"\" > AT&F1&C1&D2%A4=0 OK-AT-OK \\dATDT\\T TIMEOUT 70 CONNECT" > set phone ******* > set ifaddr ***.***.***.***/24 0/0 > set authname xxxxxx > set authkey yyyyyy > disable chap > enable pap > I finally made it work. The key point is the "accept pap" line in the ppp.conf file. I used "accept pap" instead of "enable pap" to make it work. "accept pap" means I use PAP to authenticate myself to the server, while "enable pap" means I ask the server using PAP to authenticate it to me. New ppp.conf: ################################################################# # # PPP Configuration File # # Written by Toshiharu OHNO # Modified by Jason Liao # # $Id: ppp.conf,v 1.3.4.3 1996/06/17 09:17:50 jasonl Exp $ # ################################################################# # # ISP # isp: set device /dev/cuaa1 set speed 115200 disable lqr deny lqr disable vjcomp deny vjcomp set redial 10 4 set timeout 300 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 25 \"\" AT&F1&C1&D2%A4=0 OK-AT-OK \\dATDT\\T TIMEOUT 70 CONNECT" set phone ******* set ifaddr 123.45.67.89/24 123.45.67.98/0 add 0 0 123.45.67.98 set openmode passive disable chap disable pap accept chap accept pap set authname xxxxxxx set authkey yyyyyyy -- --------------------- Jason Liao ---------------------