Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 1997 15:10:22 -0700
From:      Jason Liao <jasonl@xinetron.com>
To:        freebsd-questions@FreeBSD.ORG
Cc:        "Joshua M. Free" <josh@jlc.net>
Subject:   User PPP works! (Was: User PPP can not connect to Livingston Portmaster)
Message-ID:  <337E2CCE.27E7@xinetron.com>
References:  <337CF5CB.41C67EA6@xinetron.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<jasonl@xinetron.com>
---------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?337E2CCE.27E7>