Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    PPPoE woes

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    12 Posts 4 Posters 4.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      eri--
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • S
        ssbaksa
        last edited by

        @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

        pfs1.JPG
        pfs1.JPG_thumb

        1 Reply Last reply Reply Quote 0
        • S
          ssbaksa
          last edited by

          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:>

          1 Reply Last reply Reply Quote 0
          • E
            eri--
            last edited by

            Try next snapshot

            1 Reply Last reply Reply Quote 0
            • S
              ssbaksa
              last edited by

              @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

              1 Reply Last reply Reply Quote 0
              • E
                eri--
                last edited by

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

                1 Reply Last reply Reply Quote 0
                • T
                  thaimichael
                  last edited by

                  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.

                  1 Reply Last reply Reply Quote 0
                  • T
                    thaimichael
                    last edited by

                    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.

                    1 Reply Last reply Reply Quote 0
                    • S
                      ssbaksa
                      last edited by

                      @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

                      1 Reply Last reply Reply Quote 0
                      • E
                        eri--
                        last edited by

                        Try next snap.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.