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

    No logs of pppoe process

    Scheduled Pinned Locked Moved CE 2.8.0 Development Snapshots
    24 Posts 4 Posters 522 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Yup, ng0 should never exist if it's using if_pppoe.

      You can check it using: pppcfg pppoe0

      That will return nothing if it's not an if_pppoe interface.

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

        The only way to get additional output from if_pppoe I'm aware of is to enable debug mode like: ifconfig pppoe0 debug

        You will then get a lot of output at the console and dmesg.

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

          @stephenw10 So, this is another bug.
          The state of the checkbox doesn't reflect the use of new kernel mode.
          Most probably is set when you switch the interface, but if you restore the configuration
          it is ignored..

          Steps to reproduce
          Backup configuration on latest 25.03 beta, using kernel ppp
          Install ce 2.7.2 clean.
          restore 25.03 beta configuration to get system going
          Run upgrades as requested to latest 25.03
          And then restore configuration again, just in case something went missing and you end
          with mpd5 logs

          I'll try to switch it off an on again and see if it behaves.

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

            It's a loadable kernel module so it's only loaded at boot after the loader line has been added.

            If you load the config into 2.7.2 (which isn't valid) that setting doesn't do anything. When you upgrade to 25.03 it reboots but the loader line still isn't present. So once it's in 25.03 the loader lin e will have been added but the module won't actually load until the next boot.

            If you upgrade to 25.03 first then restore the config it should work as expected.

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

              @stephenw10 Yes, but I must restore the configuration to make things work .

              After switching config twice, I ended up into another corner situation
              Last messages logged (at shutdown due to kernel mode ppp checked)
              May 18 18:45:24 ppp 50090 process 50090 terminated
              May 18 18:45:24 ppp 50090 [wan_link0] Link: Shutdown
              May 18 18:45:24 ppp 50090 [wan] Bundle: Shutdown

              but, after reboot
              No more ppp logs BUT
              pppcfg pppoe0
              dev: vtnet0 state: session
              sid: 0xafc8 PADI retries: 0 PADR retries: 0 time: 00:07:59
              sppp: phase network authproto auto authname "xxxxx@xxx.com" peerproto auto
              dns: 212.205.212.205 195.170.0.1
              e50af13c-a456-4e4a-b8b3-1dc00caf018f-image.png

              What am I running? How do we fix this?

              w0wW stephenw10S 2 Replies Last reply Reply Quote 0
              • w0wW
                w0w @netblues
                last edited by w0w

                @netblues said in No logs of pppoe process:

                What am I running?

                Now it is If_pppoe and pppoe session established successfully.

                @netblues said in No logs of pppoe process:

                How do we fix this?

                What is wrong?
                Post bug report on redmine, I think…

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

                  @netblues said in No logs of pppoe process:

                  No more ppp logs BUT
                  pppcfg pppoe0
                  dev: vtnet0 state: session
                  sid: 0xafc8 PADI retries: 0 PADR retries: 0 time: 00:07:59
                  sppp: phase network authproto auto authname "xxxxx@xxx.com" peerproto auto
                  dns: 212.205.212.205 195.170.0.1

                  That's the correct expected output with if_pppoe loaded and working. There is no problem there.

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

                    @stephenw10 said in No logs of pppoe process:

                    You can check it using: pppcfg pppoe0

                    That will return nothing if it's not an if_pppoe interface.

                    Based on that I misunderstood that still I should get nothing when running kernel too.
                    Thanks for clearing it up

                    1 Reply Last reply Reply Quote 1
                    • A
                      ajama1 @stephenw10
                      last edited by

                      @stephenw10 In the PFSENSE 2.8 release, is it correct that PPP log entries in the GUI will show when the mpd5 module is used instead of the if_pppoe module?

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

                        Yes the logs will be shown there the same as previous versions if you don't enable if_pppoe.

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