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

    23.01 install results in no internet

    Scheduled Pinned Locked Moved General pfSense Questions
    69 Posts 8 Posters 22.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.
    • B
      bert64 @stephenw10
      last edited by

      @stephenw10 Not that i've seen, i had to revert to 22.05 to get back online.. Is it possible to mount the alternative bootenv to retrieve the logs?

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

        Not dircetly that I'm aware of, you'd need to boot into it.

        B 1 Reply Last reply Reply Quote 0
        • B
          bert64 @stephenw10
          last edited by

          @stephenw10 what am i thinking.. i have a syslog server.
          It seems to spawn rc.newwanip for pppoe0, then 2 seconds later a new instance of mpd5 is spawned which kills the old one:

          Mar 28 22:32:55 FW1 charon[26243]: 11[KNL] x.x.x.x appeared on pppoe0
          Mar 28 22:32:55 FW1 check_reload_status[388]: rc.newwanip starting pppoe0
          Mar 28 22:32:56 FW1 dpinger[37838]: exiting on signal 15
          Mar 28 22:32:56 FW1 dpinger[37566]: exiting on signal 15
          Mar 28 22:32:56 FW1 check_reload_status[388]: Configuring interface opt5
          Mar 28 22:32:57 FW1 dpinger[38249]: exiting on signal 15
          Mar 28 22:32:57 FW1 dpinger[36458]: exiting on signal 15
          Mar 28 22:32:57 FW1 dpinger[35464]: exiting on signal 15
          Mar 28 22:32:57 FW1 dpinger[12865]: send_interval 500ms  loss_interval 2000ms  time_period 60000ms  report_interval 0ms  data_len 1  alert_interval 1000ms  latency_alarm 500ms  loss_alarm 20%  dest_addr fe80::a66c:2aff:fe77:3300%pppoe0  bind_addr fe80::ec4:7aff:fe19:898c%pppoe0  identifier "WAND_DHCP6 "
          Mar 28 22:32:57 FW1 dpinger[13165]: send_interval 500ms  loss_interval 2000ms  time_period 60000ms  report_interval 0ms  data_len 1  alert_interval 1000ms  latency_alarm 500ms  loss_alarm 20%  dest_addr 2001:XXX::73  bind_addr 2001:XXX::240  identifier "RTFW "
          Mar 28 22:32:57 FW1 dpinger[13674]: send_interval 500ms  loss_interval 2000ms  time_period 60000ms  report_interval 0ms  data_len 1  alert_interval 1000ms  latency_alarm 500ms  loss_alarm 20%  dest_addr 2001:XXX::6464  bind_addr 2001:XXX::240  identifier "Jool "
          Mar 28 22:32:57 FW1 dpinger[14103]: send_interval 500ms  loss_interval 2000ms  time_period 60000ms  report_interval 0ms  data_len 1  alert_interval 1000ms  latency_alarm 500ms  loss_alarm 20%  dest_addr 2001:XXX::777  bind_addr 2001:XXX::240  identifier "CISCO_3750 "
          Mar 28 22:32:57 FW1 dpinger[14579]: send_interval 500ms  loss_interval 2000ms  time_period 60000ms  report_interval 0ms  data_len 1  alert_interval 1000ms  latency_alarm 500ms  loss_alarm 20%  dest_addr 2001:XXX::100  bind_addr 2001:4d48:ad57:40a::240  identifier "LIABFW "
          Mar 28 22:32:57 FW1 dhcp6c[40213]: Sending Information Request
          Mar 28 22:32:57 FW1 dhcp6c[40213]: set client ID (len 10)
          Mar 28 22:32:57 FW1 dhcp6c[40213]: set elapsed time (len 2)
          Mar 28 22:32:57 FW1 dhcp6c[40213]: send information request to ff02::1:2%pppoe0
          Mar 28 22:32:57 FW1 dhcp6c[40213]: reset a timer on pppoe0, state=INFOREQ, timeo=2, retrans=3617
          Mar 28 22:32:57 FW1 charon[26243]: 16[KNL] XXX disappeared from pppoe0
          Mar 28 22:32:57 FW1 ppp[20529]: Multi-link PPP daemon for FreeBSD
          Mar 28 22:32:57 FW1 ppp[20529]:
          Mar 28 22:32:57 FW1 ppp[20529]: process 20529 started, version 5.9
          Mar 28 22:32:57 FW1 ppp[20529]: waiting for process 50355 to die...```
          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Seems like a race condition. What's opt5? How is it configured?

            B 1 Reply Last reply Reply Quote 0
            • B
              bert64 @stephenw10
              last edited by

              @stephenw10 opt5 is the pppoe interface, config is a little convoluted...

              There is a wan interface (igb2) which is connected to a switch, there is a tagged vlan interface (igb2 vlan 80), then there is a carp vip on that interface with the ppp session bound to it for failover.
              Taking the backup firewall offline and binding pppoe directly to igb2.80 made no difference.

              ppp configuration is mostly default - username, password, null service name, mtu set to 1500 to use baby jumbo frames.

              Interface configured legacy ip using pppoe, and then dhcpv6 for ipv6 with a /56 prefix delegation set to "information only" as it's static and i don't need to dynamically apply it to other interfaces.

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

                Hmm, that should be OK. Though technically PPPoE is not supported in HA.

                How is igb2 configured? In that sort of setup I would want to see it only static or no IP.

                B 1 Reply Last reply Reply Quote 0
                • B
                  bert64 @stephenw10
                  last edited by

                  @stephenw10 no ip on igb2..
                  The HA with PPPoE works well with 22.05 and earlier versions.

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

                    Hmm, is igb2 assigned/enabled?

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      bert64 @stephenw10
                      last edited by

                      @stephenw10 yeah igb2 is assigned and active.
                      The same config works with 22.05, performing an upgrade to 23.01 with no config changes triggers the problem.
                      The logs show the PPP session coming up, and then a second instance of mpd5 is spawned which causes the first one to terminate.
                      It seems mpd5 is always started with the -k option:
                      -k, --kill Kill running mpd process before start
                      just trying to work out why a second instance is getting spawned...

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

                        Yes, something is causing that and my hunch is that it's because igb2 is assigned such that the vlan and pppoe subinterfaces are being restarted.
                        Is there any reason igb2 is assigned? Can you unassign it as a test?

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          bert64 @stephenw10
                          last edited by

                          @stephenw10 It's just assigned as WAN with no IP configuration...
                          I will give it another try tonight, i'm working from home and this device controls the connection so can't take it down during the day.

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

                            Right but it doesn't need to be assigned. And by having it assigned will mean that a bunch more scripts get triggered when the VLAN or PPPoE link on the VLAN get bounced.

                            B 2 Replies Last reply Reply Quote 0
                            • B
                              bert64 @stephenw10
                              last edited by

                              @stephenw10 unassigning the parent interface made no difference, still the endless loop of connecting and killing mpd5..

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

                                Hmm, and this happens at the first time it tries to connect? Or at the first reconnect?

                                1 Reply Last reply Reply Quote 0
                                • B
                                  bert64 @stephenw10
                                  last edited by

                                  @stephenw10 as soon as it boots, and does the same thing if i disable and re-enable the interface too.

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

                                    Hmm, there must be something different there with your setup, I'm not seeing anything like that in PPPoE links here.
                                    Are you able to test it without running it on a CARP VIP?

                                    B 1 Reply Last reply Reply Quote 0
                                    • B
                                      bert64 @stephenw10
                                      last edited by

                                      @stephenw10 Makes no difference removing CARP and binding it direct to the vlan interface..

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

                                        Hmm, are you able to test a basic PPPoE connection only there?

                                        I'm not able to replicate what you're seeing. It must be part of your config triggering it somehow.

                                        B 2 Replies Last reply Reply Quote 0
                                        • B
                                          bert64 @stephenw10
                                          last edited by

                                          @stephenw10 I'll try making a fresh install on a new device with only the pppoe config and nothing else, see how it behaves...

                                          1 Reply Last reply Reply Quote 1
                                          • B
                                            bert64 @stephenw10
                                            last edited by

                                            @stephenw10 So strange thing is a fresh build with no other config doesn't have this problem, but going through and stripping out all the packages and routes out of the existing setup doesn't solve it either...

                                            Seems to be hitting the following in rc.newwanip:

                                            /*
                                             * NOTE: Take care of openvpn, no-ip or similar interfaces if you generate the event to reconfigure an interface.
                                             *      i.e. OpenVPN might be in tap mode and not have an ip.
                                             */
                                            if ($curwanip == "0.0.0.0" || !is_ipaddr($curwanip)) {
                                                    if (substr($interface_real, 0, 4) != "ovpn") {
                                                            if (!empty($config['interfaces'][$interface]['ipaddr'])) {
                                                                    log_error("rc.newwanip: Failed to update {$interface} IP, restarting...");
                                                                  send_event("interface reconfigure {$interface}");
                                                                    return;
                                                            }
                                                    }
                                            }
                                            

                                            If i comment out the send_event line the ppp session doesn't get constantly restarted, but it doesn't add routes for it either so it's not fully working. I'm not sure where the send_event code is going so i've not had chance to debug further.

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