Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Factory reset a DEC740?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Factory reset a DEC740? (Read 6007 times)
lionflower
Newbie
Posts: 1
Karma: 0
Factory reset a DEC740?
«
on:
April 29, 2022, 12:11:03 am »
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.
«
Last Edit: April 29, 2022, 09:19:37 am by lionflower
»
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Factory reset a DEC740?
«
Reply #1 on:
April 29, 2022, 01:19:27 pm »
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
Logged
eholcroft
Newbie
Posts: 4
Karma: 1
Re: Factory reset a DEC740?
«
Reply #2 on:
November 16, 2022, 04:16:17 pm »
Were you able to resolve this issue? I have the same problem on a brand new DEC2750.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Factory reset a DEC740?
«
Reply #3 on:
November 16, 2022, 04:27:33 pm »
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
Logged
eholcroft
Newbie
Posts: 4
Karma: 1
Re: Factory reset a DEC740?
«
Reply #4 on:
November 16, 2022, 04:31:37 pm »
Oh, well never mind, doing exactly what Franco said resolved the issue, doh. I'm running v22.4
Thanks!
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Factory reset a DEC740?
«
Reply #5 on:
November 16, 2022, 08:32:33 pm »
Logged
Radoslavas
Newbie
Posts: 4
Karma: 0
Re: Factory reset a DEC740?
«
Reply #6 on:
February 08, 2023, 03:14:42 pm »
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.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Factory reset a DEC740?
«
Reply #7 on:
February 08, 2023, 05:02:53 pm »
The UEFI console display isn't perfect as per BIOS, but it's possible to change the value to disabled.
Cheers,
Franco
Logged
Radoslavas
Newbie
Posts: 4
Karma: 0
Re: Factory reset a DEC740?
«
Reply #8 on:
February 08, 2023, 05:19:58 pm »
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.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Factory reset a DEC740?
«
Reply #9 on:
February 08, 2023, 05:28:02 pm »
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
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Factory reset a DEC740?
«
Reply #10 on:
February 08, 2023, 05:30:43 pm »
PS: these are the right settings...
<serialspeed>115200</serialspeed>
<primaryconsole>serial</primaryconsole>
<usevirtualterminal>1</usevirtualterminal>
Logged
Radoslavas
Newbie
Posts: 4
Karma: 0
Re: Factory reset a DEC740?
«
Reply #11 on:
February 09, 2023, 08:18:23 am »
Thank You.
Booting to single user mode and deleting /conf/config.xml helps to boot to factory defaults.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Factory reset a DEC740?
«
Reply #12 on:
February 09, 2023, 09:27:25 am »
Ok, that works too
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Factory reset a DEC740?