New user Not sure if it is working - asks for login and password.

Started by foxint, April 16, 2024, 09:05:54 AM

Previous topic - Next topic
Hi Guys,

I loaded Opnsense onto a PC. It was working. Then I moved house.

When I turn on the PC it boots into Opnsense. It stops at Login/password.

Is this OK???

I cannot remember my password or log in. I tried root/admin root/opnsense.

My gut says that I do not need this unless I want to change the setting.

At the moment I need the internet as my modem is not working.

Any king person?

Dan

OPNsense starts working without logging in. But if your location changed your internet config might have changed, too.

Consider reinstall with an existing backup.


Do you have a backup?

If yes -> Reinstall according to setup manual and throw in the backup when asked for

If no -> You may want to think about your approach and use different hardware to read out the hard disk with a matching filesystem driver and download the configuration in /conf/config.xml

If you had your credentials, you could download it in the webgui. But I guess that's not an option. Well, you wouldn't have to reinstall then.

Thanks guys.

I reinstalled the programme and now have issues. The 2 videos I downloaded are confusing.

My programme says WAN em0 and Lan em1. The video says Lan em0 and Wan em01.

I have 2 network RJ45 in the PC and not sure which is which. I have tried both and still cannot connect to the OPNSense PC.

I now have NO modem as it stopped working.

So I am a little screwed.

Don't use arbitrary videos made by prople who frequently have no clue about the product. The documentation is right here:

https://docs.opnsense.org/

With a newly installed OPNsense LAN is always the first interface. Just boot the system and plug your PC into one port. If you get an IP address in the 192.168.1.0/24 network and you can reach the firewall at 192.168.1.1, the port is the correct one. If you don't and you cannot, use the other port.

Once you have that connection and you can login to the UI you can proceed to configure the Internet uplink (WAN).
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Hi Patrick.

Thank you.

But my screeen says WAN is O and LAN is 1. I have tried to plug the network cable into both and cannot connect to the Opnsense PC?

I am totally lost

After a fresh installation LAN is always 0. Did you change anything after installation?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

No I kept all the defaults

I tried to put a photo, but it woudl nto take

Did you import the old configuration by any chance?
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

No - I reinstalled.

I used the OPN PC and tried to change Wan to em1

Now it is V4 DHCP 100.68.12.81/19

But I lost LAN???

If you perform a fresh installation LAN will be on the first interface at 192.168.1.1 - always.

There's something else we are missing in this discussion that is hard to diagnose via a forum. I don't have an idea.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Perhaps:

- perform another fresh installation
- don't connect it to any network
- don't perform any interface assignments on the console, don't touch, just let it boot on its own
- plug PC directly into one port, then if necessary the second

The OPNsense must be reachable at 192.168.1.1 - unless that works with the 4 steps outlined above any other action is useless.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

Hi Patrick – thank you

I re-installed again, and I got LAN 0 192.168.1.1

I do not understand "plus PC Directly into one port, then second....

I connected the OPN-PC to the network via switch and ethernet. Tired both ports on the OPN-PC, but it could not be reached.

Ran Network Diagnostics

   The default gateway is not available
   Device is not responding.

Plug your PC into one port of your OPNsense. If that does not work (PC gets an address and you can ping 192.168.1.1), use the other port. Don't use a switch, don't connect to network. Cable one end in PC, one end in OPNsense.
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)