Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2005 19:35:54 GMT
From:      Marius Cirsta <mforce2@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/88619: ppp chat auth fails ( pppoe )
Message-ID:  <200511071935.jA7JZs11079382@www.freebsd.org>
Resent-Message-ID: <200511071940.jA7JeEBf031790@freefall.freebsd.org>

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

>Number:         88619
>Category:       i386
>Synopsis:       ppp chat auth fails ( pppoe )
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 07 19:40:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marius Cirsta
>Release:        FreeBSD 6 Release
>Organization:
none
>Environment:
FreeBSD  6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
 I'm trying to get ppp to work to conect with my ISP using pppoe but it fails on ( chap )authentification . I works in WindowsXP ( with pap ) and with rp-pppoe in Linux .  
 I've looked at the FreeBSD handbook and what it says about pppoe so I've use this ppp.conf file :

 default:
  set log Phase tun command # you can add more detailed logging if you wish
  set ifaddr 10.0.0.1/0 10.0.0.2/0

rds:
  set device PPPoE:xl0:rds # replace xl1 with your Ethernet device
  deny chap
  disable chap
  accept pap
  set authname "tm212418"
  set authkey "pass"
  set dial
  add default HISADDR

 Here's the ppp.log I get :

Nov  7 15:05:25  ppp[556]: Phase: Using interface: tun0
Nov  7 15:05:25  ppp[556]: Phase: deflink: Created in closed state
Nov  7 15:05:25  ppp[556]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0
Nov  7 15:05:25  ppp[556]: tun0: Command: rds: set device PPPoE:xl0:rds
Nov  7 15:05:25  ppp[556]: tun0: Command: rds: deny chap
Nov  7 15:05:25  ppp[556]: tun0: Command: rds: disable chap
Nov  7 15:05:25  ppp[556]: tun0: Command: rds: accept pap
Nov  7 15:05:25  ppp[556]: tun0: Command: rds: set authname tm212418
Nov  7 15:05:25  ppp[556]: tun0: Command: rds: set authkey ********
Nov  7 15:05:25  ppp[556]: tun0: Command: rds: set dial
Nov  7 15:05:25  ppp[556]: tun0: Command: rds: add default HISADDR
Nov  7 15:05:25  ppp[556]: tun0: Phase: PPP Started (foreground mode).
Nov  7 15:05:25  ppp[556]: tun0: Phase: bundle: Establish
Nov  7 15:05:25  ppp[556]: tun0: Phase: deflink: closed -> opening
Nov  7 15:05:25  ppp[556]: tun0: Phase: deflink: Connected!
Nov  7 15:05:25  ppp[556]: tun0: Phase: deflink: opening -> dial
Nov  7 15:05:25  ppp[556]: tun0: Phase: deflink: dial -> carrier
Nov  7 15:05:25  ppp[556]: tun0: Phase: Received NGM_PPPOE_ACNAME (hook "RMSPPPOE")
Nov  7 15:05:26  ppp[556]: tun0: Phase: Received NGM_PPPOE_SESSIONID
Nov  7 15:05:26  ppp[556]: tun0: Phase: Received NGM_PPPOE_SUCCESS
Nov  7 15:05:26  ppp[556]: tun0: Phase: deflink: carrier -> login
Nov  7 15:05:26  ppp[556]: tun0: Phase: deflink: login -> lcp
Nov  7 15:05:27  ppp[556]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
Nov  7 15:05:29  ppp[556]: tun0: Phase: bundle: Authenticate
Nov  7 15:05:29  ppp[556]: tun0: Phase: deflink: his = CHAP 0x81, mine = none
Nov  7 15:05:29  ppp[556]: tun0: Phase: Chap Input: CHALLENGE (16 bytes from -)
Nov  7 15:05:29  ppp[556]: tun0: Phase: Chap Output: RESPONSE (tm212418)
Nov  7 15:05:29  ppp[556]: tun0: Phase: Chap Input: FAILURE (E=691 R=1 C=267EE5752572186443EE39BBB780B65E V=3)
Nov  7 15:05:29  ppp[556]: tun0: Phase: deflink: Disconnected!
Nov  7 15:05:29  ppp[556]: tun0: Phase: deflink: lcp -> logout
Nov  7 15:05:29  ppp[556]: tun0: Phase: deflink: logout -> hangup
Nov  7 15:05:29  ppp[556]: tun0: Phase: deflink: Disconnected!
Nov  7 15:05:29  ppp[556]: tun0: Phase: deflink: Connect time: 4 secs: 267 octets in, 196 octets out
Nov  7 15:05:29  ppp[556]: tun0: Phase: deflink: 8 packets in, 7 packets out
Nov  7 15:05:29  ppp[556]: tun0: Phase:  total 115 bytes/sec, peak 38 bytes/sec on Mon Nov  7 15:05:28 2005
Nov  7 15:05:29  ppp[556]: tun0: Phase: deflink: hangup -> closed
Nov  7 15:05:29  ppp[556]: tun0: Phase: bundle: Dead
Nov  7 15:05:29  ppp[556]: tun0: Phase: PPP Terminated (normal).

 This seems to be a problem with the chap auth . Maybe it's my provider's faul but what I would like to do is authentificate using pap because at least that works in WindowsXP . However I can't seem to convince it to give up chap and use pap even though I've put in deny and disable chat .
 Maybe this isn't a bug but I can't seem to find help anywhere else .
 Thanks .
>How-To-Repeat:
              
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



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