Skip to content
Rex Bytes

Rex Bytes

  • Home
  • All
  • Tutorials
  • Topics
  • Projects
  • Blog
Rex Bytes
Rex Bytes

freebsd

3 posts

Posts

OPNsense WAN Watchdog with Cooldown, Log Rotation & Cron Integration. PART 1

This guide outlines the steps to create a cron-activated recovery script for OPNsense 25.7.7_4 to address DHCP outages. The script monitors connectivity, logs activity, and reconfigures the WAN interface as needed. It implements cooldown mechanisms to prevent reboot loops and integrates with the system's configuration and scheduling functions.

Nov 14, 2025

OPNsense: Automatic Recovery When WAN Fails

This post addresses the absence of a built-in WAN recovery mechanism in OPNsense 25.7.7_4, which can lead to internet connection loss requiring manual reboot. The author presents a DIY solution: a shell script that pings a reliable host, attempts to renew DHCP leases, and reboots the system if necessary. The script can be scheduled via cron for regular monitoring, enhancing network reliability.

Sep 3, 2025

Running OPNsense on the HP T740 — Fixing GIANT-LOCKED and Power Recovery Issues

The article addresses the "GIANT-LOCKED" boot issue and power recovery problems encountered when using OPNsense on HP T740 thin clients. The root cause lies in the legacy device probing by FreeBSD's firmware, which can lead to system freezes and improper resets following a power cut. Solutions involve modifying the boot loader configuration to disable legacy device probing and manage ACPI settings, ensuring reliable system operation without external peripherals.

Aug 31, 2025

© 2026 Rex Bytes - WordPress Theme by Kadence WP

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}
Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}

Loading Comments...

You must be logged in to post a comment.

    • Home
    • All
    • Tutorials
    • Topics
    • Projects
    • Blog