Skip to content

Instantly share code, notes, and snippets.

@Snuupy
Snuupy / DEVICES.md
Last active April 1, 2024 07:05
things I keep having to dig up every time but are in various different places when I have to reflash various devices
We couldn’t find that file to show.
@Snuupy
Snuupy / check_wan.sh
Created February 10, 2025 15:35
Rogers coax DHCP is broken on DOCSIS 3.1 zzz
#!/bin/sh
# Interface to monitor
WAN_INTERFACE="wan"
FAIL_COUNT=0
MAX_FAILS=3
PING_HOST_1="1.1.1.1"
PING_HOST_2="8.8.8.8"
# Lock file path