ports/141342: net/mpd5 pppoe connection error
Volodymyr Kostyrko
c.kworr at gmail.com
Thu Dec 10 12:50:01 UTC 2009
>Number: 141342
>Category: ports
>Synopsis: net/mpd5 pppoe connection error
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Dec 10 12:50:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Volodymyr Kostyrko
>Release: RELENG_8_0
>Organization:
>Environment:
FreeBSD chmmr.3501.lan 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Mon Nov 23 13:17:37 EET 2009 arcade at chmmr.3501.lan:/usr/obj/usr/src/sys/MINIMAL_8 amd64
>Description:
Whe n connecting to mpd5 pool with pppoe from windows machine on my configuration first attempt almost certainly fails with:
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] CCP: Decompress using: mppc (MPPE(128 bits))
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: rec'd Configure Request #8 (Ack-Rcvd)
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPADDR 172.31.0.2
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] 172.31.0.2 is OK
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] PRIDNS 172.31.0.0
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: SendConfigAck #8
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] COMPPROTO VJCOMP, 16 comp. channels, allow comp-cid
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPADDR 172.31.0.2
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] PRIDNS 172.31.0.0
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: state change Ack-Rcvd --> Opened
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: LayerUp
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] 172.31.0.0 -> 172.31.0.2
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IFACE: Adding IPv4 address to ng3 failed: File exists
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IFACE: IfaceChangeAddr() error, closing IPCP
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: parameter negotiation failed
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: state change Opened --> Stopping
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: SendTerminateReq #2
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: LayerDown
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] rec'd unexpected protocol IP
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: rec'd Terminate Ack #2 (Stopping)
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: state change Stopping --> Stopped
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] IPCP: LayerFinish
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] Bundle: No NCPs left. Closing links...
Dec 10 13:41:53 chmmr mpd: [PKUNK-4] Bundle: closing link "re0-5"...
The next attempt however succeeds.
Here is a config sample:
startup:
set netflow node netflow0
set netflow hook 256
default:
#load dialup
load pppoe_server
pppoe_server:
create bundle template PKUNK
set bundle yes compression crypt-reqd
set ccp yes pred1 deflate mppc
set mppc yes e128 compress
set ecp key VitKukItboIpsoawvigs
set ipcp dns 172.31.0.0
set ipcp ranges 172.31.0.0/32 172.31.0.0/16
set iface enable netflow-in netflow-out
create link template common pppoe
set auth max-logins 1
set link action bundle PKUNK
set link no pap chap eap
set link yes incoming multilink passive
set link enable chap
set pppoe service "3501"
create link template re0 common
set link max-children 1000
set pppoe iface re0
set link enable incoming
>How-To-Repeat:
Any connection from other machine which should create ng* interface fails first time. Next attempt succeeds.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list