Skip site navigation (1)Skip section navigation (2)
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>
In-Reply-To: <200103281030.f2SAUFm53419@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Wed, Mar 28, 2001 at 11:30:15AM %2B0100
References:  <brian@FreeBSD.org> <200103281030.f2SAUFm53419@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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