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

Topics - fctr

#1
25.7, 25.10 Legacy Series / Startup and Stop beeps
August 22, 2025, 09:19:54 AM
Attached, I've created the Pac-man, Ms. Pac-man, AC/DC's Thunderstruck, and Super Mario Bros. Victory tunes.

Drop 'em in the /usr/local/etc/opnsense-beep.d directory and, if you're like me, you can rename the start and stop beep tunes to these to have OPNSense play a nifty tune instead of the usual ones.
#2
24.7, 24.10 Legacy Series / Logging into a captive portal
September 19, 2024, 06:43:52 AM
Greetings folks!

So here's the situation:
My daughter is at school and they provide free wifi access for the entire school population, controlled through captive portal logins, using their school ID and password. For devices like phones, tablets, and most PCs, joining the wifi access point is pretty darned simple.

I'd like to give my daughter her own OPNsense box, using the school's wifi as the WAN. Testing at home was pretty straight forward, as the USB wifi card connected to my home wifi, using WPA2.

I don't have a captive portal at home, but could easily set one up for testing.

I'm not sure how to go about automating the wifi connection to a captive portal. Can this be done through a plug-in, or a scripting language? Heck, I'd be happy to write a plug-in to do this, with the proper guidance from experienced BSD folks holding my hand a little.

Anyone got any ideas?
#3
For starters:

I know the device works, because I can get it working in other computers; none of them are running FreeBSD, however.

VID: 0x1199
PID: 0x9051

When running a root shell on OPNsense, I can see the device is plugged into the USB port, and it's recognized, but no drivers are loaded. I've tried switching the config to 1 (from 0), and the Aircard tries to act as a hard drive (probably with Windows drivers), but FreeBSD will have none of that and refuses to mount it.

Switching back to config 0, stops FreeBSD from trying to mount the hard drive, but nevertheless no network card, serial port, or anything useful I can work with.

FreeBSD lists this device as something it works with, but OPNsense refuses.

What am I doing wrong?
#4
General Discussion / Multi-LAN Config question
December 05, 2022, 06:41:55 AM
Hello, everyone! May I just say right now that I LOOOVE OPNSense. I'm so happy I could finally tell Cisco to kiss the fattest part of my pimply, hairy bottom and toss their overpriced garbage out the window!

So here's what I have:
(1) 6 NIC Protectli PC with the latest OPNSense

One NIC is for WAN and another NIC is for LAN, the other 4 NICs aren't being used at all. That part works great. Easy as pie to setup and secure.

What I'd like to do is setup an additional LAN where each client on that LAN can only see the internet AND NOTHING ELSE IN ANY LAN; basically, a guest-style LAN. I can't imagine this is that difficult, but I could use some hand holding.

Can anyone help me out here, or point me to a guide someone's already made?
#5
Greetings!

I am rather new to OPNSense, but so far, I love it. I have a dilemma and I'm not sure how to solve it.

Hardware and stuff:

  • Protectli Appliance with 6 NICs (1-6)
  • OPNSense 21.1.7_1 (amd64/OpenSSL)
  • Cellular Appliance with ethernet interface

Connections:

  • NIC1 - LAN
  • NIC2 - WAN Cellular Appliance (Static IP)
  • NIC3 - WAN DSL (Different Static IP)
  • NIC4-6 - Unused

So here's what I need to happen:
OPNSense should use NIC2 for WAN until the byte count for NIC2 reaches 10GB, switch over to NIC3 for WAN until a certain day of the month (first day of the cell billing), then switch back to NIC2 for WAN.

I can program and script, so if I need to write something, I'll write something, but I certainly hope it's already done by someone. Heck, I'd even pay to have it done.

Comments? Suggestions?

Thanks,
-=> Andrew