From nobody@FreeBSD.org  Sat Dec 23 22:49:16 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id DE16D16A407
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Dec 2006 22:49:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id D1E8113C45A
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Dec 2006 22:49:16 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kBNMnGNi053102
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 23 Dec 2006 22:49:16 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kBNMnGuo053101;
	Sat, 23 Dec 2006 22:49:16 GMT
	(envelope-from nobody)
Message-Id: <200612232249.kBNMnGuo053101@www.freebsd.org>
Date: Sat, 23 Dec 2006 22:49:16 GMT
From: "Michael P. Soulier"<msoulier@digitaltorque.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /etc/rc.d/ppp-user does not bring up pppoe at boot
X-Send-Pr-Version: www-3.0

>Number:         107155
>Category:       conf
>Synopsis:       [ppp] /etc/rc.d/ppp-user does not bring up pppoe at boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-rc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 23 22:50:13 GMT 2006
>Closed-Date:    Fri Jan 25 13:28:05 UTC 2008
>Last-Modified:  Fri Jan 25 13:28:05 UTC 2008
>Originator:     Michael P. Soulier
>Release:        5.4
>Organization:
>Environment:
[root@kanga ~]# uname -a
FreeBSD kanga.digitaltorque.ca 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
I have ppp_enable="YES" in my /etc/rc.conf. I'm using ppp support for my
home ADSL connection. 

[root@kanga ~]# grep ppp /etc/rc.conf
ppp_enable="YES"
ppp_mode="ddial"
#ppp_nat="YES" # if you want to enable nat for your local network, otherwise NO
ppp_profile="storm"

This works fine if, after boot, I invoke it manually.

/etc/rc.d/ppp-user start

But, this is not happening at boot. 

The handbook says that this configuration is correct.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/pppoe.html

But, there's no tun0 interface at boot time. I have to run it myself.

Help appreciated. I tried freebsd-questions already, but to no avail. 
>How-To-Repeat:
Not sure how you can reproduce if it's not my system as I don't know
the cause. All I need to do is reboot. 
>Fix:
Just a workaround. I run it by hand.

I did notice though, that in the REQUIRES for ppp-user, it had isdnd.
As I don't use isdn, I removed that, but it didn't help.

rcorder says it's going to run it...

[root@kanga ~]# rcorder /etc/rc.d/* | grep -B1 -A1 ppp-user
/etc/rc.d/netif
/etc/rc.d/ppp-user
/etc/rc.d/ipfw

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sun Dec 24 10:53:38 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107155 

From: Mike Makonnen <mtm@FreeBSD.Org>
To: msoulier@digitaltorque.ca
Cc: bug-followup@FreeBSD.org
Subject: Re: conf/107155: [ppp] /etc/rc.d/ppp-user does not bring up pppoe a
	t boot
Date: Thu, 17 May 2007 13:30:46 +0300

 Can you please put rc_debug=yes in /etc/rc.conf (note: you'll get a
 lot of output) and mail me the output around the invocation of ppp at
 boot and when when you run it manually?
 
 Thanks.
 -- 
 Mike Makonnen         | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc
 mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8  5279 5359 2B82 7CD4 1F55
 mtm @ FreeBSD.Org     | FreeBSD - http://www.freebsd.org
State-Changed-From-To: open->closed 
State-Changed-By: mtm 
State-Changed-When: Fri Jan 25 13:26:27 UTC 2008 
State-Changed-Why:  
feedback timeout (> 6 months). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=107155 
>Unformatted:
