Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Fresh Install, cannot reach WebGui 192.178.1.1
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Fresh Install, cannot reach WebGui 192.178.1.1 (Read 5024 times)
foxint
Jr. Member
Posts: 58
Karma: 0
Fresh Install, cannot reach WebGui 192.178.1.1
«
on:
September 03, 2023, 10:53:31 am »
Hi Guys,
The website said I should start another post as the post is >120days… I am sorry if this is not good.
I too did a fresh install and cannot access 192.168.1.1. I have loaded OPNsense onto a HP PC and installed a dual network card. I cannot access the GUI.
I have even connected both ethernet cords from the OPN-PC to my PC and even then, I was unable to connect. Just tried it then and it timed out.
I have pulled all ethernet cords from the network and only have 1 PC.
I even plugged in the original ethernet socket - so all 3 into the switch and nothing.
I am a novice and trying to learn, but when things get difficult the instructions assume a higher level of knowledge than I have.
I pinged 192.168.1.1 and got 4 packets send and 4 received.
This is the 3rd day I have been trying and it is really hard even to get started.
Tried a static IP and that did not work.
Can someone please help.
Thank you.
Logged
Dimi3
Jr. Member
Posts: 51
Karma: 2
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #1 on:
September 03, 2023, 01:01:35 pm »
Boot opnsense and assign interface for LAN and WAN from the console. For LAN interface assign address and enable DHCP on it and connection will work since your PC will recive DHCP IP via the LAN port or via switch if you connect LAN port direct to switch.
BTW web ui url will be written in console once you assign interfaces.
Logged
foxint
Jr. Member
Posts: 58
Karma: 0
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #2 on:
September 04, 2023, 12:32:32 am »
Thank you.
But I am confused.
It asked me to setup LAGG and VLAN’s I said NO
Enter the WAN interface name or ‘a ‘ for auto -detection: a
Connect the WAN interface now and make sure that the link is up.
I do not know what this means?
Enter
No link-up detected.
What do I exactly have to do?
I played around a bit and decided that putting in ‘a’ was no good.
I had ‘em0
‘em1 and
‘em2
Not sure what these are I am assuming em0 is the network 1GB on the HP and em1 and em2 is the new 2.5 GB network card. But I have no idea if this is correct
The screen says WAN = em0
LAN = em1 v4 192.168.1.1/24
So I have lost em2. Is this good/bad
I suppose I should NOT use em0 (if it is the HP 1GB) as the new card is faster???
Still cannot access 192.168.1.1
Perhaps I have not plugged the cords in correctly. Is there a diagram? I have a box (NBN-box not sure what it is) that connects into my modem/router into the WAN hole. Then I have another cord going to my switch and my PC etc is also connected to the switch.
Is this OK??
PS - How to I engage notify when there is a reply
«
Last Edit: September 04, 2023, 06:24:24 am by foxint
»
Logged
Dimi3
Jr. Member
Posts: 51
Karma: 2
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #3 on:
September 04, 2023, 06:58:54 am »
Ok, lets try again
First you need to identify interfaces that you would like to use...you can issue a command from console;
pciconf -lv
and search for your intereface names em0, em1, em2 and try to identify witch is witch..
Then reconfigure them again from console;
select 1 Assign interfaces, and dont use 'a' but assign them manually for WAN and for LAN.
eg. em1 for WAN and em2 for LAN
After that you go and assign IP address to interface:
Select 2 - Set interface IP address
LAN - set whatewer you plan to use; default is 192.168.1.1/24
Plug in your laptop
directly
into LAN port of your opnsense router and you should be able to acccess the web GUI.
Logged
foxint
Jr. Member
Posts: 58
Karma: 0
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #4 on:
September 04, 2023, 07:18:07 am »
Hi Dimi3 – thank you.
First you need to identify interfaces that you would like to use...you can issue a command from console;
pciconf -lv
How?
I have logged into Opensense
Root
Opensense.
I have 13 options?
I went to 1:
Valid interfaces.
Em0 8c:dc;d4;3e;e6;c8 Intel (r) I217-Lm LPT – I think this is the RJ45 on the PC – I think
Em1 1c;86;0b;22;2b;98 Intel ® Pro/1000 PT 82571EB/82571GB (copper)
Em2 1c;86;0b;22;2b;99 Intel ® Pro/1000 PT 82571EB/82571GB (copper)
I really do not know what they are or where they are. I am assuming these of the 3 RJ45?? But which one is which, I have no idea.
«
Last Edit: September 04, 2023, 07:24:16 am by foxint
»
Logged
foxint
Jr. Member
Posts: 58
Karma: 0
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #5 on:
September 04, 2023, 07:40:23 am »
OK...I had a go and got the following:
LAN (em2) v4: 192.168.1.1/24
WAN (em1) v4/DHCP4: 192.168.1.4/24
Is this OK?
Still cannot connect. I tired all the cords and still cannot connect.
Logged
newsense
Hero Member
Posts: 1037
Karma: 77
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #6 on:
September 04, 2023, 08:14:02 am »
Change your LAN Interface IP to 192.168.22.1/24 and adjust the DHCP scope for the LAN to be 192.168.22.50 through 192.168.22.254
After you change the IP of the LAN and apply the settings you'll lose the connection to OPNsense so temporarily set your ethernet to 192.168.22.50 subnetmask 255.255.255.0 and GW 192.168.22.1. After fixing the DHCP scope you can revert to DHCP
On the WAN interface uncheck
Block private networks
«
Last Edit: September 04, 2023, 08:28:00 am by newsense
»
Logged
foxint
Jr. Member
Posts: 58
Karma: 0
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #7 on:
September 04, 2023, 08:52:27 am »
Hi Newsense – thank you.
You lost me after….adjust the DHCP scope?
?.
I have never been able to connect to the OPNSense PC
«
Last Edit: September 04, 2023, 08:55:31 am by foxint
»
Logged
Patrick M. Hausen
Hero Member
Posts: 6841
Karma: 574
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #8 on:
September 04, 2023, 09:02:19 am »
Your WAN uses the same network as your LAN interface. That will not work. Different interfaces must use different networks. So to get started unplug your WAN, plug your PC into LAN, reboot OPNsense - you should then be able to connect to the UI at
http://192.168
.1.1.
Once you can do that, you can change the LAN address via UI as suggested by @newsense. Then reconnect WAN.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
newsense
Hero Member
Posts: 1037
Karma: 77
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #9 on:
September 04, 2023, 09:04:15 am »
Try this:
1) Unplug WAN
2) reboot OPNsense
3) Try to connect via LAN, then do the changes I mentioned starting with the WAN interface, then LAN interface, then DHCP scope in Services - DHCPv4 - LAN - Range
4) Plug in WAN cable and try to access
https://1.1.1.1
Logged
foxint
Jr. Member
Posts: 58
Karma: 0
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #10 on:
September 04, 2023, 09:40:00 am »
Hi Guys – thank you.
I am completely confused.
I have:
*1 PC – Windows 10. It has a RJ45 socket 1GB and a RJ45 socket 2.5 GB
*1PC – OPNsense. It has a single RJ45 Socket and a dual Rj45 socket (2.5GB). I do not know what socket does what.
*1 NBN thing that I have no idea what it is but it connects to the WAN hole in my Router.
*1 Router/modem
*1 Switch
*Lots of cables.
Can you just make it really simple. Let start with simple. What cords to I plug into what. I am not sure what is my LAN and what is my WAN.
Remember I have never been able to connect to the OPNSens-PC via 192.168.1.1.
Thank you.
Logged
Patrick M. Hausen
Hero Member
Posts: 6841
Karma: 574
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #11 on:
September 04, 2023, 09:43:33 am »
Boot your freshly installed OPNsense without any network cables connected.
Boot your PC without any network cables connected.
Plug a network cable into the port of your PC that you normally use.
Plug the other end into the first port of OPNsense.
Can you ping 192.168.1.1? Yes --> good.
No --> pull the cable from OPNsense and plug it into the next port of OPNsense.
Repeat until you get a ping.
This port is LAN.
Your problem is that your existing network uses the same addresses as a freshly installed OPNsense. So you need to set up a completely isolated environment first. Then you can proceed from there once you reach the UI.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
foxint
Jr. Member
Posts: 58
Karma: 0
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #12 on:
September 04, 2023, 10:12:10 am »
Patrick – thank you.
OK I have found the LAN socket on the OPNsense PC. It is the top one.
But to get to communicate with you, I had to reconnect the PC to the switch/internet.
I was able to see the Gui, but now “unable to connect”.
Also, assuming Login is root and Password is opensense.
What do I do, now??
Logged
Patrick M. Hausen
Hero Member
Posts: 6841
Karma: 574
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #13 on:
September 04, 2023, 10:42:15 am »
Now you set up the network in that isolated fashion again and then change the IP address and the DHCP settings to 192.168.22.x as outlined by @newsense.
Once you achieved that you can connect your WAN port to your existing network and your PC to OPNsense LAN only. Your PC as well as OPNsense should then be able to communicate and reach the Internet.
Where to go from there depends on what you want to achieve in the end.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
foxint
Jr. Member
Posts: 58
Karma: 0
Re: Fresh Install, cannot reach WebGui 192.178.1.1
«
Reply #14 on:
September 04, 2023, 10:55:17 am »
Patrick – thank you.
I do not understand what newsense was saying.
What you are saying is:
*Plug the OPNsense WAN cable into my switch?
*Plug my PC into the OPNsense LAN socket
*What happens to my Router/modem
*What happens to my NBN thing that connects to the outside world?
*What happens to my other PC’s connected to the Switch
I thought the internet comes into the house and it goes into the OPNsense box and then into the switch. Then I have no idea what happens then.
I will try and disconnect from the internet and configure the OPNsense box.
Logged
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Fresh Install, cannot reach WebGui 192.178.1.1