Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2002 22:16:42 +1000 (EST)
From:      Tim Robbins <tim@dilbert.robbins.dropbear.id.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/42407: ppp(8) IPV6CP fails
Message-ID:  <200209041216.g84CGgqQ002808@dilbert.robbins.dropbear.id.au>

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

>Number:         42407
>Category:       bin
>Synopsis:       ppp(8) IPV6CP fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 04 05:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tim Robbins
>Release:        FreeBSD 4.7-PRERELEASE i386
>Organization:
>Environment:
FreeBSD 4.7-PRERELEASE i386
Dell Dimension XPS M200s (old P200MMX box)
External V.90 modem
ISP is iPrimus, Melbourne, Australia

>Description:

While trying to connect to my ISP after upgrading to 4.7-PRERELEASE from
4.6.2-RELEASE, I get the following error:

ppp[628]: tun0: Phase: deflink: lcp -> open 
ppp[628]: tun0: Phase: bundle: Network 
ppp[628]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! 
ppp[628]: tun0: Warning: iface add: ioctl(SIOCAIFADDR, 210.50.43.24/24 -> 0.0.0.0): Destination address required 
ppp[628]: tun0: Error: ipcp_InterfaceUp: unable to set ip address 
ppp[628]: tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! 
last message repeated 4 times
ppp[628]: tun0: Phase: bundle: Terminate 
ppp[628]: tun0: Phase: deflink: open -> lcp 
ppp[628]: tun0: Phase: deflink: Carrier lost 

I did not get this error with 4.6.2-RELEASE.

This is my ppp.conf:

default:
 set log Phase Chat Connect tun
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/cuaa0
 set speed 115200
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
           \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
 set timeout 14400 # 4 hours
 set urgent +53
 allow user tim
 disable ipv6cp			# <-- workaround

iprimus:
 set phone ...
 set authname ...
 set authkey ...

 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR

No IPv6 options were changed from the defaults in /etc/rc.conf on either
4.6 or 4.7. Kernel config is GENERIC but with I586_CPU, HZ=1000,
IPFIREWALL and IPFIREWALL_FORWARD added, and devices I don't have removed.

An observation that may or may not be helpful is that "ifconfig" used to
show tun0 as having an inet6 address regardless of whether it was open
or not, but now it never shows one. Other interfaces still have their
useless inet6 addresses.

>How-To-Repeat:

Not exactly known.

>Fix:

Adding "disable ipv6" to /etc/ppp/ppp.conf works around the problem.

Otherwise, either make IPV6CP errors not fatal, disable it by default,
or add something to the release notes stating that IPV6CP may cause
problems.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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