Version 23.09 GUI Crash after changing WAN from DHCP to PPPoE
-
Hello all,
I have a pfsense running on a Netgate SG 1100. Brand new.
I had it configure with the WAN interface configured as DHCP. It worked fine.Now, I am trying to configure the WAN interface to PPPoE.
So I changed it (and also disabled) the IPv6 configuration (not used).When, using the Gui, I click on 'Interfaces - Wan' it redirects me to 'https://192.168.1.1/interfaces.php?if=wan' (which I think is correct)... but it displays (in the browser):
Fatal error: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996 Stack trace: #0 {main} thrown in /usr/local/www/interfaces.php on line 1996 PHP ERROR: Type: 1, File: /usr/local/www/interfaces.php, Line: 1996, Message: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996 Stack trace: #0 {main} thrown
Ouch !
On the dashboard page, I see : Netgate pfSense Plus has detected a crash report or programming bug. Click here for more information.
and when I click that, I get the following:Crash report begins. Anonymous machine information:
arm64
14.0-CURRENT
FreeBSD 14.0-CURRENT aarch64 1400094 #0 plus-RELENG_23_09-n256163-2763857e770: Wed Nov 1 21:17:52 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_09-main/obj/aarch64/OKyCuLux/var/jenkins/workspace/pfSense-Plus-snapshots-23_09-mCrash report details:
PHP Errors:
[20-Nov-2023 18:11:12 Europe/Brussels] PHP Fatal error: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996
Stack trace:
#0 {main}
thrown in /usr/local/www/interfaces.php on line 1996
[20-Nov-2023 18:11:26 Europe/Brussels] PHP Fatal error: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996
Stack trace:
#0 {main}
thrown in /usr/local/www/interfaces.php on line 1996
[20-Nov-2023 18:11:32 Europe/Brussels] PHP Fatal error: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996
Stack trace:
#0 {main}
thrown in /usr/local/www/interfaces.php on line 1996
[20-Nov-2023 18:11:50 Europe/Brussels] PHP Fatal error: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996
Stack trace:
#0 {main}
thrown in /usr/local/www/interfaces.php on line 1996
[20-Nov-2023 18:12:50 Europe/Brussels] PHP Fatal error: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996
Stack trace:
#0 {main}
thrown in /usr/local/www/interfaces.php on line 1996
[20-Nov-2023 18:13:36 Europe/Brussels] PHP Fatal error: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996
Stack trace:
#0 {main}
thrown in /usr/local/www/interfaces.php on line 1996
[20-Nov-2023 18:26:29 Europe/Brussels] PHP Fatal error: Uncaught TypeError: Illegal offset type in /usr/local/www/interfaces.php:1996
Stack trace:
#0 {main}
thrown in /usr/local/www/interfaces.php on line 1996No FreeBSD crash data found.
So , I am a bit stuck there :-(
On the console, the interfaces look ok...
mvneta0: flags=1008a43<UP,BROADCAST,RUNNING,ALLMULTI,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM>
ether f0:ad:4e:32:5a:c9
inet6 fe80::f2ad:4eff:fe32:5ac9%mvneta0 prefixlen 64 scopeid 0x1
media: Ethernet 1000baseT <full-duplex>
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0 metric 0 mtu 1536
options=0
groups: enc
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0x0
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
pflog0: flags=100<PROMISC> metric 0 mtu 33152
options=0
groups: pflog
pfsync0: flags=0 metric 0 mtu 1500
options=0
maxupd: 128 defer: off version: 1400
syncok: 1
groups: pfsync
mvneta0.4090: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=3<RXCSUM,TXCSUM>
ether f0:ad:4e:32:5a:c9
inet6 fe80::f2ad:4eff:fe32:5ac9%mvneta0.4090 prefixlen 64 scopeid 0xa
groups: vlan
vlan: 4090 vlanproto: 802.1q vlanpcp: 0 parent interface: mvneta0
media: Ethernet 1000baseT <full-duplex>
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
mvneta0.4091: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=3<RXCSUM,TXCSUM>
ether f0:ad:4e:32:5a:c9
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::f2ad:4eff:fe32:5ac9%mvneta0.4091 prefixlen 64 scopeid 0xb
inet6 fe80::1:1%mvneta0.4091 prefixlen 64 scopeid 0xb
groups: vlan
vlan: 4091 vlanproto: 802.1q vlanpcp: 0 parent interface: mvneta0
media: Ethernet 1000baseT <full-duplex>
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
mvneta0.4092: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=3<RXCSUM,TXCSUM>
ether f0:ad:4e:32:5a:c9
inet6 fe80::f2ad:4eff:fe32:5ac9%mvneta0.4092 prefixlen 64 scopeid 0xc
groups: vlan
vlan: 4092 vlanproto: 802.1q vlanpcp: 0 parent interface: mvneta0
media: Ethernet 1000baseT <full-duplex>
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ovpns1: flags=1008043<UP,BROADCAST,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1500
options=80000<LINKSTATE>
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::f2ad:4eff:fe32:5ac9%ovpns1 prefixlen 64 scopeid 0xd
groups: tun openvpn
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
Opened by PID 31838Please also notice that the WAN interface is physically NOT connected !
The sad part is ... I can't reset the interface to DHCP any more :-(
Any brilliant ideas from someone ?
Thank you in advance,
Yves.
-
J jimp moved this topic from Problems Installing or Upgrading pfSense Software on
-
@Yves-1 said in Version 23.09 GUI Crash after changing WAN from DHCP to PPPoE:
/usr/local/www/interfaces.php:1996
That's this: https://redmine.pfsense.org/issues/14949
It's fixed in dev snapshots and available in the recommended patches list in the System Patches package.
Steve
-
Hello Steve,
Thank you so much for the efficient and prompt reply..
However.. I can not search (and install) the system patches.. since the WAN interface is down :-(How I can proceed ?
Yves.
-
You can bypass that bug by setting up the PPPoE config first in Interfaces > Assignments > PPPs.
Then select that as the WAN.