Sorry for my late answer.
> On Sat, Dec 23, 2006 at 02:59:19PM +0100, Patrik Weiskircher wrote:
>>
>> I didn't look at the apt-get output, but afterwards when I tried to boot
>> my new router and enter pppoeconf, I got a lot of strange error messages
>> which were overwritten by the pppoeconf dialog again. So I did a
>> pppoeconf 2>/tmp/pppoeconf.log
>> and saw that it was missing a pppoe binary(!).
>
> Could you paste your pppoeconf.log?
> What is this "pppoe binary"?
It was /usr/sbin/pppoe.
>
>> So in part it is my fault - I should have checked more carefully if it
>> gets installed. But I do not see any reason why the pppoeconf package
>> should not depend on the pppoe package - as far as I know you can't do
>> anything with pppoeconf without pppoe.
>
> The only binary in pppoeconf is pppoe-discovery, which is part of
> ppp package. Then there is no reason to have dependency with
> pppoe package. I'm curious to see why you need another binary.
I think I know why it didn't work for me.
I didn't have pppoe support in the kernel at first..
Now I just looked into the pppoeconf script and discovered this:
if test -x /usr/sbin/pppoe-discovery && test -e /proc/net/pppoe ; then
kernel_pppoe=1
DISCOVERY_PROGRAM=pppoe-discovery
else
DISCOVERY_PROGRAM=pppoe
fi
export DISCOVERY_PROGRAM
As I didn't have /proc/net/pppoe it did a fallback to pppoe, which I didn't
have installed either... as this error case is not checked it just.. did
something undefined, I guess.
Maybe a better solution would be:
if test -x /usr/sbin/pppoe-discovery && test -e /proc/net/pppoe ; then
kernel_pppoe=1
DISCOVERY_PROGRAM=pppoe-discovery
else
if [ ! test -x /usr/bin/pppoe ]; then
echo "Please enable pppoe support in the kernel or install the pppoe"
echo "Package".
exit 1
fi
DISCOVERY_PROGRAM=pppoe
fi
export DISCOVERY_PROGRAM
Or something similar.
Thanks again,
Patrik
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]