Skip to content

Instantly share code, notes, and snippets.

View hitesh83's full-sized avatar

Hitesh hitesh83

  • Pune, India
View GitHub Profile
@hitesh83
hitesh83 / dog.sh
Last active August 9, 2022 06:24 — forked from murilopontes/dog.sh
Openwrt watchdog script
#!/bin/sh
# save dog.sh in /root/dog.sh.
# You can use winscp with scp protocol to do this.
# Using ssh set executation permission and replace the crontab:
# chmod +x /root/dog.sh
# echo "* * * * * /root/dog.sh" | crontab -
# fix wpad / wpad-mini / hostapd stop working bug
logread -l 100 | grep -n "IEEE 802.11: did not acknowledge authentication response"