|
本帖最后由 wakojosin 于 2022-2-8 14:31 编辑
环境搭建:
系统 虚拟机安装的ubuntu 16.04
1. 通过以下方式安装依赖包:
- sudo apt install libncurses5 libncurses5-dev m4 bison gawk flex libstdc++6-4.4-dev g++-4.4 g++ gengetopt git gitk zlib1g-dev autoconf autopoint libtool shtool autogen python2 mtd-utils intltool sharutils docbook-xsl-* libstdc++5 texinfo dos2unix xsltproc u-boot-tools device-tree-compiler python qemu gperf liblzo2-dev uuid-dev build-essential lzma-dev liblzma-dev lzma binutils-dev patch cmake intltool libglib2.0-dev gtk-doc-tools libc6-i386 lib32stdc++6 lib32z1 libelf1:i386 libncurses5:i386 lib32ncurses5 lib32z1 libc6-dev-i386
复制代码 还有python,我使用的是python3.6.9,python版本需要2.7之后的版本。
2. 解压源码包以及修改相关的引脚(参考固件改造的帖子)
- tar xf GPL_RT_AC1200GPlus_300438252272.zip -C ~/
复制代码 3. 添加编译工具路径到环境变量
- export PATH=$PATH:/home/abc/asuswrt/release/src-rt-9.x/src/toolchains/hndtools-arm-linux-2.6.36-uclibc-4.5.3/bin
复制代码 4. 编译固件
- cd asuswrt/release/src-rt-9.x/src
- make RT-AC1200G+
复制代码 5. 编译完成的固件位置:
- asuswrt/release/src-rt-9.x/src/images/RT-AC1200G+_3.0.0.4_382_52272-g73d3ea2.trx
复制代码 编译过程结束,烧入路由器体验一下再进行下一步增删功能。
===============================================================================================================================
https://dlcdnets.asus.com/pub/AS ... us_300438252272.zipVersion 3.0.0.4.382.52272
2020/06/29 15.1 MBytes
ASUS RT-AC1200G+ Firmware version 3.0.0.4.382.52272
Security update
- Fixed CVE-2020-12695 (CallStranger)
- Fixed Reflected XSS vulnerability.
- Fixed Directory traversal vulnerability.
- Fixed CVE-2017-15653.
The update server transport layer security was upgraded and the old protocol was removed.
If your router firmware version is lower than 3.0.0.4.382.52259, please refer to the "Update Manually" section in https://www.asus.com/support/FAQ/1008000 to update the firmware.
Please unzip the firmware file first then check the MD5 code.
MD5: fc251b312cf48e00376aba65f1743c8b 为自己编译固件做准备。
提前感谢
@flyysoft博主的[完美固件]AC9真·华硕完美固件~~(改好gpio最新版3.0.0.4.380_4089) - tenda腾达无线路由器以及腾达其它网络设备 - 恩山无线论坛 - Powered by Discuz! (right.com.cn)帖子;
@abccba94博主的【固件改造】腾达AC9基于华硕RT-AC1200G+源码及梅林源码修改过程 - tenda腾达无线路由器以及腾达其它网络设备 - 恩山无线论坛 - Powered by Discuz! (right.com.cn)帖子;
为下载最新固件及编译源码提供思路。
|
|