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

    ppp: [wan_link0] Link: reconnection attempt 76 - ppp: [wan_link0] PPPoE: Connecting to ''

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 2 Posters 1.4k Views 2 Watching
    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.
    • F Offline
      fMuhi
      last edited by

      hello folks,

      i have a scurill occurance in the log files and i have no idea where it comes from - i hope you can help me.
      i tried all the steps in this thread from 2013 Netagteforum.
      i have these error message in the logs:

      Nov 1 11:56:41	ppp		[wan_link0] Link: reconnection attempt 96 in 4 seconds
      Nov 1 11:56:41	ppp		[wan_link0] LCP: Down event
      Nov 1 11:56:41	ppp		[wan_link0] Link: DOWN event
      Nov 1 11:56:41	ppp		[wan_link0] PPPoE connection timeout after 9 seconds
      Nov 1 11:56:32	ppp		[wan_link0] PPPoE: Connecting to ''
      Nov 1 11:56:32	ppp		[wan_link0] Link: reconnection attempt 95
      Nov 1 11:56:28	ppp		[wan_link0] Link: reconnection attempt 95 in 4 seconds
      Nov 1 11:56:28	ppp		[wan_link0] LCP: Down event
      Nov 1 11:56:28	ppp		[wan_link0] Link: DOWN event
      Nov 1 11:56:28	ppp		[wan_link0] PPPoE connection timeout after 9 seconds
      Nov 1 11:56:19	ppp		[wan_link0] PPPoE: Connecting to ''
      Nov 1 11:56:19	ppp		[wan_link0] Link: reconnection attempt 94
      Nov 1 11:56:17	ppp		[wan_link0] Link: reconnection attempt 94 in 2 seconds
      Nov 1 11:56:17	ppp		[wan_link0] LCP: Down event
      Nov 1 11:56:17	ppp		[wan_link0] Link: DOWN event
      Nov 1 11:56:17	ppp		[wan_link0] PPPoE connection timeout after 9 seconds
      Nov 1 11:56:08	ppp		[wan_link0] PPPoE: Connecting to ''
      Nov 1 11:56:08	ppp		[wan_link0] Link: reconnection attempt 93
      Nov 1 11:56:05	ppp		[wan_link0] Link: reconnection attempt 93 in 3 seconds
      Nov 1 11:56:05	ppp		[wan_link0] LCP: Down event
      Nov 1 11:56:05	ppp		[wan_link0] Link: DOWN event
      Nov 1 11:56:05	ppp		[wan_link0] PPPoE connection timeout after 9 seconds
      Nov 1 11:55:56	ppp		[wan_link0] PPPoE: Connecting to ''
      Nov 1 11:55:56	ppp		[wan_link0] Link: reconnection attempt 92
      Nov 1 11:55:52	ppp		[wan_link0] Link: reconnection attempt 92 in 4 seconds
      

      the actual internet connection is working

      My setup: Draytek Vigor 130 (bridge mode Vlan tag 7 for ISP) --> pfsense SG-3100 (pppoe for WAN)--> Unifi switch--> .....

      1 Reply Last reply Reply Quote 0
      • kiokomanK Offline
        kiokoman LAYER 8
        last edited by

        maybe you have 2 instances of mpd5 running? did you try to reboot pfSense ? what version is it 2.4.5-p1 ?

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 1
        • F Offline
          fMuhi
          last edited by

          Yes rebooted serveral times.

          2.4.5-RELEASE-p1 (arm)
          built on Tue Jun 02 17:45:24 EDT 2020
          FreeBSD 11.3-STABLE
          
          1 Reply Last reply Reply Quote 0
          • kiokomanK Offline
            kiokoman LAYER 8
            last edited by kiokoman

            if internet is working do you see wan pppoe connected on your dashboard?
            like this?
            Immagine.jpg

            how many mpd5 do you see with

            ps auxwww | grep mpd
            

            ?

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            1 Reply Last reply Reply Quote 1
            • F Offline
              fMuhi
              last edited by

              Grep output:

              root    60005   0.0  0.3 12392  7036  -  Ss   12:08     0:00.21 /usr/local/sbin/mpd5 -b -k -d /var/etc -f mpd_wan.conf -p
              /var/run/pppoe_wan.pid -s ppp pppoeclient
              root    91367   0.0  0.1  6192  1984  0  S+   12:52     0:00.01 grep mpd
              

              1d83ceae-5451-4e5c-b459-f30628c5b728-image.png

              1 Reply Last reply Reply Quote 0
              • kiokomanK Offline
                kiokoman LAYER 8
                last edited by

                check the content of
                /var/etc/mpd_wan.conf
                it should be like mine

                startup:
                        # configure the console
                        set console close
                        # configure the web server
                        set web close
                
                default:
                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 ranges 0.0.0.0/0 0.0.0.0/0
                        #log -bund -ccp -chat -iface -ipcp -lcp -link
                
                        create link static wan_link0 pppoe
                        set link action bundle wan
                        set link disable multilink
                        set link keep-alive 10 60
                        set link max-redial 0
                        set link disable chap pap
                        set link accept chap pap eap
                        set link disable incoming
                        set link mtu 1492
                        set auth authname "*********************"
                        set auth password **************
                        set pppoe service ""
                        set pppoe iface igb0.835
                        open
                

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                1 Reply Last reply Reply Quote 1
                • F Offline
                  fMuhi
                  last edited by fMuhi

                  startup:
                  	# configure the console
                  	set console close
                  	# configure the web server
                  	set web close
                  
                  default:
                  pppoeclient:
                  	create bundle static wan
                  	set bundle enable ipv6cp
                  	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 ranges 0.0.0.0/0 0.0.0.0/0
                  	set ipcp enable req-pri-dns
                  	set ipcp enable req-sec-dns
                  	#log -bund -ccp -chat -iface -ipcp -lcp -link
                  
                  	create link static wan_link0 pppoe
                  	set link action bundle wan
                  	set link enable multilink
                  	set link keep-alive 10 60
                  	set link max-redial 0
                  	set link disable chap pap
                  	set link accept chap pap eap
                  	set link disable incoming
                  	set link mtu 1492
                  	set auth authname "**************************"
                  	set auth password ************
                  	set pppoe service ""
                  	set pppoe iface mvneta0
                  	open
                  
                  	create link static wan_link1 pppoe
                  	set link action bundle wan
                  	set link enable multilink
                  	set link keep-alive 10 60
                  	set link max-redial 0
                  	set link disable chap pap
                  	set link accept chap pap eap
                  	set link disable incoming
                  	set link mtu 1492
                  	set auth authname "****************************"
                  	set auth password **************
                  	set pppoe service ""
                  	set pppoe iface mvneta2
                  	open
                  

                  Okay i think i know where it's coming from:
                  b493b8ac-0106-4857-bd28-117cb22cfe42-image.png

                  i have installed a NAT on the Draytek, to get the SNMP data. and it seems that the pppoe trys to connect it to NAT as well. And correctly there is no pppoe respond.

                  Any best practice ideas on how to do the communication over one physical cable properly to reach the draytek modem?

                  1 Reply Last reply Reply Quote 0
                  • kiokomanK Offline
                    kiokoman LAYER 8
                    last edited by kiokoman

                    you have 2 pppoe connection defined
                    one running on mvneta2 and one running on mvneta0
                    check in the gui, you have something wrong

                    interface / assignement / ppp
                    you probably selected 2 interfaces instead of 1

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    Please do not use chat/PM to ask for help
                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                    F 1 Reply Last reply Reply Quote 1
                    • F Offline
                      fMuhi @kiokoman
                      last edited by

                      @kiokoman

                      d1300ced-bbd2-46c6-81f9-9fd320959e64-image.png

                      indeed! if i remove (just select one) on interface/port ether the NAT or the Internet is not working.

                      Any best practice ideas on how to do the communication over one physical cable properly to reach the draytek modem?

                      1 Reply Last reply Reply Quote 0
                      • kiokomanK Offline
                        kiokoman LAYER 8
                        last edited by kiokoman

                        if you need to access the modem under Available network ports: you can assign mvneta0 as a new interface with dhcp or static ip, the modem must be configured with a different network from what you have on your lan,
                        like in my screenshot where I have a MODEM interface.

                        Immagine.jpg

                        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                        Please do not use chat/PM to ask for help
                        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                        F 1 Reply Last reply Reply Quote 1
                        • F Offline
                          fMuhi @kiokoman
                          last edited by

                          @kiokoman
                          Thanks for your support. I had a quick try, but wasn't able to get it up and running.

                          5f7de2e0-a88c-4720-92c3-e23466d96dd8-image.png

                          05cf8d85-04ea-4256-96d6-ccba86497a33-image.png

                          anyway - i'm one step further resolving this issue ;) Thanks

                          1 Reply Last reply Reply Quote 0
                          • kiokomanK Offline
                            kiokoman LAYER 8
                            last edited by kiokoman

                            yes, now you have an idea of what you need to do, maybe wait for someone with a Draytek that can tell you how to configure it.

                            internet---pppoe ----|
                            ............... modem --- pfsense ---lan

                            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                            Please do not use chat/PM to ask for help
                            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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