Smart Network-Attached Storage (NAS) on OpenWrt
Known Issues
Failed to opkg update
Use http instead of https
sed -i -r -e "s|(\shttp)s(://\w+.openwrt.org/)|\1\2|" /etc/opkg/*.conf
No space left
Collected errors: * verify_pkg_installable: Only have 0kb available on filesystem /overlay, pkg kmod-nf-ipt needs 21. * opkg_install_cmd: Cannot install package dockerd. * opkg_conf_write_status_files: Couldn't close //usr/lib/opkg/status: No space left on device.
Follow Expanding rootfs to add more space to rootfs
No USB keyboard input
No USB keyboard input when I boot into OpenWrt (snapshot version).
The required drivers are not built into the kernel. We must build it ourselves with these:
CONFIG_PACKAGE_kmod-hid=y CONFIG_PACKAGE_kmod-hid-generic=y CONFIG_PACKAGE_kmod-input-evdev=y CONFIG_PACKAGE_kmod-usb-hid=y CONFIG_PACKAGE_kmod-usb-uhci=y
Docker pull fails
Failed to register layer when
# docker pull caddy ... 4f4fb700ef54: Download complete failed to register layer: lsetxattr security.capability /usr/bin/caddy: operation not supported
Build with