Subject: Re: PPPoE problems.
To: None <netbsd-users@netbsd.org>
From: M. Parsons <mrparsons@gmail.com>
List: netbsd-users
Date: 07/12/2006 12:31:30
------=_Part_14633_19530146.1152721890022
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 7/8/06, M. Parsons <mrparsons@gmail.com> wrote:
>
> Hello,
>
> I am having problems getting the kernel PPPoE networking working with
> NetBsd-3.0.
>
> I follow the docs at http://www.netbsd.org/Documentation/network/pppoe/
> but it does not work.
>
> All I get is:
>
> "pppoe0: ipcp illegal conf-req in state initial" in /var/log/messages.
>
> The Roaring pengiun pppoe software does work, so I know my login works, my
> nic works, etc, but I would rather use the kernel module.
>
> Gathering from the roaring logs, my isp uses pap.
>
> Ive tried:
>
> pppoectl pppoe0 myauthproto=pap 'myauthname=mylogin@sympatico.ca'
> 'myauthsecret=mypass' hisauthproto=none
>
> and various combinations.. removing hisauthproto, etc.
>
> Any ideas on how to get it working?
>
> Thanks
>


We have found the 'problem' for this.  Its basically the bug listed at
http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=30694

On the pppoe howto at http://www.netbsd.org/Documentation/network/pppoe/ it
lists the command "ifconfig pppoe0 inet 0.0.0.0 0.0.0.1 down" as one of the
commands to initiate a pppoe connection.  As stated in the bug above, the
"down" part of the ifconfig line is not recognized, and the pppoe commands
that follow wont work with the pppoe interface being up.

A simple fix is to issue the command "ifconfig pppoe0 down" after typing the
inet 0.0.0.0 line in.  This will ensure that the pppoe0 interface is down
and the remaining pppoe connection commands will initiate a valid pppoe0
session.

This is for netbsd 3.0.  And will hopefully help out with any other pppoe
users that might come across this.

Thanks to Martin H. for helping out. :-)  And hope this makes sense. :)

Mark

------=_Part_14633_19530146.1152721890022
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><br><div><span class="gmail_quote">On 7/8/06, <b class="gmail_sendername">M. Parsons</b> &lt;<a href="mailto:mrparsons@gmail.com">mrparsons@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hello,<br><br>I am having problems getting the kernel PPPoE networking working with NetBsd-3.0.<br><br>I follow the docs at <a href="http://www.netbsd.org/Documentation/network/pppoe/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.netbsd.org/Documentation/network/pppoe/
</a>&nbsp; but it does not work.<br><br>All I get is:<br><br>&quot;pppoe0: ipcp illegal conf-req in state initial&quot; in /var/log/messages.<br><br>The Roaring pengiun pppoe software does work, so I know my login works, my nic works, etc, but I would rather use the kernel module.
<br><br>Gathering from the roaring logs, my isp uses pap.<br><br>Ive tried:<br><br>pppoectl pppoe0 myauthproto=pap 'myauthname=<a href="mailto:mylogin@sympatico.ca" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mylogin@sympatico.ca</a>' 'myauthsecret=mypass' hisauthproto=none
<br><br>and various combinations.. removing hisauthproto, etc.<br><br>Any ideas on how to get it working?<br><br>Thanks</div></blockquote><div><br><br>We have found the 'problem' for this.&nbsp; Its basically the bug listed at&nbsp; 
<a href="http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=30694">http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=30694</a><br><br>On the pppoe howto at <a href="http://www.netbsd.org/Documentation/network/pppoe/">
http://www.netbsd.org/Documentation/network/pppoe/</a> it lists the command &quot;ifconfig pppoe0 inet <a href="http://0.0.0.0">0.0.0.0</a> <a href="http://0.0.0.1">0.0.0.1</a> down&quot; as one of the commands to initiate a pppoe connection.&nbsp; As stated in the bug above, the &quot;down&quot; part of the ifconfig line is not recognized, and the pppoe commands that follow wont work with the pppoe interface being up.
<br><br>A simple fix is to issue the command &quot;ifconfig pppoe0 down&quot; after typing the inet <a href="http://0.0.0.0">0.0.0.0</a> line in.&nbsp; This will ensure that the pppoe0 interface is down and the remaining pppoe connection commands will initiate a valid pppoe0 session.
<br><br>This is for netbsd 3.0.&nbsp; And will hopefully help out with any other pppoe users that might come across this.<br><br>Thanks to Martin H. for helping out. :-)&nbsp; And hope this makes sense. :)<br><br>Mark<br></div></div>
<br>

------=_Part_14633_19530146.1152721890022--