Bug#356561: [email@example.com: Re: Bug#356561: pppoeconf: does not insert the pre-up line in /etc/network/interfaces]
----- Forwarded message from Axel Nötzold <firstname.lastname@example.org> -----
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
To: Justin Pryzby <email@example.com>
Subject: Re: Bug#356561: pppoeconf: does not insert the pre-up line in /etc/network/interfaces
X-Operating-System: Linux rincewind 2.6.10-kanotix-8
From: Axel Nötzold <firstname.lastname@example.org>
On Mon, Mar 13, 2006 at 01:27:39PM -0500, Justin Pryzby wrote:
> On Mon, Mar 13, 2006 at 05:33:33PM +0100, Axel N???tzold wrote:
> > On Sun, Mar 12, 2006 at 02:51:35PM -0500, Justin Pryzby wrote:
> > > On Sun, Mar 12, 2006 at 08:22:00PM +0100, Axel N???tzold wrote:
> > > > On Sun, Mar 12, 2006 at 02:06:44PM -0500, Justin Pryzby wrote:
> > > > > On Sun, Mar 12, 2006 at 07:39:06PM +0100, Axel N??tzold wrote:
> > > > > > The line "pre-up /usr/sbin/ifconfig eth0 up" in /etc/network/interfaces
> > > > > > is not inserted by pppoeconf. Therefore, the network will be down at boot.
> > > > > > In my second system (Sarge) pppoeconf make that properly.
> The relevant change is this:
> -if ! grep -q "line maintained by pppoeconf" $INTFILE ; then
> - sed -i -e 's,provider dsl-provider$, provider dsl-provider\n# please do
> not modify the following line\n pre-up /sbin/ifconfig eth0 up # line maintai
> ned by pppoeconf\n,' $INTFILE
> +# old crap, unreliable, does not work after reboot
> +# if ! grep -q "line maintained by pppoeconf" $INTFILE ; then
> +# sed -i -e 's,provider dsl-provider$, provider dsl-provider\n# please d
> o not modify the following line\n pre-up /sbin/ifconfig eth0 up # line maint
> ained by pppoeconf\n,' $INTFILE
> +# fi
> So the difficult part is to figure out why it is unreliable, and
> didn't work after a reboot; then, a solution should be simple.
> Unfortunately I know nothing of linux ppp so I'm not sure I can help
> much...though it would be simple enough to write a pre-up line if it
> doesn't exist...
*I* do not need help (using sid over years, there were lot of much
more ugly bugs in that time ;) ) and i added the line by myself.
I was curious, why the newer version is worse than the older.
Probably you are right blaming ppp. Considering when the problem occured
first, it was when (after a upgrade) the first time the message
"ppp_on_boot is depricated" at boot was visible...
prior to that time my /etc/network/interfaces never had a pre-up line.
At least, a hint for example in README.Debian should be given for the
----- End forwarded message -----