若非扩容升级则去掉参数EXPAND
- SSH进入终端
# 会保存配置备份
EXPAND=true bash +x ~/update.sh
# 跳过备份
EXPAND=true SKIP_BACK=1 bash +x ~/update.sh
# 默认走代理下载,如不需要代理下载固件,执行下面命令
EXPAND=true USE_PROXY=false bash +x ~/update.sh
# 默认使用gh.flyinbug.top/gh代理,自定义代理执行下面命令
EXPAND=true PROXY=gh.flyinbug.top/gh bash +x ~/update.sh
- R4SE 默认网卡rtl8821cu driver + GPU (对超频电压微调过,特别适体质垃圾的RK3399,暂时不存在跑大带宽/pcdn重启/死机之类)
- R5C 默认m.2网卡mt7921 driver + GPU + HDMI Output
- x86-64 默认AX201 driver
sudo apt update -y
sudo apt install -y ack antlr3 asciidoc autoconf automake autopoint binutils bison build-essential \
bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib \
git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev vpnc \
libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz aria2 lib32gcc-s1 \
mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils \
rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev libfuse-dev zstd npm
curl -fsSL https://test.docker.com -o test-docker.sh
sudo sh test-docker.sh
sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo service docker restart
newgrp - docker
- 本地编译
git clone https://github.com/gngpp/Actions-OpenWrt && cd Actions-OpenWrt
MODEL=x86-64 bash +x build.sh
- 用户名:root 密码:password 管理后台:http://openwrt.lan
- 电报群:https://t.me/DHDAXCW