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

    PPPOE wan will not connect -

    General pfSense Questions
    9
    113
    23.7k
    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.
    • GertjanG
      Gertjan @gerryatric
      last edited by

      @gerryatric

      The last image :
      You should not select the WAN interface to activate PPPoE on it.
      You should select OPT1 interface - your second image - (which is a VLAN over WAN) and select PPPoe on that OPT1 interface.

      See this video for a classic PPPoE set up on WAN.
      Your setup is not using the WAN directly, but the derived VLAN.2 interface, which has WAN as a parent.

      The video is useful also as it show how to deal with the WAN interface itself, at it isn't a gateway any more.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      G 1 Reply Last reply Reply Quote 0
      • G
        gerryatric @Gertjan
        last edited by

        @gertjan right so I get that. and now I have disabled the wan and enabled opti1
        which now shows a green active arrow. awesome. It isn't showing an IP which it should as it is via DHCP. still showing 0.0.0.0
        So still at a loss.
        It is a pity in that video that he just has chequer board stuff all over the screen to stop people seeing his stuff. makes it hard to know what is going on really.

        Any ideas on the dhcp issue and no ip?

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

          @gerryatric said in PPPOE wan will not connect -:

          It isn't showing an IP which it should as it is via DHCP

          It should be using PPPoE not DHCP as I understand it.

          Check the PPP logs. If the PPPoE session is correctly using VLAN2 over the connected parent NIC then you should see something from the remote side. Even if that's an error coming back it at least tells us the connection is there.

          Steve

          G 1 Reply Last reply Reply Quote 1
          • G
            gerryatric @stephenw10
            last edited by

            @stephenw10 Steve Hi
            The moment I change it from DHCP to PPPOE it fails the connection.
            The wan as @Gertjan explained to me was to setup a PPPOE connection, do not use the EM0 interface but use the newly created interface with PPPOE with the Vlan tag 2 as per his message and I have done all that.
            I get a green interface now, but no IP.
            If I change that to PPPOE it creates a second PPPOE connection and it all goes red.

            Or am I missing something

            My provider has me on PPPOE connection with user name and password, DHCP and a vlan tag of 2
            It works simply on my unifi USG Pro 4 with just my username and password and the vlan tag in the box and straight away it comes up.
            PFSense is obviously more configurable . and I may have missed a step.

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

              It isn't a DHCP connection, you need to use PPPoE.

              When you set it to DHCP the green arrow is showing the link status which there is the link between em0 and the modem. Obviously that is good hence it shows green.
              The PPP session is still down though and that's what counts.

              You can only have one PPPoE session on each parent interface so if you already created on on em0.2 you cannot assign something else to that.

              Please show us the current Interfaces > Assignments configuration.

              G 1 Reply Last reply Reply Quote 0
              • G
                gerryatric @stephenw10
                last edited by

                @stephenw10 here you go Stephen
                Screen Shot 2021-09-09 at 10.22.38 pm.png

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

                  Ok so the interface that you need is not assigned.

                  Re-assign WAN as PPPoE(em0.2).

                  Delete WANPPPOE unless you need that for modem access.

                  Steve

                  G 1 Reply Last reply Reply Quote 1
                  • G
                    gerryatric @stephenw10
                    last edited by

                    @stephenw10 boom. now it works.
                    See I was told to disable the wan port and use the newly created port with the PPPOE interface etc.
                    oh cool. Thanks for pointing me in the right direction

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

                      It should be possible to do that. I think what you were hitting was that when you chnaged the connection type to PPPoE on the new interface, that was assigned as em0 VLAN2, you were effectively creating a 2nd PPPoE session on the same parent. And that is not allowed.
                      Deleting the original PPPoE session would probably also have worked. But it's 'cleaner' to have WAN assigned to the actual WAN connection IMO. So all good. 😁

                      Steve

                      G 1 Reply Last reply Reply Quote 0
                      • G
                        gerryatric @stephenw10
                        last edited by

                        @stephenw10 Sadly stephen. it only lasted a few minutes with the IP from the provider and now it is back to Wan down.
                        I did not change anything. I actually left it and went and did some other stuff. came back and noticed it offline
                        no idea now

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          gerryatric @gerryatric
                          last edited by

                          @gerryatric ok now it is back up. I don't know what I did. I think I will back up the settings and check the log

                          G 1 Reply Last reply Reply Quote 0
                          • G
                            gerryatric @gerryatric
                            last edited by

                            @gerryatric ok now it is down again. im not getting what is going on here

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

                              Check the logs. It will show you why it disconnected.

                              Make sore you don't have Idle Timeout value set or Dial on demand enabled in the PPP advanced settings.

                              Steve

                              G 1 Reply Last reply Reply Quote 0
                              • G
                                gerryatric @stephenw10
                                last edited by

                                @stephenw10 this is a fresh log from today after I gave up last night. Nothing seems to have changed in settings. there is no dial on demand enabled or timeout value set. I did try to insert a 0 as it said this would stop it timing out, but it won't let me set that. I am lost. it just keeps trying to reconnect. now it is not even attempting to give IP even though last night it was

                                Sep 10 16:13:33 check_reload_status 374 Syncing firewall
                                Sep 10 16:13:37 ppp 85335 caught fatal signal TERM
                                Sep 10 16:13:37 ppp 85335 [wan] IFACE: Close event
                                Sep 10 16:13:37 ppp 85335 [wan] IPCP: Close event
                                Sep 10 16:13:37 ppp 85335 [wan] IPV6CP: Close event
                                Sep 10 16:13:39 ppp 85335 [wan] Bundle: Shutdown
                                Sep 10 16:13:39 ppp 85335 [wan_link0] Link: Shutdown
                                Sep 10 16:13:39 ppp 85335 process 85335 terminated
                                Sep 10 16:13:39 php-fpm 61638 /interfaces.php: The command '/sbin/ifconfig 'pppoe0' inet6 -accept_rtadv' returned exit code '1', the output was 'ifconfig: interface pppoe0 does not exist'
                                Sep 10 16:13:40 php-fpm 61638 /interfaces.php: Shutting down Router Advertisment daemon cleanly
                                Sep 10 16:13:40 ppp 1617 Multi-link PPP daemon for FreeBSD
                                Sep 10 16:13:40 ppp 1617 process 1617 started, version 5.9
                                Sep 10 16:13:40 ppp 1617 web: web is not running
                                Sep 10 16:13:40 ppp 1617 [wan] Bundle: Interface ng0 created
                                Sep 10 16:13:40 ppp 1617 [wan_link0] Link: OPEN event
                                Sep 10 16:13:40 kernel ng0: changing name to 'pppoe0'
                                Sep 10 16:13:40 ppp 1617 [wan_link0] LCP: Open event
                                Sep 10 16:13:40 ppp 1617 [wan_link0] LCP: state change Initial --> Starting
                                Sep 10 16:13:40 ppp 1617 [wan_link0] LCP: LayerStart
                                Sep 10 16:13:40 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:13:43 php-fpm 61638 /interfaces.php: calling interface_dhcpv6_configure.
                                Sep 10 16:13:43 php-fpm 61638 /interfaces.php: Accept router advertisements on interface em0.2
                                Sep 10 16:13:43 php-fpm 61638 /interfaces.php: Starting rtsold process
                                Sep 10 16:13:45 php-fpm 61638 /interfaces.php: Gateway, none 'available' for inet, use the first one configured. 'WAN_PPPOE'
                                Sep 10 16:13:45 php-fpm 61638 /interfaces.php: Gateway, none 'available' for inet6, use the first one configured. 'WAN_DHCP6'
                                Sep 10 16:13:45 check_reload_status 374 Restarting ipsec tunnels
                                Sep 10 16:13:49 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:13:49 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:13:49 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:13:49 ppp 1617 [wan_link0] Link: reconnection attempt 1 in 1 seconds
                                Sep 10 16:13:50 ppp 1617 [wan_link0] Link: reconnection attempt 1
                                Sep 10 16:13:50 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:13:52 ppp 1617 PPPoE: rec'd ACNAME "bri-apt-wic-bras209"
                                Sep 10 16:13:59 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:13:59 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:13:59 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:13:59 ppp 1617 [wan_link0] Link: reconnection attempt 2 in 2 seconds
                                Sep 10 16:14:01 ppp 1617 [wan_link0] Link: reconnection attempt 2
                                Sep 10 16:14:01 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:14:10 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:14:10 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:14:10 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:14:10 ppp 1617 [wan_link0] Link: reconnection attempt 3 in 3 seconds
                                Sep 10 16:14:13 ppp 1617 [wan_link0] Link: reconnection attempt 3
                                Sep 10 16:14:13 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:14:22 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:14:22 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:14:22 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:14:22 ppp 1617 [wan_link0] Link: reconnection attempt 4 in 4 seconds
                                Sep 10 16:14:26 ppp 1617 [wan_link0] Link: reconnection attempt 4
                                Sep 10 16:14:26 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:14:35 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:14:35 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:14:35 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:14:35 ppp 1617 [wan_link0] Link: reconnection attempt 5 in 4 seconds
                                Sep 10 16:14:39 ppp 1617 [wan_link0] Link: reconnection attempt 5
                                Sep 10 16:14:39 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:14:39 check_reload_status 374 updating dyndns wan
                                Sep 10 16:14:41 check_reload_status 374 Reloading filter
                                Sep 10 16:14:41 php-fpm 61638 /interfaces.php: Creating rrd update script
                                Sep 10 16:14:48 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:14:48 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:14:48 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:14:48 ppp 1617 [wan_link0] Link: reconnection attempt 6 in 3 seconds
                                Sep 10 16:14:51 ppp 1617 [wan_link0] Link: reconnection attempt 6
                                Sep 10 16:14:51 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:15:00 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:15:00 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:15:00 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:15:00 ppp 1617 [wan_link0] Link: reconnection attempt 7 in 3 seconds
                                Sep 10 16:15:03 ppp 1617 [wan_link0] Link: reconnection attempt 7
                                Sep 10 16:15:03 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:15:12 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:15:12 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:15:12 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:15:12 ppp 1617 [wan_link0] Link: reconnection attempt 8 in 3 seconds
                                Sep 10 16:15:15 ppp 1617 [wan_link0] Link: reconnection attempt 8
                                Sep 10 16:15:15 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:15:24 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:15:24 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:15:24 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:15:24 ppp 1617 [wan_link0] Link: reconnection attempt 9 in 2 seconds
                                Sep 10 16:15:26 ppp 1617 [wan_link0] Link: reconnection attempt 9
                                Sep 10 16:15:26 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'
                                Sep 10 16:15:35 ppp 1617 [wan_link0] PPPoE connection timeout after 9 seconds
                                Sep 10 16:15:35 ppp 1617 [wan_link0] Link: DOWN event
                                Sep 10 16:15:35 ppp 1617 [wan_link0] LCP: Down event
                                Sep 10 16:15:35 ppp 1617 [wan_link0] Link: reconnection attempt 10 in 1 seconds
                                Sep 10 16:15:36 ppp 1617 [wan_link0] Link: reconnection attempt 10
                                Sep 10 16:15:36 ppp 1617 [wan_link0] PPPoE: Connecting to 'iinet'

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

                                  @gerryatric said in PPPOE wan will not connect -:

                                  Sep 10 16:13:52 ppp 1617 PPPoE: rec'd ACNAME "bri-apt-wic-bras209"

                                  That's the only thing shown there that looks like it's connected at all.

                                  Check the ppp logs. It would be better to see the logs covering it connecting correctly and then disconnecting. If it's been trying to connect all night though those logs have probably been lost.

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • G
                                    gerryatric
                                    last edited by

                                    @stephenw10 hi Stephen
                                    it is definitely connecting and reconnecting
                                    I can't attach the log, it keeps flagging it as spam by Aksimet plugin on the Netgate site

                                    GertjanG 1 Reply Last reply Reply Quote 0
                                    • GertjanG
                                      Gertjan @gerryatric
                                      last edited by

                                      @gerryatric said in PPPOE wan will not connect -:

                                      I can't attach the log

                                      https://pastebin.com/ !?

                                      No "help me" PM's please. Use the forum, the community will thank you.
                                      Edit : and where are the logs ??

                                      G 1 Reply Last reply Reply Quote 0
                                      • G
                                        gerryatric @Gertjan
                                        last edited by

                                        @gertjan
                                        ok i don't know how I did this as I couldn't quite work pastebin out lol

                                        see if this worked
                                        paste.txt

                                        ok it did work. somehow. its a long log

                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          biggsy @gerryatric
                                          last edited by

                                          @gerryatric

                                          Is there a particular reason you're with iiNet?

                                          I'm with Aussie Broadband and it's just plain, simple DHCP.

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            gerryatric @biggsy
                                            last edited by

                                            @biggsy yes, I have been a long term IINET customer. I transferred to this house and it had Fibre to the premise which means I now have gigabit ethernet. Didn't see any point looking around as IINET worked for me always.
                                            IINET NBN is DHCP yes. But on the Fibre network it uses a Vlan

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