Subject: Re: I can't set my pppoe connection working properly.
To: Kun Niu <>
From: Martin Husemann <>
List: current-users
Date: 06/22/2007 15:02:57
On Fri, Jun 22, 2007 at 07:29:24PM +0800, Kun Niu wrote:
> #pppoectl -d pppoe0
> pppoe0: state = session
>        Session ID: 0x26b
>        PADI retries: 1
>        PADR retries: 0

So you have established a PPPoE session - great, that part is working.

> #pppoectl pppoe0
> pppoe0: phase=establish

But the PPP layer is unable to fully open the connection.

Does this problem consistently happen, even after a reboot?
You have set a very low maximum authentication failure limit:

>        max-auth-failure = 1

Maybe changing that to a few more, or completely disabling it for testing
might help.

Have you both tried "hisauthproto=none myauthproto=pap" and
"hisauthproto=none myauthproto=chap" on the pppoectl line?

If that doesn't help, you could turn on debugging and mail me the output
off-list. Debugging is enabled via:

  ifconfig pppoe0 debug
  ifconfig pppoe0 down
  ifconfig pppoe0 up

and disabled later via

  ifconfig pppoe0 -debug

The debug messages will be loged in /var/log/messages.