Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Greg_E

#556
One last post on this... Being more methodical again, grabbing screen shots of this issue, I was able to get UEFI and ZFS to work. The same simple steps as above.

What I'm finding is that if you have a failed attempt, or you want to change the way you did things, you really need to wipe the drive to start from scratch.

Hope this helps the next person, I found one other post in the past on this specific hardware, but no suggestions were given.
#557
I'll have to test on my hardware, but lack of multithreaded performance may stop me from using this. If it runs OK on my test system, and runs OK on my future production, then maybe. But as mentioned, it will allow much lower end processors, or much higher throughput in a multithreaded configuration.
#558
I will add to the multithreaded request, any news yet?
#559
Hopefully this post is taken as helpful and not critcal, so far this book looks like a good reference for beginners or new to OPNsense users. I'll post more as I get through the rest of the book (might be a long time though), consider this a running log I guess.

I'm on page 50 right now which just walked through installing v21.x on Proxmox... The screen shots and procedure are very much different to what I see in version 24.x. In addition, I'd suggest walking through the install on real hardware vs any virtualization system, much more straight forward. Put the virtualized procedure in an appendix to go with lab type use. I may also go through and set up a lab in XCP-NG, but this will be many months from now. edit: I see that you did go through a physical install later in the book, but still showing 21.x which is different options from 24.x

I might be able to grab screen shots next week as I work out my documentation for my own use case. This would be on a Supermicro server with 4 port Intel i350 and 2 onboard i211. If I grab these screenshots, do you want them for substitution into this document?

I'd also suggest a mention in the appendix about HP T740 devices, there is some messing around that needs to be done to make them work, I still need to get screenshots of this, but I have a post with the procedure in the forums, search term atkbd0: [GIANT-LOCKED] or just GIANT-LOCKED, last post has the procedure but no screen shots. I only mention this because the hardware seems robust enough for doing everything, and they can sometimes be found cheap enough to make them a good choice over Protectli and other devices.
#560
Thank you! I just downloaded this and will start reading through it soon.

One comment and not sure if this is possible... In the future, can you compile this as an epub as well as a PDF? epub is nicer on ereaders than PDF due to the flowing text and text sizing. Images are decent on ereaders or at least on my BOOX Tab Ultra C which I bought specifically for technical documents.

You might also consider selling the printed version, some people (myself included) still like the dead tree versions. I'll get back to this after I have time to do some reading.
#561
If you have a USB-ethernet adapter, give it a try for a LAN and see what happens. if things don't get better, I'd start checking cables between the WAN port and your modem to make sure that everything is correct. Does the modem require a crossover cable if connected directly to a computer? Or is a cross over cable already present and both ends don't want it?

If you boot up a linux live disk onto the mini, how is the speed test this way? That would let you know if it was a WAN side issue.

I'm guessing they used an Intel chip for that onboard LAN connection, so I don't think that could be the issue, and even Realtek seems to be fairly well supported on OPNsense (not pfsense) so probably not the issue. I've had no issues from the onboard NIC on my HP T620+ and T740 thin clients with OPNsense, but I'm still testing so maybe not the best source of comment.
#562
I just scanned through the posts, but can you ping to an IP like 9.9.9.9 from both OPNsense and from one of your clients?

If so then DNS is probably the issue and you need to make sure that you are either using a DNS server separate from OPN and that forwarding is present, or need to check the box to use the OPN DNS as a server and check that forwarding is also present.
#563
General Discussion / Re: One SSD has failed: what's next?
February 28, 2024, 05:54:57 PM
I've had drives with questionable SATA cables in the past. Drive "fails", you spend a bunch of time fooling around. Slide the server out on the rails and check again, drive now works. Wiggle cables, drive goes away again.

I would probably make sure all the cables are seated properly, and maybe replace the SATA cable on that drive.
#564
Do a quick search for "router on a stick". Summary is that yes you use vlans for in and out. Personally I don't like this as it could open you up to a vlan hopping attack, but many people do things this way.

My personal preference is physical firewall with physical ports (at least physical port for WAN). To me this feels safer but it may not actually be better.
#565
Unplug the WAN cable and it should be OK, had the same thing happen to me today. You can plug the WAN cable back in after the installer finishes.

Alternate would be to image the NANO version to the hard drive and let it do it's thing. It may still get stuck on the WAN and NTP connection so this may or may not fix the issue.
#566
General Discussion / Firewall rules through the CLI?
February 26, 2024, 05:41:22 PM
I tried a search and I was getting all sorts of "firewall" hits, got frustrated and making this post.

Here's what I want to do: I want to be able to configure a port to have access to the web GUI without having that port be the LAN connection. I also want to be able to configure this from the CLI before I connect a computer to any ports. It seems that the 24.x installer starts as secure (no traffic on anything but WAN and LAN), at least from what I've seen so far.

Why? I'm working on getting my install routine down, and one of the things I want to do is create a management port, much like you might find in a high end switch. A port that is meant for local only direct attachment, has a DHCP server running, and can get directly to the web GUI without connecting to the LAN port first. Default on 24.x seems to only set access rules to the "default" LAN port, all additional ports configured through the CLI do not get the pass rules to contact the web server. Specifics for the hardware I'm using - HP T740, Intel i350 4 port card for WAN and LANs, Realtek built in port for management connection. I may do the same for an older HP T620+, need to see how well that processor handles the extra packages/plugins I want to test or run. I have a VGA and keyboard/mouse available for local control.

It's looking like I need to backup a config and just keep restoring this going forward, but a way to edit in the single rule needed would be nice if possible.
#567
Can you ping an IP from the LAN, something like 9.9.9.9?

Do you have a local console set up (vga)? If so go to main menu at console and select ping to any website (name), if it works then you might be having a DNS.

I've found that in services --> unbound that I need to check the box to use the providers DNS because I don't cache all outside DNS locally.
#568
I've noticed on other projects that use Read the Docs, there is a direct menu to create PDF/HTML/epub. Would be nice to see the same options for OPNsense to make it easy for us to grab what we need.

#569
Being far more methodical and pedantic this morning, I have it working correctly.

Here is what I found in this process (reference the link above).

Boot installer in legacy mode (I'll try UEFI later when new drives come in).

At the boot options screen press 3 or esc

Type the
unset hint.uart.0.at
unset hint.uart.1.at
autoboot

the installer should load.

I chose UFS (will try zfs next time) and clicked through the steps.

When it is done, select reboot but as it counts down, you can hit cntl-c to break out of the reboot. Login in as root. You'll get the "normal" menu of choices and can select a terminal (#8?)

Now you can create the loader.conf.local file, it does not exist yet.

vi /boot/loader.conf.local
i to insert (because I don't work in vi often)
hint.uart.0.disabled="1"
hint.uart.1.disabled="1"

press esc key and type to (w)rite and (q)uit
:wq

This will drop you back into terminal where you can type reboot. Now you can proceed like normal.

If you don't get the time to break out of the first reboot, all is not lost! During regular boot, you can again press 3 or esc to bring in the loader option, again type the unset commands followed by the autoboot. When you get to the login prompt, login as root and go through the second set of steps. I'm kind of preferring this way, less hectic since you only have a few seconds to break out of that first reboot. But I have 3 or 4 more installs ahead of me before I write down my procedure with screenshots, trying to leave documentation for "the next guy", and because we typically only do this once every hardware upgrade or failure which might be years down the road. I'll probably coalesce this into a better post for the FAQs section since this isn't really a 24.x problem, it's a T740 with BSD problem (maybe other HP computers or thin clients).
#570
The above link did work, however I'm having trouble with the /boot/loader.conf.local file. That file is not present, and if did not create that file even though it said it saved the lines. I had some luck with hitting escape on boot and unset those two commands, then I logged into the system (vga) and selected to open a terminal. I was able to add the command to /boot/loader.config and reboot but I have a feeling that will be overwritten when I do the upgrades up to 24.1.2.

But I'm on the track to working, and now that this has been posted, maybe other people will find it. I was lucky and got my T740 for under $200 brand new (two years sitting in storage). Lots of computer for $200 plus the cost of a bigger drive.