Am 08.12.2011 09:19, schrieb Ralf Mardorf:
> if I run (as root, there anyway still is no user) 'netcfg pppoe' I get 'error sending/receiving pppoe packet: Network is down'.
> I never set up a wired pppoe connection manually before.
> PS: I've seen that there are 2 entries to edit and one might or might not be a typo. Perhaps I'm missing much more
> root@PartedMagic:/media/sda9# cat etc/network.d/pppoe
The problem here is that the 'eth0' interface is not up when pppd is
launched. This would be easily solved by running
ip link set eth0 up
before launching pppd, but netcfg doesn't know that. I always planned to
write a 'pppoe' target for netcfg, but never did.
I can't think of a good workaround right now, maybe someone else has an
> root@PartedMagic:/media/sda9# cat etc/ppp/peers/alice
> # /etc/ppp/peers/your_provider
> plugin rp-pppoe.so
> # rp_pppoe_ac 'your ac name'
> # rp_pppoe_service 'your service name'
> # network interface
> # login name
> name "[snip]"
> # Uncomment this if you want to enable dial on demand
> #idle 180
> root@PartedMagic:/media/sda9# cat etc/ppp/pppoe.conf
You don't need pppoe.conf - you don't even need the rp-pppoe package.
You only need the ppp package and the peers/pap-secrets files as shown
There is some more information in the HOWTO  I wrote years ago, but
much of it is outdated.