Openwrt基本初始化(安装中文包,磁盘扩容)
拨号上网
安装中文包
opkg update && opkg install luci-i18n-base-zh-cn
检查防火墙设置
安装Argon主题
下载后软件包上传安装
https://github.com/jerrykuku/luci-theme-argon
磁盘扩容
弄了半天没扩成功,扩根目录太恶心了。然后发现官方文档自带扩容脚本,难崩
https://openwrt.org/docs/guide-user/advanced/expand_root
# Install packages opkg update opkg install parted losetup resize2fs blkid# Download expand-root.sh wget -U "" -O expand-root.sh "https://openwrt.org/_export/code/docs/guide-user/advanced/expand_root?codeblock=0"# Source the script (creates /etc/uci-defaults/70-rootpt-resize and /etc/uci-defaults/80-rootpt-resize, and adds them to /etc/sysupgrade.conf so they will be re-run after a sysupgrade) . ./expand-root.sh# Resize root partition and filesystem (will resize partiton, reboot resize filesystem, and reboot again) sh /etc/uci-defaults/70-rootpt-resize