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 - unixpgmr

#1
General Discussion / nut failure
March 29, 2025, 10:24:05 PM
I have setup nut client on OPNSense.  I get nothing in the Diagnostics and the logs tell me that: UPS [non-server-apc]: connect failed: Connection failure: Connection refused.  However when I log onto the system and do non-server-apc@<ip address>, I get the following
battery.charge: 84
battery.charge.low: 10
battery.charge.warning: 50
battery.date: 2001/09/25
battery.mfr.date: 2019/12/03
battery.runtime: 773
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 27.4
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Back-UPS RS 1000MS
device.serial: 3B1949X21182 
device.type: ups
driver.name: usbhid-ups
driver.parameter.bus: 001
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.product: Back-UPS RS 1000MS FW:950.e3 .D USB FW:e3
driver.parameter.productid: 0002
driver.parameter.serial: 3B1949X21182
driver.parameter.synchronous: auto
driver.parameter.vendor: American Power Conversion
driver.parameter.vendorid: 051D
driver.version: 2.8.0
driver.version.data: APC HID 0.98
driver.version.internal: 0.47
driver.version.usb: libusb-1.0.26 (API: 0x1000109)
input.sensitivity: medium
input.transfer.high: 144
input.transfer.low: 88
input.transfer.reason: input voltage out of range
input.voltage: 121.0
input.voltage.nominal: 120
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: 950.e3 .D
ups.firmware.aux: e3     
ups.load: 16
ups.mfr: American Power Conversion
ups.mfr.date: 2019/12/03
ups.model: Back-UPS RS 1000MS
ups.productid: 0002
ups.realpower.nominal: 600
ups.serial: 3B1949X21182 
ups.status: OL CHRG
ups.test.result: No test initiated
ups.timer.reboot: 0
ups.timer.shutdown: -1
ups.vendorid: 051d

Clearly it sees it. I am using "monuser" as the monitor user name. I have the correct passwords entered. Anybody have any ideas?
#2
20.7 Legacy Series / how to terminate a dhcp lease
January 03, 2021, 05:28:13 AM
I was looking at the dhcp leases and I didn't recognize a connection.  I wanted to terminate the lease and see what quit working, but I couldn't figure out out to just terminate it. Any know how to do this?
#3
20.7 Legacy Series / User created cron job issues
November 01, 2020, 09:49:03 PM
I have a cron job that lets me know when a user has logged in to my firewall. I have been following this:
https://docs.opnsense.org/development/backend/configd.html
Here are the particulars:
in usr/local/opnsense/service/conf/actions.d I have the following
cat actions_getwho.conf
[update]
command:/home/mts/cron_scripts/getWho.sh
parameters:
type:script
description: Check for logged in users
message:get who is logged in.

I perform the following:
service configd restart
configctl getwho update

on the command line.  I get a notice about who is logged in. I set the cron job in the interface. Nothing happens.

I am at a loss
Anybody have any idea what is going on?
#4
20.1 Legacy Series / gateway problems
July 10, 2020, 09:26:50 PM
I know I am just missing something but I can't seem to get a gateway set up properly. I have 5 interfaces:
WAN
LAN: 10.20.0.0/24
OPT1
OPT2
OPT3:173.20.2.0/24

I want to be able to get from my LAN to OPT3. I can't seem to figure out the gateway to get this to work.  Any hints would be beneficial.

Thank you in advance for your time.
#5
I created some custom scripts to monitor things such as who logs in, load average, temps, etc.  I set these up so they would send a warning to my discord server.  These scripts required root privs, so added them to the root crontab. They didn't survive a reboot.  Is there a way to add custom cron jobs that will survive a reboot or upgrade?  I know that we have nrpe plugin, but I don't want to have another server just to receive nrpe notifications.  This works without the headache or cost of another server running.
#6
20.1 Legacy Series / VGA download of 20.1 not iso format
February 12, 2020, 11:52:49 PM
I am trying to download the VGA version of OPNSense 20.1 and it is NOT in ISO format, it is in IMG format. Where is the ISO format?
#7
18.1 Legacy Series / OpenVPN log warning
July 04, 2018, 06:40:13 PM
I am getting the following warning in my OpenVPN log file:
openvpn[48501]: WARNING: POTENTIALLY DANGEROUS OPTION --verify-client-cert none|optional
(or --client-cert-not-required) may accept clients which do not present a certificate

I can't find a place in the server setting to require the client certificate.  How do I fix this? 

Thank you in advance for your help
#8
Currently, my webGUI can be accessed by the internet.  I want to prevent this from happening. I have a VPN set up so if I want to access externally, I can. However, by default, it seems that anybody with a browser can get access. I would like to completely cut that off. Is there a way to do this?

Thank you in advance for your time.
#9
18.1 Legacy Series / 2FA troubles
March 26, 2018, 11:06:57 PM
I am having troubles with my 2FA system.  Here are the settings:
Desc: UniverseTOTP
Type: Local + Timebased One Time Password
Token length: 6

Rest is blank.

I am using Google Authenticator in which I used the following to set it up:
https://wiki.opnsense.org/manual/two_factor.html

I tested it in System->Access->Tester which was successful.  However, when I go to the login page on the GUI webpage, I get a failure.  Then tried to log in with just the userid/password and it succeeded. It is like the GUI is ignoring the 2FA setting.  Am I being a noob and forgetting something?

Thank you in advance for your time.