From owner-cvs-all  Wed Mar 28 18:16:32 2001
Delivered-To: cvs-all@freebsd.org
Received: from mail.gmx.net (pop.gmx.net [194.221.183.20])
	by hub.freebsd.org (Postfix) with SMTP id 89E0F37B719
	for <cvs-all@FreeBSD.org>; Wed, 28 Mar 2001 18:16:29 -0800 (PST)
	(envelope-from Gerhard.Sittig@gmx.net)
Received: (qmail 32016 invoked by uid 0); 29 Mar 2001 02:16:18 -0000
Received: from pd9508817.dip.t-dialin.net (HELO speedy.gsinet) (217.80.136.23)
  by mail.gmx.net (mp001-rz3) with SMTP; 29 Mar 2001 02:16:18 -0000
Received: (from sittig@localhost)
	by speedy.gsinet (8.8.8/8.8.8) id WAA25917
	for cvs-all@FreeBSD.org; Wed, 28 Mar 2001 22:29:42 +0200
Date: Wed, 28 Mar 2001 22:29:42 +0200
From: Gerhard Sittig <Gerhard.Sittig@gmx.net>
To: cvs-all@FreeBSD.org
Subject: Re: cvs commit: src/usr.sbin/ppp bundle.c ether.c iface.c iface.h
Message-ID: <20010328222942.D20830@speedy.gsinet>
References: <brian@FreeBSD.org> <200103281030.f2SAUFm53419@hak.lan.Awfulhak.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 1.0i
In-Reply-To: <200103281030.f2SAUFm53419@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Wed, Mar 28, 2001 at 11:30:15AM +0100
Organization: System Defenestrators Inc.
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

On Wed, Mar 28, 2001 at 11:30 +0100, Brian Somers wrote:
> 
> > brian       2001/03/28 01:45:28 PST
> > 
> >   Modified files:
> >     usr.sbin/ppp         bundle.c ether.c iface.c iface.h 
> >   Log:
> >   Bring the PPPoE interface UP if required
> 
> I think this should be MFC'd.  Without this change, ADSL users
> that don't user their network interface for anything else are
> likely to *not* have it IFF_UP and pppoe won't work.

Well, I've been bitten by this, too, a few months ago.  But when
implementing a PPP connection one is following the logs anyway.
And after seeing the "no carrier" message I decided for a simple
solution like

    network_interfaces="lo0 rl0 rl1"
    ifconfig_rl1="up"

which made the connection work flawlessly.

If this change to bring the interface up magically won't be MFCed
maybe there should be something in the doc to state that even if
you don't configure ("ifconfig(8) inet ...") the interface you
should "ifconfig ... up" it.


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
-- 
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.

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