Factory reset a DEC740?

Started by lionflower, April 29, 2022, 12:11:03 AM

Previous topic - Next topic
April 29, 2022, 12:11:03 AM Last Edit: April 29, 2022, 09:19:37 AM by lionflower
I have a brand new Dec740 firewall bought from opnsense and everything was working fine on it. I added an ipsec vpn and now I have lost all access to the unit. I can't ping the lan address or anything. I think it may have been because the remote lan subnet overlapped with my lan subnet

How do I factory default the unit or reload opnsense? Is that possible?

I have tried accessing the unit with a console cable but all i get is the below when the unit boots. I don't see any login screen

uart0: <8250 or 16450 or compatible> port 0x3f8-0x3ff irq 3 flags 0x10 on acpi0
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Timecounter "TSC-low" frequency 1097938045 Hz quality 1000
Timecounters tick every 1.000 msec
ugen0.1: <0x1022 XHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen1.1: <0x1022 XHCI root HUB> at usbus1
uhub1 on usbus1
uhub1: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
nvme0: Allocated 64MB host memory buffer
nvd0: <TS128GMTE110S> NVMe namespace
nvd0: 122104MB (250069680 512 byte sectors)
Trying to mount root from ufs:/dev/gpt/rootfs [rw]...
WARNING: was not properly dismounted
WARNING: : mount pending error: blocks 0 files 1
uhub1: 3 ports with 3 removable, self powered
uhub0: 8 ports with 8 removable, self powered
igb0: link state changed to UP
intsmb0: <AMD FCH SMBus Controller> at device 20.0 on pci0
smbus0: <System Management Bus> on intsmb0
lo0: link state changed to UP
amdsmn0: <AMD Family 17h System Management Network> on hostb0
amdtemp0: <AMD CPU On-Die Thermal Sensors> on hostb0
pflog0: permanently promiscuous mode enabled

This suggests the unit is booting but I can't access the gui, ping the lan interface or get DHCP from the lan interface anymore.

Which version is this? It looks like 22.1 at least?

From 22.1.2 on you need to recycle the box and go to BIOS and disable legacy UART:

AMD CBS->FCH-UART


Cheers,
Franco

Were you able to resolve this issue? I have the same problem on a brand new DEC2750.

The fix is as posted... the box doesn't need a factory reset and even if you reset it the BIOS is unaffected and still needs to be sorted.


Cheers,
Franco

Oh, well never mind, doing exactly what Franco said resolved the issue, doh. I'm running v22.4

Thanks!


Hi. We have a brand new DEC3840, and after update (probably) now serial console not fully accessible. In BIOS
settings AMD CBS->FCH-UART always "enabled", and grayed out, no possible to change to disable.
Now after some wrong config restoration , I have no access to device, last log in console I can see is:
No network interfaces are assighned. thats it, no more input is working. What can I do in this situation to make factory reset/init.

The UEFI console display isn't perfect as per BIOS, but it's possible to change the value to disabled.


Cheers,
Franco

Yes, I think it working even if grayed out. But why input not working after "No network interfaces are assighned", not from laptop nor from keyboard. I stack with no access at all.
I can enter some kind of failsafe mode and see wrong conf/config.xml, but how can I replace it with good one?
Thanks in advance.

I would recommend to reinstall with serial image or try single user mode boot to edit bad /conf/config.xml

The no network interfaces was done deliberately as you can't end up with this during a reset and the factory defaults always set up a LAN and a WAN.

About the console settings the same can be said, possibly primary console not set as "serial" or switched to wrong "USB" mode.


Cheers,
Franco

PS: these are the right settings...

<serialspeed>115200</serialspeed>
<primaryconsole>serial</primaryconsole>
<usevirtualterminal>1</usevirtualterminal>

Thank You.
Booting to single user mode and deleting /conf/config.xml helps to boot to factory defaults. 

Ok, that works too :)


Cheers,
Franco