Bug#356561: [axel.noetzold@gmx.de: Re: Bug#356561: pppoeconf: does not insert the pre-up line in /etc/network/interfaces]
----- Forwarded message from Axel Nötzold <axel.noetzold@gmx.de> -----
X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on
webmin.steelfarms.net
X-Spam-Level:
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham
version=3.1.0
X-Authenticated: #23968457
To: Justin Pryzby <justinpryzby@users.sourceforge.net>
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 <axel.noetzold@gmx.de>
X-Y-GMX-Trusted: 0
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
> -fi
> +# 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
pre-up...
> Justin
Axel
----- End forwarded message -----
Reply to: