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
相关推荐
TBrL7UtdTELTTdut4BAL4 天前
XG-140G-TF 极简 OpenWrt | 修复2.5G | NPU硬件加速
服务器·智能路由器·openwrt·光猫·xg-140g-tf
canfengli6 天前
QWRT wifi中继
openwrt
BUG_MeDe13 天前
openwrt的UCI命令的使用(2)
openwrt·uci·libuci
supersolon1 个月前
PVE 部署 iStoreOS 软路由完整教程(避坑版)
虚拟机·pve·openwrt·软路由·istoreos
深念Y2 个月前
OpenWrt路由器通过USB共享网络(随身WiFi/手机)简明教程
网络·智能手机·路由器·openwrt·数码·网络共享·流量
Sollong3 个月前
Redmi AX6 TTL 救砖记录
救砖·openwrt·嵌入式开发·u-boot·红米·ttl·ax6·mibib
金鱼°3 个月前
最新OpenWRT-nss稳定版固件 路由器型号:AX3600 及 TTL救砖
智能路由器·openwrt
滴水之功3 个月前
OpenWrt的WAN和LAN的切换
linux·网络·openwrt
fredricen4 个月前
Openwrt21.02应用日志全局开关控制
lua·openwrt·luci
fredricen4 个月前
Openwrt21.02实现文件列表展示并下载文件
lua·openwrt