LEDE first run configuration guide

LEDE, formerly OpenWRT, is a free open source Linux based operating system aimed at networking hardware.
Every time the system is upgraded to a newer version using the so called “Sysupgrade BIN” image every package the user manually installed gets lost; this makes the upgrade process very tedious especially if one does not properly write down all the customization he has made.
I don’t use many custom packages but QoS, USB support and vnstat are a must have.

.:. Securing LuCI with HTTPS
Install “lucu-ssl” and restart uhttpd with “/etc/init.d/uhttpd restart”.

.:. QoS
Install “qos-script” and “luci-app-qos”

.:. USB support
Install “kmod-usb-storage”, “usbutils”, “block-mount”.
Mount points can be specified from LuCI’s menu “System” -> “Mount Points”; in case the drive is a flash drive it probably is a good idea to specify “noatime” in the advanced mount options.

.:. vnStat
Install “luci-app-vnstat”.
vnStat temp files target path can be configured by editing the following file:

DatabaseDir "/mnt/usb/vnstat"

.:. Wake on LAN
Install “etherwake”.
To send magic packets use the following command:

# replace ff:ff:ff:ff:ff:ff with a wake-on-LAN enabled server NIC MAC address #
etherwake -b -i br-lan ff:ff:ff:ff:ff:ff
mafio
look at the "About me" page.

Leave a Comment

Your email address will not be published. Required fields are marked *