Navigation

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

    23.01 DHCPv6 not working?

    DHCP and DNS
    5
    8
    447
    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.
    • A
      akghetto last edited by johnpoz

      Noticed DHCPv6 wasn't working on my main lan today. Only recent change is I upgraded to 23.01 a ~week ago and I know it was working prior to that (can't say definitively if it has been working or not since the upgrade, been too busy with other items).

      Went into Services>DHCPv6 Server & RA>>Router Advertisements to play around and double check settings. Things looked as I've had it configured in the past but thought I'd change a setting or two and see if that got it stuck out of stupid. Immediately upon changing any setting on this page I receive a PHP error and email alert from the router when I submit:

      Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/services.inc:62 Stack trace: #0 /usr/local/www/services_router_advertisements.php(254): services_radvd_configure() #1 {main} thrown in /etc/inc/services.inc on line 62 PHP ERROR: Type: 1, File: /etc/inc/services.inc, Line: 62, Message: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/services.inc:62 Stack trace: #0 /usr/local/www/services_router_advertisements.php(254): services_radvd_configure() #1 {main} thrown
      

      Checking system logs I see errors from the php-fpm process, but not much else that appears relevant. I do see "sending solicit" messages from the dhcp6c process so I assume DHCPv6 is running, but bottom line: DHCPv6 isn't working and I can't seem to update RA to any other setting to try and trouble shoot further. Ideas?

      Thanks.

      JKnott johnpoz 2 Replies Last reply Reply Quote 0
      • JKnott
        JKnott @akghetto last edited by

        @akghetto

        If you have Android devices, you don't want DHCPv6. Thanks to some genius at Google, Android doesn't support it.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        1 Reply Last reply Reply Quote 0
        • M
          marcosm Netgate last edited by marcosm

          Regarding the PHP error, there's a patch available, see here:
          https://redmine.pfsense.org/issues/13983

          You can apply the patch with the System Patches package using the commit ID fae6b2c014749b3f56e03b3ea7e51ecee2cf53be.

          A 1 Reply Last reply Reply Quote 0
          • A
            akghetto @marcosm last edited by

            @marcosm said in 23.02 DHCPv6 not working?:

            https://redmine.pfsense.org/issues/13983

            Okay, I have the Redmine report pulled up but I don't see any patch contents I can use to input to the Patch Package. What am I missing?

            Thank you for pointing me in this direction - from the reported behavior, it definitely sounds like what I am experiencing. This is on a 6100 unit.

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

              @akghetto said in 23.02 DHCPv6 not working?:

              @marcosm said in 23.02 DHCPv6 not working?:

              https://redmine.pfsense.org/issues/13983

              Okay, I have the Redmine report pulled up but I don't see any patch contents I can use to input to the Patch Package. What am I missing?

              Thank you for pointing me in this direction - from the reported behavior, it definitely sounds like what I am experiencing. This is on a 6100 unit.

              The last entry on the linked Redmine is an associated Git commit reference which fixes a variety of DHCP PHP errors. Using the system patches package you only have to pass it the commit ID there and it will fetch the patch content. Alternately, you can use that commit ID to get a patch out of Git manually.

              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!

              A 1 Reply Last reply Reply Quote 0
              • A
                akghetto @jimp last edited by

                @jimp

                Perfect. Got it, worked... and most importantly - fixed the problem. :)

                Thanks!

                1 Reply Last reply Reply Quote 0
                • johnpoz
                  johnpoz LAYER 8 Global Moderator @akghetto last edited by johnpoz

                  @akghetto is there some 23.02 release that I am not aware of? I take you meant 23.01 if so I can edit the subject and post to reflect that if you not sure how to do that.. This makes it easier for people search for say dhcpv6 and 23.01

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 23.01 | Lab VMs CE 2.6, 2.7

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    akghetto @johnpoz last edited by

                    @johnpoz Yes, sorry. Feel free to edit the original subject.

                    This was effecting

                    23.01-RELEASE (amd64)
                    built on Fri Feb 10 20:06:33 UTC 2023
                    FreeBSD 14.0-CURRENT

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post