[Solved] OPNSense BIOS Password

Started by rx255, February 20, 2025, 04:58:13 AM

Previous topic - Next topic
February 20, 2025, 04:58:13 AM Last Edit: February 21, 2025, 09:54:19 PM by rx255
I'm trying to re-enter an old password I used to use as my Admin password for my BIOS on my OPNsense router, but I'm encountering an error message: "New Password is found in the history passwords." The system doesn't allow me to use the password again. Is there any way to clear the history of passwords in the BIOS?

Depends on your MOBOs manufacturer, check with them.
You can also always try to clear the CMOS but but warned this will clear all your BIOS settings.

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

I have a Protectli VP2420 with coreboot and TPM, would clearing the CMOS clear the TPM as well?

Thanks for the tip. I tried clearing the CMOS by following this [guide](https://kb.protectli.com/kb/cmos-reset/), but it didn't seem to clear the BIOS settings. As a test, I set a BIOS password and it didn't clear it. Is there any reason why this might happen? I shorted the two pins with my screwdriver for 15 seconds and even tried a few other metal items, but it still didn't reset. Am I doing something wrong? Are there any alternatives to resetting the BIOS?


Quote from: Seimus on February 20, 2025, 09:39:26 AMDepends on your MOBOs manufacturer, check with them.
You can also always try to clear the CMOS but but warned this will clear all your BIOS settings.

Regards,
S.

Try pulling the battery from the motherboard for several minutes?

That was a good suggestion! I pulled the battery from the motherboard for 10 minutes and then plugged it back in but it didn't change anything/reset the password history. I'll try to keep it unplugged for a few hours and see if that changes anything.

Quote from: OPNenthu on February 21, 2025, 04:02:33 AMTry pulling the battery from the motherboard for several minutes?

February 21, 2025, 09:04:51 AM #6 Last Edit: February 21, 2025, 09:07:05 AM by meyergru
Sigh. Why bother resetting the password history as it seems unclear as to where it is stored? The CMOS storage would be too small to store something like this, BTW. On the other hand, you were afraid of clearing the TPM for whatever reason (and the history might be stored right there).

If you absolutely need to change the password back to a previous one, just overrun the history by changing the password to, say:

Password1!, Password2!, Password3!, a.s.o.

After 5, 10 and 11 of these changes, try your old password again, and stop when you are successful. Presto!
Intel N100, 4 x I226-V, 16 GByte, 256 GByte NVME, ZTE F6005

1100 down / 770 up, Bufferbloat A

This worked. After around 10 changes I was able to set it to my old password. Thank you!

Quote from: meyergru on February 21, 2025, 09:04:51 AMSigh. Why bother resetting the password history as it seems unclear as to where it is stored? The CMOS storage would be too small to store something like this, BTW. On the other hand, you were afraid of clearing the TPM for whatever reason (and the history might be stored right there).


If you absolutely need to change the password back to a previous one, just overrun the history by changing the password to, say:

Password1!, Password2!, Password3!, a.s.o.

After 5, 10 and 11 of these changes, try your old password again, and stop when you are successful. Presto!