固件说明
新增以下功能
- Adbyby plus+
CONFIG_FIRMWARE_INCLUDE_ADBYBY
- Koolproxy
CONFIG_FIRMWARE_INCLUDE_KOOLPROXY
- caddy
CONFIG_FIRMWARE_INCLUDE_CADDY
- SS plus+
CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS
- Trojan
CONFIG_FIRMWARE_INCLUDE_TROJAN
- V2ray
CONFIG_FIRMWARE_INCLUDE_V2RAY
- SmartDNS
CONFIG_FIRMWARE_INCLUDE_SMARTDNS
- [Aliddns]
CONFIG_FIRMWARE_INCLUDE_ALIDDNS
- jq 如jq编译出现错误,请执行sudo apt-get install gcc-multilib
新增适配以下型号
- 京东云路由(文件来自Lintel) 编译代码: JDC-1
- 歌华链(感谢群里Heaven适配与测试)编译代码: GHL
- NEWIFI-D1
- B70(感谢Untitled提供荒野无灯的适配文件)
- JCG-AC856M(感谢群里的旅途中的我适配和测试,gpio值还未完全适配,但不影响使用)
- JCG-AC836M(感谢群里的碧霄客修改和测试)
- YK-L1(L1、L1C、L1W通刷)
- PSG712
特别说明
固件特点
- scutclient
CONFIG_FIRMWARE_INCLUDE_SCUTCLIENT
- gdut-drcom
CONFIG_FIRMWARE_INCLUDE_GDUT_DRCOM
- dogcom
CONFIG_FIRMWARE_INCLUDE_DOGCOM
- minieap
CONFIG_FIRMWARE_INCLUDE_MINIEAP
- njit-client
CONFIG_FIRMWARE_INCLUDE_NJIT_CLIENT
- napt66
CONFIG_FIRMWARE_INCLUDE_NAPT66
- ssr/ss
CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS
- ss-server
CONFIG_FIRMWARE_INCLUDE_SSSERVER
- softether-vpnserver
CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_SERVER
- softether-vpnclient
CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CLIENT
- softether-vpncmd
CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CMD
- dns-forwarder
CONFIG_FIRMWARE_INCLUDE_DNSFORWARDER
- vlmcsd
CONFIG_FIRMWARE_INCLUDE_VLMCSD
- ttyd
CONFIG_FIRMWARE_INCLUDE_TTYD
- lrzsz
CONFIG_FIRMWARE_INCLUDE_LRZSZ
- htop
CONFIG_FIRMWARE_INCLUDE_HTOP
- nano
CONFIG_FIRMWARE_INCLUDE_NANO
- iperf3
CONFIG_FIRMWARE_INCLUDE_IPERF3
- dump1090
CONFIG_FIRMWARE_INCLUDE_DUMP1090
- rtl-sdr
CONFIG_FIRMWARE_INCLUDE_RTL_SDR
- samba3.6
CONFIG_FIRMWARE_INCLUDE_SMBD36
- mtr
CONFIG_FIRMWARE_INCLUDE_MTR
- socat
CONFIG_FIRMWARE_INCLUDE_SOCAT
- srelay
CONFIG_FIRMWARE_INCLUDE_SRELAY
- mentohust
CONFIG_FIRMWARE_INCLUDE_MENTOHUST
- frpc
CONFIG_FIRMWARE_INCLUDE_FRPC
- frps
CONFIG_FIRMWARE_INCLUDE_FRPS
- tunsafe
CONFIG_FIRMWARE_INCLUDE_TUNSAFE
- PSG1208
- PSG1218
- PSG712
- 5K-W20 (USB)
- OYE-001 (USB)
- NEWIFI-MINI (USB)
- MI-MINI (USB)
- MI-3 (USB)
- MI-R3G (USB)
- HC5661A
- HC5761A (USB)
- HC5861B
- 360P2 (USB)
- MI-NANO
- MZ-R13
- MZ-R13P
- RT-AC1200GU (USB)
- XY-C1 (USB)
- WR1200JS (USB)
- NEWIFI3 (USB)
- K2P
- K2P-USB (USB)
- JCG-836PRO (USB)
- JCG-AC860M (USB)
- DIR-882 (USB)
- DIR-878
- MR2600 (USB)
编译说明
sudo apt update
sudo apt install unzip libtool-bin curl cmake gperf gawk flex bison nano xxd \
cpio git python-docutils gettext automake autopoint texinfo build-essential help2man \
pkg-config zlib1g-dev libgmp3-dev libmpc-dev libmpfr-dev libncurses5-dev libltdl-dev gcc-multilib
git clone --depth=1 https://github.com/chongshengB/rt-n56u.git /opt/rt-n56u
cd /opt/rt-n56u/toolchain-mipsel
# 可以从源码编译工具链,这需要一些时间:
./clean_toolchain
./build_toolchain
# 或者下载预编译的工具链:
mkdir -p toolchain-3.4.x
wget https://github.com/hanwckf/padavan-toolchain/releases/download/v1.0/mipsel-linux-uclibc.tar.xz
tar -xvf mipsel-linux-uclibc.tar.xz -C toolchain-3.4.x
nano /opt/rt-n56u/trunk/configs/templates/PSG1218.config
cd /opt/rt-n56u/trunk
sudo ./clear_tree
sudo ./build_firmware_modify PSG1218
# 脚本第一个参数为路由型号,在trunk/configs/templates/中
# 编译好的固件在trunk/images里
请参阅