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

    Mar 8 snapshot – PPPoE can't connect

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    34 Posts 9 Posters 10.7k 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.
    • X
      xbipin
      last edited by

      mpd_wan.conf
      –-----------

      startup:
      pppoeclient:
      create bundle static wan
      set iface name pppoe0
      set iface route default
      set iface disable on-demand
      set iface idle 0
      set iface enable tcpmssfix
      set iface up-script /usr/local/sbin/ppp-linkup
      set iface down-script /usr/local/sbin/ppp-linkdown
      set ipcp yes vjcomp
      set ipcp ranges 0.0.0.0/0 0.0.0.0/0
      create link static wanL1 pppoe
      set link action bundle wan
      set auth authname "xxxxxx"
      set auth password "xxxxxx"
      set link keep-alive 10 60
      set link max-redial 0
      set link no acfcomp protocomp
      set link disable pap chap
      set link accept chap
      set pppoe iface vr1
      set pppoe service ""
      set link mtu 1492
      open

      md_wan.links

      nothing in this file

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

        Try this out
        https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/5217b018347e10a171c914593050a3f1bc66d9d8

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          i tried those 2 entries manually but after reboot the console started giving a lot of error related to unable to get interface ip etc so i guess ill wait for the next snapshot and try that out.

          1 Reply Last reply Reply Quote 0
          • X
            xbipin
            last edited by

            i tried witht he patch but still no luck, unplugging the WAN cable and replugging gives one extra line in log that says file not found so mayb that can help solve this issue

            Mar 13 10:23:56 	mpd: [wanL1] Link: DOWN event
            Mar 13 10:23:56 	mpd: [wanL1] LCP: Down event
            Mar 13 10:23:56 	mpd: [wanL1] Link: reconnection attempt 141 in 3 seconds
            Mar 13 10:23:59 	mpd: [wanL1] Link: reconnection attempt 141
            Mar 13 10:23:59 	mpd: [wanL1] PPPoE: can't connect "[c]:"->"mpd5617-0" and "[0]:"->"left": No such file or directory
            Mar 13 10:23:59 	mpd: [wanL1] Link: DOWN event
            Mar 13 10:23:59 	mpd: [wanL1] LCP: Down event
            Mar 13 10:23:59 	mpd: [wanL1] Link: reconnection attempt 142 in 2 seconds
            Mar 13 10:24:01 	mpd: [wanL1] Link: reconnection attempt 142
            Mar 13 10:24:01 	mpd: [wanL1] PPPoE: can't connect "[c]:"->"mpd5617-0" and "[0]:"->"left": No such file or directory
            Mar 13 10:24:01 	mpd: [wanL1] Link: DOWN event
            Mar 13 10:24:01 	mpd: [wanL1] LCP: Down event
            Mar 13 10:24:01 	mpd: [wanL1] Link: reconnection attempt 143 in 3 seconds
            Mar 13 10:23:32 	php: : Could not find gateway for interface(wan).
            Mar 13 10:24:03 	kernel: vr1: link state changed to UP
            Mar 13 10:24:04 	mpd: [wanL1] Link: reconnection attempt 143
            Mar 13 10:24:04 	mpd: [wanL1] PPPoE: can't connect "[c]:"->"mpd5617-0" and "[0]:"->"left": No such file or directory
            Mar 13 10:24:04 	mpd: [wanL1] Link: DOWN event
            Mar 13 10:24:04 	mpd: [wanL1] LCP: Down event
            Mar 13 10:24:04 	mpd: [wanL1] Link: reconnection attempt 144 in 4 seconds
            Mar 13 10:24:04 	check_reload_status: rc.linkup starting
            Mar 13 10:24:06 	php: : DEVD Ethernet attached event for wan
            Mar 13 10:24:06 	php: : HOTPLUG: Configuring interface wan
            Mar 13 10:24:06 	mpd: caught fatal signal term
            Mar 13 10:24:06 	mpd: [wan] IFACE: Close event
            Mar 13 10:24:06 	mpd: [wan] IPCP: Close event
            Mar 13 10:24:08 	mpd: [wan] Bundle: Shutdown
            Mar 13 10:24:08 	mpd: [wanL1] Link: Shutdown
            Mar 13 10:24:08 	mpd: process 5617 terminated
            Mar 13 10:24:08 	mpd: Multi-link PPP daemon for FreeBSD
            Mar 13 10:24:08 	mpd:
            Mar 13 10:24:08 	mpd: process 4715 started, version 5.5 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 14:43 28-Feb-2010)
            Mar 13 10:24:08 	mpd: [wan] Bundle: Interface ng0 created
            Mar 13 10:24:08 	mpd: [wanL1] Link: OPEN event
            Mar 13 10:24:08 	mpd: [wanL1] LCP: Open event
            Mar 13 10:24:08 	mpd: [wanL1] LCP: state change Initial --> Starting
            Mar 13 10:24:08 	mpd: [wanL1] LCP: LayerStart
            Mar 13 10:24:08 	mpd: [wanL1] can't create tee node at ".:"->"l0": No such file or directory
            Mar 13 10:24:08 	mpd: [wanL1] PPPoE: can't connect "[c]:"->"mpd4715-0" and "[0]:"->"left": No such file or directory
            Mar 13 10:24:08 	mpd: [wanL1] Link: DOWN event
            Mar 13 10:24:08 	mpd: [wanL1] LCP: Down event
            Mar 13 10:24:08 	mpd: [wanL1] Link: reconnection attempt 1 in 1 seconds
            
            1 Reply Last reply Reply Quote 0
            • X
              xbipin
              last edited by

              the below 2 lines r the cause i guess for not being able to conenc to pppoe

              Mar 13 10:24:08 mpd: [wanL1] can't create tee node at ".:"->"l0": No such file or directory
              Mar 13 10:24:08 mpd: [wanL1] PPPoE: can't connect "[c]:"->"mpd4715-0" and "[0]:"->"left": No such file or directory

              1 Reply Last reply Reply Quote 0
              • X
                xbipin
                last edited by

                any solution coz im stuck at 4th march nanobsd snapshot as that was the last working version for me using mpd4?

                1 Reply Last reply Reply Quote 0
                • B
                  beppo
                  last edited by

                  I got same problems with snapshots later than 4th march on a alix.

                  When trying to apply settings for wan connection, there is the following written in the logs

                  Mar 14 15:56:18 	mpd: No link selected for 'open [layer]' command
                  Mar 14 15:56:18 	mpd: No link selected for 'link ...' command
                  Mar 14 15:56:18 	mpd: last message repeated 4 times
                  Mar 14 15:56:18 	mpd: No link selected for 'link ...' command
                  Mar 14 15:56:18 	mpd: No link selected for 'auth ...' command
                  Mar 14 15:56:18 	mpd: No link selected for 'auth ...' command
                  Mar 14 15:56:18 	mpd: No link selected for 'link ...' command
                  Mar 14 15:56:18 	mpd: No link selected for 'link ...' command
                  Mar 14 15:56:18 	mpd: mpd_wan.conf:12: Unknown command: 'create'. Try "help".
                  Mar 14 15:56:18 	mpd: No bundle selected for 'ipcp ...' command
                  Mar 14 15:56:18 	mpd: No bundle selected for 'ipcp ...' command
                  Mar 14 15:56:18 	mpd: last message repeated 5 times
                  Mar 14 15:56:18 	mpd: No bundle selected for 'iface ...' command
                  Mar 14 15:56:18 	mpd: mpd_wan.conf:3: Unknown command: 'create'. Try "help".
                  Mar 14 15:56:18 	mpd: process 5947 started, version 4.4.1 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 14:40 28-Feb-2010)
                  Mar 14 15:56:18 	mpd:
                  Mar 14 15:56:18 	mpd: Multi-link PPP daemon for FreeBSD
                  Mar 14 15:56:17 	mpd: process 6058 terminated
                  
                  1 Reply Last reply Reply Quote 0
                  • A
                    ApolloDS
                    last edited by

                    I can confirm the same problem here with alix and pppoe.
                    For me the Snapshot from 7. March is working but any newer is not.
                    The last I tried was Snapshot from 13. of March.

                    Peter

                    1 Reply Last reply Reply Quote 0
                    • X
                      xbipin
                      last edited by

                      @beppo:

                      I got same problems with snapshots later than 4th march on a alix.

                      When trying to apply settings for wan connection, there is the following written in the logs

                      Mar 14 15:56:18 	mpd: No link selected for 'open [layer]' command
                      Mar 14 15:56:18 	mpd: No link selected for 'link ...' command
                      Mar 14 15:56:18 	mpd: last message repeated 4 times
                      Mar 14 15:56:18 	mpd: No link selected for 'link ...' command
                      Mar 14 15:56:18 	mpd: No link selected for 'auth ...' command
                      Mar 14 15:56:18 	mpd: No link selected for 'auth ...' command
                      Mar 14 15:56:18 	mpd: No link selected for 'link ...' command
                      Mar 14 15:56:18 	mpd: No link selected for 'link ...' command
                      Mar 14 15:56:18 	mpd: mpd_wan.conf:12: Unknown command: 'create'. Try "help".
                      Mar 14 15:56:18 	mpd: No bundle selected for 'ipcp ...' command
                      Mar 14 15:56:18 	mpd: No bundle selected for 'ipcp ...' command
                      Mar 14 15:56:18 	mpd: last message repeated 5 times
                      Mar 14 15:56:18 	mpd: No bundle selected for 'iface ...' command
                      Mar 14 15:56:18 	mpd: mpd_wan.conf:3: Unknown command: 'create'. Try "help".
                      Mar 14 15:56:18 	mpd: process 5947 started, version 4.4.1 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 14:40 28-Feb-2010)
                      Mar 14 15:56:18 	mpd:
                      Mar 14 15:56:18 	mpd: Multi-link PPP daemon for FreeBSD
                      Mar 14 15:56:17 	mpd: process 6058 terminated
                      

                      ull need to provide the contents of /var/etc/mpd*

                      1 Reply Last reply Reply Quote 0
                      • B
                        beppo
                        last edited by

                        same behaviour with today's snapshot.

                        mpd_wan.conf

                        startup:
                        pppoeclient:
                                create bundle static wan
                                set iface name pppoe0
                                set iface route default
                                set iface disable on-demand
                                set iface idle 0
                                set iface enable tcpmssfix
                                set iface up-script /usr/local/sbin/ppp-linkup
                                set iface down-script /usr/local/sbin/ppp-linkdown
                                set ipcp yes vjcomp
                                set ipcp ranges 0.0.0.0/0 0.0.0.0/0
                                create link static wanL1 pppoe
                                set link disable incoming
                                set link action bundle wan
                                set auth authname "****"
                                set auth password "****"
                                set link keep-alive 10 60
                                set link max-redial 0
                                set link no acfcomp protocomp
                                set link disable pap chap
                                set link accept chap
                                set pppoe iface vr1
                                set pppoe service ""
                                        set link mtu 1492
                                open
                        
                        1 Reply Last reply Reply Quote 0
                        • E
                          eri--
                          last edited by

                          Mar 14 15:56:18 mpd: process 5947 started, version 4.4.1 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 14:40 28-Feb-2010)

                          xbipin you are on wrong sources.
                          You are trying to start mpd4 which would not start with the config that is now.
                          You need to start mpd5 not sure why it tries to start mpd4 for you!?

                          1 Reply Last reply Reply Quote 0
                          • X
                            xbipin
                            last edited by

                            @ermal:

                            Mar 14 15:56:18 mpd: process 5947 started, version 4.4.1 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 14:40 28-Feb-2010)

                            xbipin you are on wrong sources.
                            You are trying to start mpd4 which would not start with the config that is now.
                            You need to start mpd5 not sure why it tries to start mpd4 for you!?

                            u have mixed up the posts, for me it shows
                            Mar 13 10:24:08 mpd: process 4715 started, version 5.5 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 14:43 28-Feb-2010)

                            and for beppo its
                            Mar 14 15:56:18 mpd: process 5947 started, version 4.4.1 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 14:40 28-Feb-2010)

                            1 Reply Last reply Reply Quote 0
                            • B
                              beppo
                              last edited by

                              I got the error

                              Mar 14 15:56:18    mpd: process 5947 started, version 4.4.1 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org  14:40 28-Feb-2010)
                              

                              when upgrading from 4th march to 13th march snapshot. With the newest snapshot of 15th march pppoe is still not working. I don't know the excat error log but I will provide it later.

                              1 Reply Last reply Reply Quote 0
                              • _
                                _igor_
                                last edited by

                                This sounds like this error:

                                https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/18315b0d39d3438a531652cfb71f17560446eb48

                                Its mentioned one page up.

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gabriel.hahmann
                                  last edited by

                                  I'm getting the same issue here:

                                  Mar 16 20:43:28 pfSense mpd: [wanL1] PPPoE: can't connect "[d]:"->"mpd46586-0" and "[0]:"->"left": No such file or directory
                                  Mar 16 20:43:28 pfSense mpd: [wanL1] Link: DOWN event
                                  Mar 16 20:43:28 pfSense mpd: [wanL1] LCP: Down event
                                  Mar 16 20:43:28 pfSense mpd: [wanL1] Link: reconnection attempt 12 in 3 seconds
                                  Mar 16 20:43:31 pfSense mpd: [wanL1] Link: reconnection attempt 12

                                  My mpd_wan.conf looks like this:

                                  startup:
                                  pppoeclient:
                                  create bundle static wan
                                  set iface name pppoe0
                                  set iface disable on-demand
                                  set iface idle 0
                                  set iface enable tcpmssfix
                                  set iface up-script /usr/local/sbin/ppp-linkup
                                  set iface down-script /usr/local/sbin/ppp-linkdown
                                  set ipcp enable req-pri-dns
                                  set ipcp enable req-sec-dns
                                  set ipcp yes vjcomp
                                  set ipcp ranges 0.0.0.0/0 0.0.0.0/0
                                  create link static wanL1 pppoe
                                  set link disable incoming
                                  set link action bundle wan
                                  set auth authname "internet@speedy.com.br"
                                  set auth password "internet"
                                  set link keep-alive 10 60
                                  set link max-redial 0
                                  set link no acfcomp protocomp
                                  set link disable pap chap
                                  set link accept chap
                                  set pppoe iface fxp3
                                  set pppoe service "Speedy"
                                  set link mtu 1492
                                  open

                                  Where can I look for the version number ?

                                  I now that mine is 2.0Beta1 from march, 11 because is the file that I downloaded, there is a way to look at some file or in the web to find it?

                                  Best regards,
                                  Gabriel.

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xbipin
                                    last edited by

                                    im on the 17th march nanobsd which has all the mpd5 patches applied tilld ate and its still the same, cant connect

                                    Mar 17 17:20:10 	mpd: [wanL1] PPPoE: can't connect "[c]:"->"mpd7307-0" and "[0]:"->"left": No such file or directory
                                    Mar 17 17:20:10 	mpd: [wanL1] Link: DOWN event
                                    Mar 17 17:20:10 	mpd: [wanL1] LCP: Down event
                                    Mar 17 17:20:10 	mpd: [wanL1] Link: reconnection attempt 52 in 2 seconds
                                    Mar 17 17:20:10 	check_reload_status: rc.linkup starting
                                    Mar 17 17:20:12 	php: : DEVD Ethernet attached event for wan
                                    Mar 17 17:20:12 	php: : HOTPLUG: Configuring interface wan
                                    Mar 17 17:20:12 	mpd: caught fatal signal term
                                    Mar 17 17:20:12 	mpd: [wan] IFACE: Close event
                                    Mar 17 17:20:12 	mpd: [wan] IPCP: Close event
                                    Mar 17 17:20:12 	mpd: [wanL1] LCP: Close event
                                    Mar 17 17:20:12 	mpd: [wanL1] LCP: state change Starting --> Initial
                                    Mar 17 17:20:12 	mpd: [wanL1] LCP: LayerFinish
                                    Mar 17 17:20:14 	mpd: [wan] Bundle: Shutdown
                                    Mar 17 17:20:14 	mpd: [wanL1] Link: Shutdown
                                    Mar 17 17:20:14 	mpd: process 7307 terminated
                                    Mar 17 17:20:14 	mpd: Multi-link PPP daemon for FreeBSD
                                    Mar 17 17:20:14 	mpd:
                                    Mar 17 17:20:14 	mpd: process 8004 started, version 5.5 (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org 14:43 28-Feb-2010)
                                    Mar 17 17:20:14 	mpd: [wan] Bundle: Interface ng0 created
                                    Mar 17 17:20:14 	mpd: [wanL1] Link: OPEN event
                                    Mar 17 17:20:14 	mpd: [wanL1] LCP: Open event
                                    Mar 17 17:20:14 	mpd: [wanL1] LCP: state change Initial --> Starting
                                    Mar 17 17:20:14 	mpd: [wanL1] LCP: LayerStart
                                    Mar 17 17:20:14 	mpd: [wanL1] can't create tee node at ".:"->"l0": No such file or directory
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      eri--
                                      last edited by

                                      Can you please try to configure a ng_tee(4) node through ngctl and see if everything is ok?!

                                      1 Reply Last reply Reply Quote 0
                                      • X
                                        xbipin
                                        last edited by

                                        @ermal:

                                        Can you please try to configure a ng_tee(4) node through ngctl and see if everything is ok?!

                                        sir, im the windows guy so ull have to specify the exact commands to run or else i have no clue how to do what u said.

                                        bytheway, i tried doing a clean install but as soon as the WAN interface config is created for pppoe, then the mpd->file or directory not found error starts flooding the system log non stop

                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xbipin
                                          last edited by

                                          what i think is the problem starts when creating the ng0 coz in mpd4 in console it used to say vr1 so the solution might be somewhere there when creating the node.
                                          –----- plz ignore if the above text makes no sense. ---------------

                                          1 Reply Last reply Reply Quote 0
                                          • jimpJ
                                            jimp Rebel Alliance Developer Netgate
                                            last edited by

                                            After seeing Ermal's ng_tee comment, I checked out the kernel config file. It looks like the NanoBSD kernels were missing a few netgraph options that the full install had.

                                            I committed the changes for the kernels and if all goes well, the next NanoBSD image that comes out after this post should work.

                                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                            Need help fast? Netgate Global Support!

                                            Do not Chat/PM for help!

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