Authors: 2022-12-15 | Last update: 2022-12-19
| Created: Snippets and Tips¶
OpenWrt Snippets with useful commands and scripts. Best practices and tips.
Update all packages on OpenWrt from SSH¶
opkg update && opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade
Enable LuCI HTTPS redirect from HTTP¶
This will activate the HTTPS redirect from HTTP in LuCI.
uci set uhttpd.main.redirect_https=1
uci commit uhttpd
service uhttpd reload