Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 1999 18:25:41 -0500 (EST)
From:      Dru <genisis@istar.ca>
To:        "E. Hakan Duran" <hakan_duran@hotmail.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ppp login failure
Message-ID:  <Pine.BSF.4.10.9912281820010.39989-100000@genisis.istar.ca>
In-Reply-To: <19991228231740.80088.qmail@hotmail.com>

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

Get rid of the lines

disable chap
disable pap
papchap:

Then try 

dial ISP 

while in ppp mode.

(You've disabled pap and chap for ISP, yet want it to use it in papchap
with your authname and authkey lines).

Hope this helps; you don't seem to be too far off.

Dru


On Wed, 29 Dec 1999, E. Hakan Duran wrote:

> Hi there,
> 
> Although I can easily get connected to my ISP using my Win98, I could not
> establish same connection with ppp.  Below you can find a copy of my
> ppp.conf.  At times I tried to connect manually and I got such a result that
> ppp ON>
> Ppp ON>        but then
> ppp ON> again.
> I understand from the above mentioned output that I have a problem in
> authorization.  Well, after the dial command (manual login) and the
> handshaking of modems are completed, username:" and "password:" prompts
> appear in the terminal screen.  Sending the appropriate information results
> in nothing, so I akso send a "~p" to initiate ppp.  Then, above mentioned
> output is shown on the screen.
> 
> Thanks everyone to participate.
> 
> 
> 
> Hakan
> 
> 
> ppp.conf:
> 
> 
> #################################################################
> # PPP  Sample Configuration File
> # Originally written by Toshiharu OHNO
> # Simplified 5/14/1999 by wself@cdrom.com
> #
> # $FreeBSD: src/etc/ppp/ppp.conf,v 1.1.2.2 1999/08/29 14:19:56 peter Exp $
> #################################################################
> 
> default:
> 
>  #
>  # Make sure that "device" references the correct serial port
>  # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
>  #
> 
>  set device /dev/cuaa3
> 
>  set log Phase Chat LCP IPCP CCP tun command
>  set speed 115200
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0
> OK
> \\dATDT\\T TIMEOUT 60 CONNECT"
> 
> ui-gate:                                            #These lines return an
> error message.
>  set escape 0xff                               #I put them to define a
> TCP/IP, the possible reason that I can not
>  set device ui-gate:ppp-in/tcp        #establish a connection.
> 
> ISP:
>  set phone 2976300
>  set login "TIMEOUT 15 login:-\\r-login:fsimsek \ word:...... \\P ocol:PPP"
>  set timeout 300
>  set ifaddr 10.0.0.1/0
>  add default HISADDR
>  accept chap
>  deny pap
>  disable chap
>  disable pap
>  enable dns
> 
> papchap:
> 
>  #
>  # edit the next three lines and replace the items in caps with
>  # the values which have been assigned by your ISP.
>  #
> 
>  set phone 2976300
>  set authname fsimsek
>  set authkey ......
> 
> 
> 
> 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?Pine.BSF.4.10.9912281820010.39989-100000>