/rt-n56u

Padavan

Primary LanguageC

Build Status

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
  • 已适配除官方适配外的以下机型
  • WR1200JS (128M,USB)
  • NEWIFI3 (512M,USB)
  • K2/PSG1218 (64M)
  • K2P/K2P_nano (128M)
  • MZ-R13 (64M)
  • MZ-R13P (64M)
  • HC5661A (128M)
  • OYE-001 (128M,USB)
  • MI-MINI (128M,USB)
  • MI-3 (128M,USB)
  • 5K-W20 (64M,USB)
  • JCG-AC860M (256M,USB)
  • DIR-882 (128M,USB)
  • RT-AC1200GU (128M,USB)
  • XY-C1 (512M,USB)
  • NEWIFI-MINI (128M,USB)
  • HC5861B (128M)

编译说明

  • 安装依赖包
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 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
sudo ./build_firmware_modify PSG1218
#脚本第一个参数为路由型号,在trunk/configs/templates/中
#编译好的固件在trunk/images里

请参阅