Openwrt基本初始化(安装中文包,磁盘扩容)

拨号上网

安装中文包

bash 复制代码
opkg update && opkg install luci-i18n-base-zh-cn

检查防火墙设置

安装Argon主题

下载后软件包上传安装

bash 复制代码
https://github.com/jerrykuku/luci-theme-argon

磁盘扩容

弄了半天没扩成功,扩根目录太恶心了。然后发现官方文档自带扩容脚本,难崩

bash 复制代码
https://openwrt.org/docs/guide-user/advanced/expand_root
bash 复制代码
# 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
相关推荐
Sollong25 天前
Redmi AX6 TTL 救砖记录
救砖·openwrt·嵌入式开发·u-boot·红米·ttl·ax6·mibib
金鱼°1 个月前
最新OpenWRT-nss稳定版固件 路由器型号:AX3600 及 TTL救砖
智能路由器·openwrt
滴水之功1 个月前
OpenWrt的WAN和LAN的切换
linux·网络·openwrt
fredricen2 个月前
Openwrt21.02应用日志全局开关控制
lua·openwrt·luci
fredricen2 个月前
Openwrt21.02实现文件列表展示并下载文件
lua·openwrt
Sollong2 个月前
红米AX6 扩容 刷Uboot+openwrt 经历
openwrt·红米·ax6
fredricen2 个月前
Luci操作创龙(Tronlong)T113-i开发板GPIO
rpc·web·openwrt·luci
Chicheng_MA3 个月前
OpenWrt WebUI 交互架构深度解析
javascript·lua·openwrt
Rysxt_3 个月前
OpenWrt 介绍与快速入门教程
智能路由器·openwrt
一叶知秋yyds4 个月前
openwrt 系统下通过命令行设置允许wan口进行Luci页面的访问
网络·openwrt·luci 开启wan 口访问