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

    22.05.b.20220513.0600 pppoe Cannot attach to ng_ether message: Invalid argument.

    Scheduled Pinned Locked Moved Plus 22.05 Development Snapshots (Retired)
    14 Posts 6 Posters 1.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.
    • N
      netblues
      last edited by netblues

      pppoe fails to start after upgrading to 22.05 beta (from 22.01

      This is running under redhat kvm, with vlans.
      However vlans are handled at the kvm level, so pfsense just sees different interfaces.

      May 15 19:50:46 	ppp 	27472 	[wan_link0] Link: reconnection attempt 1 in 2 seconds
      May 15 19:50:46 	ppp 	27472 	[wan_link0] LCP: Down event
      May 15 19:50:46 	ppp 	27472 	[wan_link0] Link: DOWN event
      May 15 19:50:46 	ppp 	27472 	[wan_link0] PPPoE node for link is not initialized
      May 15 19:50:46 	ppp 	27472 	[wan_link0] PPPoE: Error creating ng_pppoe node on vtnet0:
      May 15 19:50:46 	ppp 	27472 	[vtnet0] Cannot attach to ng_ether message: Invalid argument.
      May 15 19:50:46 	ppp 	27472 	[wan_link0] LCP: LayerStart
      May 15 19:50:46 	ppp 	27472 	[wan_link0] LCP: state change Initial --> Starting
      May 15 19:50:46 	ppp 	27472 	[wan_link0] LCP: Open event
      May 15 19:50:46 	kernel 		ng0: changing name to 'pppoe0'
      May 15 19:50:46 	ppp 	27472 	[wan_link0] Link: OPEN event
      May 15 19:50:46 	ppp 	27472 	[wan] Bundle: Interface ng0 created
      May 15 19:50:46 	ppp 	27472 	web: web is not running
      May 15 19:50:46 	ppp 	27472 	process 27472 started, version 5.9
      May 15 19:50:46 	ppp 	27472 	Multi-link PPP daemon for FreeBSD
      
      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Do you see it failing like that everytime it tries to start?

        There have been some changes to netgraph but I have PPPoE clients running here without issue.

        Steve

        N 1 Reply Last reply Reply Quote 0
        • N
          netblues @stephenw10
          last edited by netblues

          @stephenw10 Yes, same message appears constantly

          I see a relevant bugfix
          https://redmine.pfsense.org/issues/12688
          Is there a patch?

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

            Hmm, that is already in 22.05 so it can't be that identically.

            N 1 Reply Last reply Reply Quote 0
            • N
              netblues @stephenw10
              last edited by

              @stephenw10 Indeed!
              I tried deleting and re-applying interfaces, rebooting etc, just to make sure it isn't something transient.
              Reverting to the 22.01 snapshot always works.
              All interfaces are virtio type.
              Only ppp has issues. Other (internal) traffic via other virtio interfaces works too.

              luckman212L 1 Reply Last reply Reply Quote 0
              • luckman212L
                luckman212 LAYER 8 @netblues
                last edited by

                @netblues Might be a good idea to pass this info over to a new redmine.

                K 1 Reply Last reply Reply Quote 1
                • K
                  kprovost @luckman212
                  last edited by

                  Can you confirm the package version of mpd5 that's installed?
                  ("pkg info | grep mpd5" should do just fine.)

                  The error string '[vtnet0] Cannot attach to ng_ether message' was part of the patch we removed to fix #12688, so it's very surprising to see it here.

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    netblues @kprovost
                    last edited by

                    @kprovost So, yes the issue is that mpd isn't getting updated to 5.9_7

                    However I run the process again, and I did notice mpd 5.9_7 being downloaded during upgrade.
                    After rebooting in ended up with 5.9_6 and the same problem
                    The thing is without internet connectivity isn't easy to update mpd to 5.9_7
                    The is no squidgard or anything outside packages installed.

                    Any chance a package would be the curlpit?
                    This is repeatable.

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

                      If you have Squidguard it might be it's install/deinstall script getting wedged. That has happened in the past but I could not replicate this time round.
                      If that is the case you will see the pkg-static process still present in the output of ps -auxwwd.

                      Steve

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        netblues @stephenw10
                        last edited by netblues

                        @stephenw10 No squidguard ever installed though.
                        I have removed a few things like haproxy, freeradius and wireshark,
                        and will try updating again.

                        Strange as it is it always ends up with the wrong mpd.

                        N 1 Reply Last reply Reply Quote 0
                        • N
                          netblues @netblues
                          last edited by

                          After changing connectivity options to non pppoe, and upgrading mpd manually., after upgrade, ppp finaly worked as expected.

                          I have a snapshot and tried the upgrade a few times.
                          Always ends up to the same result.
                          So it can't be transient/connectivity/host availiability issue

                          Easily fixed if there is pf internet connectivity after the upgrade. If not. hell breaks loose.

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

                            I have just upgraded to 22.05 from 22.01. Same issue MPD: mpd5-5.9_6 with no pppoe - the 'cannot attach to ng_ether message' error.

                            Not sure I have an easy option to connect this box to the internet outside of building another box with 22.01. Any advice on how to resolve (copy files manually to upgrade mpd etc.) much appreciated.

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

                              What do you have in /usr/local/etc/pkg/repos/? Do you have any third party repositories in there? If so, remove them, remove any packages you installed from them, and pkg clean -a; pkg update -f; pkg upgrade -fy to reinstall everything to ensure you have a proper set of packages and dependencies.

                              We saw something similar last week from someone who used a third party repository to upgrade ntop and that third party repo had outdated packages.

                              In general using third party repositories is a bad idea, this is one of many reasons why.

                              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 3
                              • R
                                Radiam
                                last edited by

                                Thanks for the post. I have checked the repos and no third party - it seems like something went wrong with the install like netblues above. I do have squidguard installed.

                                In the end, I basically did what was described above (with some detail in case it helps someone else):

                                • Connected WAN to a wifi hotspot (which was a little more painful than I hoped). This was helpful: https://www.youtube.com/watch?v=qRyXAFD94lI

                                • Used pkg upgrade -y mpd5 in Diagnostics/Command Prompt to force the upgrade of the package

                                • Confirmed upgraded with pkg info | grep mpd5

                                • Changed WAN back to PPPoE connection

                                Hopefully this is a limited issue. Was a bit painful but learnt some stuff along the way so not all bad.

                                1 Reply Last reply Reply Quote 1
                                • J jacotec referenced this topic on
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.