23.01 DHCPv6 not working?
-
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.
-
If you have Android devices, you don't want DHCPv6. Thanks to some genius at Google, Android doesn't support it.
-
Regarding the PHP error, there's a patch available, see here:
https://redmine.pfsense.org/issues/13983You can apply the patch with the System Patches package using the commit ID
fae6b2c014749b3f56e03b3ea7e51ecee2cf53be
. -
@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.
-
@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.
-
-
@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
-
@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