PPPoE woes



  • Hi,

    I'm currently plagued by an ISP needing PPPoE, and even if I am more than interested in testing pfSense 2.0 ALPHA, I've had so much problems in making it work properly that I gave up and finally went back to v1.2.2.

    Don't get me wrong, pfSense is a wonderful piece of software, and I've tested enough Linux-based firewall to conclude that pfSense v1.2.x have the best PPPoE stability of them all.

    Unfortunately, as of now, I cannot even try to test the new builds since I have problems at the very beginning.

    Okay…. enough laments, here are the facts:

    • Disconnect button doesn't work at all, nothing happens when you click on it.
    • Disable FTP Userland option doesn't show up as enabled if I check it and then click on Save.
    • I suspect that Block Private Networks and Block bogon Networks doesn't show up as enabled either (haven't tested with the newer builds, but had problem with that in the past)
    • Clicking on "Save" after a change on the WAN page (in PPPoE mode) render the connection completely non-working (in my case it was after checking "Disable FTP Userland"). Even a reboot doesn't fix the problem, altough in the Interface page it still shows as up as if it was still connected. But I was unable to disconnect it or reconnect since the button doesn't work.

    I was using Build from Feb 14th at 3:05 (if I remember well)

    After that I lost patience and reinstalled v1.2.2.

    If you succeed in making the PPPoE support better (and I HOPE you'll be able to do so), I will for sure install the 2.0 ALPHA again, but for now, I need a break  :(

    Thank you for all the work you do on pfSense, its awesome!

    Ark



  • Same here (all about PPPoE) but that is all on testing machine so I can bear that. For production all fw's ar on 1.2, 1.2.2 and one on 1.2.3.

    Sasa



  • Can you please test latest snapshots there were some changes that are backed up now that caused problems.
    If still does not work can you provide a log at least from system logs?

    I will verify the disconnect and other facilities regarding pppoe but connecting to PPPoE should not be a problem.



  • @ermal:

    Can you please test latest snapshots there were some changes that are backed up now that caused problems.
    If still does not work can you provide a log at least from system logs?

    I will verify the disconnect and other facilities regarding pppoe but connecting to PPPoE should not be a problem.

    Now it disconnects but there is no connect button after. Only way to get connected after that is go to wan interface page and click on save/apply changes.
    Why don't we have reconnect button to? And RRD graphs are still missing.

    Sasa




  • After loosing connection if you go to interfaces tab there is Disconnect button which do nothing but if you write this <https: 192.168.0.254="" status_interfaces.php?action="Connect&if=wan">in address bar and press Enter then connection is established again (well, you need to change IP address).

    Sasa</https:>



  • Try next snapshot



  • @ermal:

    Try next snapshot

    With snapshot pfSense-Full-Update-2.0-ALPHA-ALPHA-20090227-1542.tgz same error ocurres.

    I have get myself busy and tried to solve that problem so here it is:

    In file /etc/inc/pfsense-utils.inc there is section for pppoe which is responsible for status listing

    /* PPPoE interface? -> get status from virtual interface /
    case "pppoe":
    unset($linkinfo);
    exec("/usr/bin/netstat -I " . $ifinfo['if'] . " -nWb -f link", $linkinfo);
    $linkinfo = preg_split("/\s+/", $linkinfo[1]);
    if (preg_match("/*$/", $linkinfo[0])) {
    $ifinfo['pppoelink'] = "down";
    } else {
    /
    get PPPoE link status for dial on demand */
    $ifinfo['pppoelink'] = "up";

    I did some testing and after rewriting it to this problem was solved:

    /* PPPoE interface? -> get status from virtual interface /
    case "pppoe":
    unset($linkinfo);
    exec("/usr/bin/netstat -I " . $ifinfo['if'] . " -nWb -f link", $linkinfo);
    $linkinfo = preg_split("/\s+/", $linkinfo[1]);
    if (preg_match("/pppoe0/", $linkinfo[0])) {
    $ifinfo['pppoelink'] = "up";
    } else {
    /
    get PPPoE link status for dial on demand */
    $ifinfo['pppoelink'] = "down";

    I am not pretending that I know PHP and may be that breaks some code for multiple PPPoE connections but it works for single one which is that I need. This is not fix for multiple PPPoE connections.

    Sasa



  • Yeah i missed pushing some fixes yesterday.
    The next snapshots are fixed for sure.



  • Howdies new here and not too expierianced with FreeBSD thought I would post what I believe to be same problem here.  My current setup is 3 lan cards 2 intended to be wans and one lan 2 wans ppoe.  Currently have updated my PFSense to "2.0-ALPHA-ALPHA built on Mon Mar 2 01:35:06 EST 2009 FreeBSD 7.1-RELEASE-p3" most rescent update applied is "pfSense-Full-Update-2.0-ALPHA-ALPHA-20090302-0135" once I configure the interfaces the console shows "Fatal error: Cannot redeclare interfaces_bring_up() (previously declared in /etc/inc/interfaces.inc:43) in /etc/inc/interfaces.inc on line 50"  this error seems to have been in several builds.  Will keep testing posted updates if u need any more information will try to get for you as long as I can find it.



  • Ok well I am going to get some sleep and start fresh again in morning.  After the last time I updated the problem went away and I currently have 2 wans up though balancing is not going at the moment will start again fresh with latest snapshot at that time.



  • @ermal:

    Yeah i missed pushing some fixes yesterday.
    The next snapshots are fixed for sure.

    I have tested and it works now. You can disconnect and connect again from interfaces page. Automatic reconnect doesn't work. When, after 24h provider resets connection link stays down and there is message in log about PPTP connection not PPPoE. I can+t paste this message because I have lost it after restart (my mistake).

    Sasa



  • Try next snap.


Log in to reply