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

#1
Are there any UPS options? I don't want opnsense box to shutdown immediately on UPS power, but wait 5 mins or until 50% UPS power is left.
#2
I didn't see anything on Nut diagnostics, but it seems I wasn't waiting long enough. Perhaps add notes to the page to indicate that diagnostics refreshes every 30 seconds.

NUT diagnostics:
battery.charge: 100
battery.charge.low: 10
battery.charge.warning: 50
battery.date: 2001/09/25
battery.mfr.date: 2015/05/10
battery.runtime: 680
battery.runtime.low: 120
battery.type: PbAc
battery.voltage: 27.0
battery.voltage.nominal: 24.0
device.mfr: American Power Conversion
device.model: Back-UPS NS1080G
device.serial: XXX 
device.type: ups
driver.debug: 0
driver.flag.allow_killpower: 0
driver.name: usbhid-ups
driver.parameter.pollfreq: 30
driver.parameter.pollinterval: 2
driver.parameter.port: auto
driver.parameter.synchronous: auto
driver.state: quiet
driver.version: 2.8.2
driver.version.data: APC HID 0.100
driver.version.internal: 0.53
driver.version.usb: libusb-1.0.0 (API: 0x1000102)
input.sensitivity: medium
input.transfer.high: 142
input.transfer.low: 88
input.transfer.reason: input voltage out of range
input.voltage: 120.0
input.voltage.nominal: 120
ups.beeper.status: enabled
ups.delay.shutdown: 20
ups.firmware: 914.L2   .D
ups.firmware.aux: L2   
ups.load: 31
ups.mfr: American Power Conversion
ups.mfr.date: 2015/05/10
ups.model: Back-UPS NS1080G
ups.productid: 0002
ups.realpower.nominal: 650
ups.serial: XXX 
ups.status: OL
ups.test.result: No test initiated
ups.timer.reboot: 0
ups.timer.shutdown: -1
ups.vendorid: 051d
#3
Hi All,
Migrating from pfsense, and trying to get a USB attached APC ups to work. I've enabled the USBHID driver in UPS type, keeping default "port=auto" extra arguments. I've enabled NUT under general settings. Is there any other action? How do I verify this is working? How can I check UPS status?
Thanks
#4
Thanks Patrick and patient0. I reimaged to a larger USB stick, used rdisk, and the installation proceeded without issue. Interface autodetect didn't work which required pulling the cards to identify each specific interface and manually configure them, and zfs mirror didn't work, but those are separate issues.
#5
Hi all, new install. Migrating from existing pfsense installation. Install media is an old Kingston 2GB USB 2.0 stick. Checksum download was verified. Installation is on a Dell Optiplex 5050 with Intel i3-7100. I saw this forum post https://forum.opnsense.org/index.php?topic=23893.0, and did try moving the USB stick to a USB 2.0 port. Maybe I didn't format and install correctly to USB 2.0 stick?

Errors while formatting and copying to the flash drive, I did unmount the disk:
(base) iMac-2019:Downloads XXX$ bzip2 -dc OPNsense-24.1-vga-amd64.img.bz2 | sudo dd of=/dev/disk5 bs=64k
Password:
dd: /dev/disk5: Resource busy
(base) iMac-2019:Downloads XXX$ bzip2 -dc OPNsense-24.1-vga-amd64.img.bz2 | sudo dd of=/dev/disk5 bs=64k
dd: /dev/disk5: Resource busy
(base) iMac-2019:Downloads XXX$ bzip2 -dc OPNsense-24.1-vga-amd64.img.bz2 | sudo dd of=/dev/disk5 bs=64k
dd: /dev/disk5: end of device
15304+997 records in
15639+1 records out
1024970752 bytes transferred in 277.000384 secs (3700250 bytes/sec)

Error on install:
dal: Serial Number 208411811113ec539406 dad: 48.800MB/s transfers
dal: 977MB (2001888 512 byte sectors)
dad: quirks=Bx2<NO_6_BYTE>
GEOM: daB: corrupt or invalid GPT detected.
GEOM: dad: GPT rejected - may not be recoverable.
GEOM: diskid/DISK-200411011113ec53940b: corrupt or invalid GPT detected.
GEOM: diskid/DISK-208411011113ec53940b: GPT rejected - may not be recoverable. mountroot: waiting for device /dev/ufs/OPNsense_Install...
Mounting from ufs:/dev/ufs/OPNsense_Install failed with error 19.

Loader variables:
vfs.root.mountfrom-ufs:/dev/ufs/OPNsense_Install
vfs.root.mountfrom.options-ro.noatime

Manual root filesystem specification:
<fstype>: <device> Coptions)
Mount <device> using filesysten <fstupe> and with the specified (optional) option list.

eg. ufs: /dev/daBsla
zfs:zroot/ROOT/default cd9660:/dev/cd@ ro
(which is equivalent to: mount - cd9660 -0 ro /dev/cd /)

? List valld disk boot devices
Yield 1 second (for background tasks)
(empty line> Abort manual input

mountroot>