Project

General

Profile

Actions

Bug #9144

closed

Set interface IP address from console crashes if DHCP is selected

Added by robi robi about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Category:
Console Menu
Target version:
Start date:
11/21/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All

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.]]

Actions #1

Updated by Renato Botelho about 6 years ago

  • Status changed from New to In Progress
  • Assignee set to Renato Botelho
Actions #2

Updated by Renato Botelho about 6 years ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Denis Karpushin about 6 years ago

Wasnt able to reproduce the bug with MBT 4220 pfsense version 2.4.4

Actions #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.

Actions

Also available in: Atom PDF