下载镜像
地址:https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi 选择对应版本镜像下载,解压,刷入sd卡
配置
-
配置ip
刷入后默认lan的ip为192.168.1.1,但是没有开启DHCP
需要电脑网线连接树莓派,给电脑手动设置一个ip如192.168.1.2/24 -
登录页面
输入192.168.1.1,然后修改lan口,强制保存ip,将网线连接到路由器即可使用 -
更新
opkg update
-
设置中文
下载中文语言包的方法:System-Software–Software-Actions,在Download and install package右边的文本框里输入:luci-i18n-chinese,点击OK,系统即会自动下载并安装,安装完后到语言设置的位置选择chinese,然后刷新页面即可。
或在software搜索zh-cn base下载安装 -
安装主题
luci-theme-material
argon -
安装挂载点
opkg install block-mount
- 扩展空间
opkg install fdisk
opkg install cfdisk
# 创建分区
cfdisk /dev/mmcblk0
new
write
quite
# 格式化
mkfs.ext4 /dev/mmcblk0p3
# 挂载
mount /dev/sda5 /mnt/overlay
# 拷贝数据
cp -r /overlay/* /mnt/overlay
然后在页面,选择系统->挂载点
讲刚刚的硬盘新建,设置为overlay挂载,重启
更换国内(清华的)软件源:
sed -i 's_downloads.openwrt.org_mirrors.tuna.tsinghua.edu.cn/openwrt_' /etc/opkg/distfeeds.conf
安装frpc
frpc
luci-app-frpc
luci-i18n-frpc-zh-cn
安装主题
v2ray
https://github.com/kuoruan/openwrt-v2ray
其他软件源
软件源: src/gz openwrt_kiddin9 https://op.supes.top/packages/x86_64
请删除 opkg 配置中的 option check_signature
这样就可以安装openclash了
暂无评论,还不快来坐沙发...