How to factory reset a DEC740?

Started by mmorlan62, January 21, 2025, 08:23:24 PM

Previous topic - Next topic
Hi there,

I loaded my OPNsense config from a former Protectli, assigned ax0 to WAN and ax1 to LAN and, after a reboot, can't get back in. SSH shows the IP addresses assigned to those ports.

I can't find any documentation that maps the physical ports to the linux names. Nor, can I find a means to factory reset. My ssh login isn't "in the sudoers file" so I can't sudo and move the /conf/config.xml file.

What options do I have? What physical port is my LAN on now?

Thanks, in advance, for your help.

Michael

ax0 and ax1 are the 10G SFP+ ports.

Do you have console access? You could easily reassign the interfaces from the console.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Hi Patrick. I suspected as much. Doh!

What are the eth port names? My SSH display doesn't show the menu with option to reassign ports. How do I do that if my login doesn't have su access?

If nothing else, I could install an SFP/Eth converter. :-)

Thanks,

M

January 21, 2025, 09:16:49 PM #3 Last Edit: January 21, 2025, 09:20:34 PM by Monviech (Cedrik)
If you have terminal access (USB COM port), after the boot menu, rapidly press the ESC (or Enter/Return, dont remember) button and you will drop out in a shell in which you can traverse the filesystem.

Go to /conf/ and look for old backups, overwrite your config.xml with an old backup and save your current configuration for later. You can also edit everything directly there in the config.xml if you want.
Hardware:
DEC740

What's keeping you from connecting a console cable?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Oh, I have console access and log in as the admin included in the config I uploaded. Unfortunately, that account isn't "in the sudoers file" so I can't sudo and move or overwrite the /conf/config.xml file.

I'll try dropping into the shell. I was there earlier. I'll make a run at the config.xml from there.

Thanks,

M

If you have console access can't you just get a root shell without logging in?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)