Welcome to the rt-n56u project
This project aims to improve the rt-n56u and other supported devices on the software part, allowing power user to take full control over their hardware. This project was created in hope to be useful, but comes without warranty or support. Installing it will probably void your warranty. Contributors of this project are not responsible for what happens next.
- Get the tools to build the system or Download pre-built system image
- Feed the device with the system image file (Follow instructions of updating your current system)
- Perform factory reset
- Open web browser on http://my.router to configure the services
- To be completed
- 使用gorden5566的汉化字典
- curl更新到7.58.0,可选编译可执行文件
CONFIG_FIRMWARE_INCLUDE_CURL
- aria2源码更新到1.17.1,预编译二进制文件为1.33.1
CONFIG_FIRMWARE_INCLUDE_ARIA2_NEW_PREBUILD_BIN
- aria2前端更换为aria-ng (0.4.0)
- 集成以下软件
- scutclient(含webui)
CONFIG_FIRMWARE_INCLUDE_SCUT_MOD
- ttyd(含webui)
CONFIG_FIRMWARE_INCLUDE_TTYD
- vlmcsd(含webui)
CONFIG_FIRMWARE_INCLUDE_VLMCSD
- napt66(含webui)
CONFIG_FIRMWARE_INCLUDE_NAPT66
- dns-forwarder(含webui)
CONFIG_FIRMWARE_INCLUDE_DNSFORWARDER
- ChinaDNS(含webui)
CONFIG_FIRMWARE_INCLUDE_CHINADNS
- dnsmasq-china-list(含webui)
CONFIG_FIRMWARE_INCLUDE_DNSMASQ_CHINA_CONF
- ssr(含webui)
CONFIG_FIRMWARE_INCLUDE_SHADOWSOCKS
- lrzsz
CONFIG_FIRMWARE_INCLUDE_LRZSZ
- htop
CONFIG_FIRMWARE_INCLUDE_HTOP
- nano
CONFIG_FIRMWARE_INCLUDE_NANO
- gdut-drcom
CONFIG_FIRMWARE_INCLUDE_GDUT_DRCOM
- dogcom
CONFIG_FIRMWARE_INCLUDE_DOGCOM
- minieap
CONFIG_FIRMWARE_INCLUDE_MINIEAP
- njit-client
CONFIG_FIRMWARE_INCLUDE_NJIT_CLIENT
- softether-vpnclient
CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CLIENT
- softether-vpncmd
CONFIG_FIRMWARE_INCLUDE_SOFTETHERVPN_CMD
- dump1090
CONFIG_FIRMWARE_INCLUDE_DUMP1090
- rtl-sdr
CONFIG_FIRMWARE_INCLUDE_RTL_SDR
- 已适配除官方适配外的以下机型
- K2 / PSG1218 (64M)
- OYE-001 (128M,USB)
- MI-MINI (未测试,128M,USB)
- 5K-W20 (未测试,64M,USB)
- WR1200JS (未测试,128M,USB)
- 安装依赖包
sudo apt-get update
sudo apt-get install unzip libtool curl cmake gperf gawk flex bison nano \
git python-docutils gettext automake autopoint texinfo build-essential \
pkg-config zlib1g-dev libgmp3-dev libmpc-dev libmpfr-dev libncurses5-dev
- 克隆源码
git clone --depth=1 https://gitee.com/hanwckf/rt-n56u.git /opt/rt-n56u
#git clone --depth=1 https://github.com/hanwckf/rt-n56u.git /opt/rt-n56u
- 编译工具链
cd /opt/rt-n56u/toolchain-mipsel
./clean_sources
./build_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里