Bug #9144
closedSet interface IP address from console crashes if DHCP is selected
100%
Description
Steps to reproduce:
- Go to VGA console
- Option 2, Set interface IP address
- go through the wizard, when it asks you to enable DHCP say yes
- fill in the DHCP address range
- boom there goes the error, and it jumps back to the main menu
If you don't select enable DHCP, it sets the IP addresses correctly. As a workaround, you can assign a static IP to your PC, enter the web interface at the IP address set in the previous step, and enable DHCP from there - that doesn't crash.
[[Crash report begins. Anonymous machine information:
amd64
11.2-RELEASE-p3
FreeBSD 11.2-RELEASE-p3 #17 e6b497fa0a3(RELENG_2_4_4): Thu Sep 20 09:04:45 EDT 2018 root@buildbot3:/crossbuild/ce-244/obj/amd64/WvDslnYb/crossbuild/ce-244/pfSense/tmp/FreeBSD-src/sys/pfSense
Crash report details:
PHP Errors:
[21-Nov-2018 19:33:23 Etc/UTC] PHP Fatal error: Uncaught Error: Cannot use string offset as an array in /etc/rc.initial.setlanip:417
Stack trace:
#0 /etc/rc.initial.setlanip(430): console_configure_dhcpd(4)
#1 {main}
thrown in /etc/rc.initial.setlanip on line 417
No FreeBSD crash data found.]]
Updated by Renato Botelho about 6 years ago
- Status changed from New to In Progress
- Assignee set to Renato Botelho
Updated by Renato Botelho about 6 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
Applied in changeset 9607d4871584890633cd7a70b4f15c1f0951011c.
Updated by Denis Karpushin about 6 years ago
Wasnt able to reproduce the bug with MBT 4220 pfsense version 2.4.4
Updated by Jim Pingle about 6 years ago
- Status changed from Feedback to Resolved
Starting with <dhcpd></dhcpd>
in the config I can reproduce the error without the fix and it works with the fix applied. Looks good.