/rt-n56u

Padavan

Primary LanguageC

Build Status GitHub All Releases release

README

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.

How do I get set up?

Contribution guidelines

  • To be completed

特别说明


固件特点

  • 使用gorden5566的汉化字典
  • aria2可选使用较新版本的预编译程序 CONFIG_FIRMWARE_INCLUDE_ARIA2_NEW_PREBUILD_BIN
  • aria2前端更换为AriaNg
  • curl可选编译可执行程序CONFIG_FIRMWARE_INCLUDE_CURL
  • 使用了PROMETHEUS提供的部分补丁,包括新版本的类库、软件包和WIFI驱动补丁
  • 使用了Linaro1985/padavan-ng的部分软件包
  • 集成以下软件
  • 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
  • 已适配除官方适配外的以下机型
  • WR1200JS (USB)
  • NEWIFI3 (USB)
  • PSG1218
  • K2P
  • K2P-USB (USB)
  • MZ-R13
  • MZ-R13P
  • HC5661A
  • OYE-001 (USB)
  • MI-MINI (USB)
  • MI-3 (USB)
  • 5K-W20 (USB)
  • JCG-AC860M (USB)
  • JCG-836PRO (USB)
  • DIR-882 (USB)
  • DIR-878
  • RT-AC1200GU (USB)
  • XY-C1 (USB)
  • NEWIFI-MINI (USB)
  • HC5861B
  • 360P2 (USB)
  • MR2600 (USB)
  • PSG1208

编译说明

  • 安装依赖包
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 fakeroot \
pkg-config zlib1g-dev libgmp3-dev libmpc-dev libmpfr-dev libncurses5-dev libltdl-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
fakeroot ./build_firmware_modify PSG1218
#脚本第一个参数为路由型号,在trunk/configs/templates/中
#编译好的固件在trunk/images里

请参阅