Skip to content

Instantly share code, notes, and snippets.

View Prophet-Phoenix's full-sized avatar

Prophet-Phoenix

View GitHub Profile
@bjoern-r
bjoern-r / Huawei_E3372_openwrt.md
Last active February 2, 2024 13:34
How to use a Huawei E3372 on OpenWRT

HOWTO use a Huawei E3372 on OpenWRT

This modem is also sold as a MegaFon M150-2 USB dongle

Needed Software

Install the needed packages via opkg tool

opkg update
#!/bin/bash
# unraid_array_fan.sh v0.5
# v0.1: By xamindar: First try at it.
# v0.2: Made a small change so the fan speed on low doesn't fluctuate every time the script is run.
# v0.3: It will now enable fan speed change before trying to change it. I missed
# it at first because pwmconfig was doing it for me while I was testing the fan.
# v0.4: Corrected temp reading to "Temperature_Celsius" as my new Seagate drive
# was returning two numbers with just "Temperature".
# v0.5: By Pauven: Added linear PWM logic to slowly ramp speed when fan is between HIGH and OFF.
# A simple script to check for the highest hard disk temperatures in an array