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
相关推荐
草上爬15 天前
OpenWrt:使用ALSA实现边录边播
ubuntu·openwrt·record·alsa·play
JASON丶LI24 天前
家庭路由器改装,搭建openwrt旁路由以及手机存储服务器,实现外网节点转发、内网穿透、远程存储、接入满血DeepSeek方案
服务器·物联网·容器·智能路由器·openwrt
lepton_yang1 个月前
Openwrt下使用ffmpeg配合自建RTSP服务器实现推流
ffmpeg·openwrt·视频服务器
内网渗透2 个月前
OpenWrt 与 Docker:打造轻量级容器化应用平台技术分享
linux·docker·容器·openwrt·软路由
十月ooOO4 个月前
小米AX3000T 路由器如何开启 SSH 安装 OpenWRT 系统,不需要降级 v1.0.91 (2025)
网络·ssh·路由器·openwrt
郁大锤4 个月前
OpenWRT中常说的LuCI是什么——LuCI介绍(一)
openwrt
Creator_Ly4 个月前
4-电脑一连接上自动弹框到路由器web配置页面
前端·智能路由器·电脑·openwrt
不悔哥5 个月前
使用openwrt搭建ipsec隧道
linux·c语言·网络·tcp/ip·智能路由器·openwrt
zhouwu_linux6 个月前
openwrt 清缓存命令行
缓存·openwrt