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

    PPPoE WAN connection problem

    Scheduled Pinned Locked Moved General pfSense Questions
    14 Posts 4 Posters 9.8k 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.
    • R
      roby3493
      last edited by

      Hi everyone I'm new here :). I've installed the latest release of pfSense some days ago and everything worked fine. My setup is that:

      D LINK DSL 2750 modem+router –-> PC ---> pfSense (virtualbox) ---> INTERNET

      Wan interface: DHCP
      Lan interface: 192.168.1.51
      D link home router: 192.168.1.1

      Now I wanted to setup pfSense to get the ISP IP from the internet via PPPoE (I live in Italy and my provider Infostrada uses PPPoE authentication). The problem is that if I go in the WAN configuration interface of the pfSense router and I setup username and password I cannot surf the internet and pfSense keeps on telling me that the WAN interface is DOWN. Of course I setup my home router to be only a modem (bridge mode) but still I can't surf the internet because pfSense cannot put up the PPPoE connection.

      Here's my system log:

      Jul 25 21:02:41 ppp: [wan_link0] LCP: Down event
      Jul 25 21:02:41 ppp: [wan_link0] Link: reconnection attempt 180 in 3 seconds
      Jul 25 21:02:44 ppp: [wan_link0] Link: reconnection attempt 180
      Jul 25 21:02:44 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface
      Jul 25 21:02:44 ppp: [wan_link0] PPPoE node for link is not initialized
      Jul 25 21:02:44 ppp: [wan_link0] Link: DOWN event
      Jul 25 21:02:44 ppp: [wan_link0] LCP: Down event
      Jul 25 21:02:44 ppp: [wan_link0] Link: reconnection attempt 181 in 2 seconds
      Jul 25 21:02:46 ppp: [wan_link0] Link: reconnection attempt 181
      Jul 25 21:02:46 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface
      Jul 25 21:02:46 ppp: [wan_link0] PPPoE node for link is not initialized
      Jul 25 21:02:46 ppp: [wan_link0] Link: DOWN event
      Jul 25 21:02:46 ppp: [wan_link0] LCP: Down event
      Jul 25 21:02:46 ppp: [wan_link0] Link: reconnection attempt 182 in 3 seconds
      Jul 25 21:02:49 ppp: [wan_link0] Link: reconnection attempt 182
      Jul 25 21:02:49 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface
      Jul 25 21:02:49 ppp: [wan_link0] PPPoE node for link is not initialized
      Jul 25 21:02:49 ppp: [wan_link0] Link: DOWN event
      Jul 25 21:02:49 ppp: [wan_link0] LCP: Down event
      Jul 25 21:02:49 ppp: [wan_link0] Link: reconnection attempt 183 in 4 seconds
      Jul 25 21:02:53 ppp: [wan_link0] Link: reconnection attempt 183
      Jul 25 21:02:53 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface
      Jul 25 21:02:53 ppp: [wan_link0] PPPoE node for link is not initialized
      Jul 25 21:02:53 ppp: [wan_link0] Link: DOWN event
      Jul 25 21:02:53 ppp: [wan_link0] LCP: Down event
      Jul 25 21:02:53 ppp: [wan_link0] Link: reconnection attempt 184 in 3 seconds
      Jul 25 21:02:56 ppp: [wan_link0] Link: reconnection attempt 184
      Jul 25 21:02:56 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface
      Jul 25 21:02:56 ppp: [wan_link0] PPPoE node for link is not initialized
      Jul 25 21:02:56 ppp: [wan_link0] Link: DOWN event
      Jul 25 21:02:56 ppp: [wan_link0] LCP: Down event

      And so on…

      Please you can only help me guys, thank you in advance :)

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Dunno, but Wan interface: DHCP seems pretty obviously incorrect for PPPoE

        1 Reply Last reply Reply Quote 0
        • R
          roby3493
          last edited by

          Wan interface: DHCP was before I tried to setup PPPoE.

          Now it's Wan interface: PPPoE w/ username and password
          Lan: 192.168.1.51
          D link: bridge mode ONLY w/out any router function.

          1 Reply Last reply Reply Quote 0
          • W
            wallabybob
            last edited by

            @roby3493:

            Jul 25 21:02:44 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

            Jul 25 21:02:46 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

            Jul 25 21:02:49 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

            Jul 25 21:02:53 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

            Jul 25 21:02:56 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

            I think PPPoE is trying to tell you something: probably it doesn't know what network interface to use. Did you specify a link interface when you created the PPPoE interface?

            1 Reply Last reply Reply Quote 0
            • R
              roby3493
              last edited by

              @wallabybob:

              @roby3493:

              Jul 25 21:02:44 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

              Jul 25 21:02:46 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

              Jul 25 21:02:49 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

              Jul 25 21:02:53 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

              Jul 25 21:02:56 ppp: [wan_link0] PPPoE: Skipping link "wan_link0" with undefined interface

              I think PPPoE is trying to tell you something: probably it doesn't know what network interface to use. Did you specify a link interface when you created the PPPoE interface?

              Yes, I setup the Wan interface to use pppoe instead of DHCP as it was before…

              1 Reply Last reply Reply Quote 0
              • W
                wallabybob
                last edited by

                @roby3493:

                Yes, I setup the Wan interface to use pppoe instead of DHCP as it was before…

                Is it working properly now?

                1 Reply Last reply Reply Quote 0
                • R
                  roby3493
                  last edited by

                  No it isn't, that's why I'm asking 4 your help :(

                  1 Reply Last reply Reply Quote 0
                  • W
                    wallabybob
                    last edited by

                    OK, please post a screenshot of Interfaces -> (assign), PPPs tab.

                    1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      In your first post the D-Link modem/router appears to be in the wrong place. The pfSense LAN interface is in the same network segment as the D-Link LAN.  ???

                      I would expect some thing more like:

                      Internet –- D-Link modem --- pfSense --- Client PCs

                      Steve

                      1 Reply Last reply Reply Quote 0
                      • R
                        roby3493
                        last edited by

                        Yes, the setup is what you wrote, sorry about that.

                        The screenshot is attached.

                        BTW, now the LAN IP adress is in another subnet (192.168.2.xxx).

                        Thanks again guys!

                        PFSENSE.png
                        PFSENSE.png_thumb

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          I assume em0 is the correct NIC for the WAN connection?

                          Usually when you change your WAN type to PPPoE from DHCP you would loose your interface at 192.168.1.51. Is that happening?

                          What does Status: Interfaces: look like?

                          Steve

                          1 Reply Last reply Reply Quote 0
                          • R
                            roby3493
                            last edited by

                            Yes, em0 is my WAN card let's say. Em1 is LAN.

                            When I get from DHCP to PPPoE on the bootup pfSense says: WAN –---------------- NONE (PPPoE)
                                                                                                              LAN ------------------- 192.168.2.100

                            That's the screen of the interfaces :

                            WAN now it's on DHCP so I can surf the net.

                            WAN.png
                            WAN.png_thumb
                            LAN.png
                            LAN.png_thumb

                            1 Reply Last reply Reply Quote 0
                            • stephenw10S
                              stephenw10 Netgate Administrator
                              last edited by

                              Hmm, weird. There are a few similar reports of this happening after upgrading from earlier pfSense versions, the config not translating correctly, but you have gone straight to 2.0.3.  :-\

                              Maybe time to look at the config file directly to check the PPPoE binding to em0 is really there.

                              Steve

                              1 Reply Last reply Reply Quote 0
                              • W
                                wallabybob
                                last edited by

                                Have you restarted pfSense AFTER changing the WAN to PPPoE?
                                In pfSense configuration files for various services (including PPPoE) are generated at startup (and possibly other times as well) from the configuration file maintained by the GUI interface. PERHAPS the PPP configuration file wasn't regenerated before PPP started.

                                I suggest you take these steps in the following order:
                                1. Set modem into bridge mode.
                                2. Set pfSense WAN interface to pppoe0 (in Interfaces -> (assign) page)
                                3. Check the details are correct on the Interfaces -> WAN page
                                4. Shutdown modem
                                5. Shutdown pfSense
                                6. Start modem
                                7. Start pfSense

                                If you then see the same report in the PPP log (check the time stamps on the entries to ensure you are not looking on stale reports) then please post the contents of the PPP configuration file (/var/etc/mpd_wan.conf) after masking out the authentication details.

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