http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&action=history&feed=atom 开发 - Revision history 2024-03-29T15:44:31Z Revision history for this page on the wiki MediaWiki 1.10.1 http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=38082&oldid=prev Leangjia: /* 说明 */ 2011-01-18T02:03:19Z <p><span class="autocomment">说明</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 02:03, 18 January 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 313:</strong></td> <td colspan="2" align="left"><strong>Line 313:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">===说明===</td><td> </td><td style="background: #eee; font-size: smaller;">===说明===</td></tr> <tr><td colspan="2">&nbsp;</td><td>+</td><td style="background: #cfc; font-size: smaller;">2011-01-18补充一下:toolchain-x86_x64-mipsel-4.1.2.tar.bz2下载地址出现在:http://www.dd-wrt.com/dd-wrtv2/downloads/others/tornado/toolchains/toolchain-x86_x64-mipsel-4.1.2.tar.bz2</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">你需要mipsl的版本为3.4.6和4.1.0的uClibc。他们可在[[http://www.dd-wrt.com/dd-wrtv2/downloads/others/sourcecode/toolchains/toolchains.x86.debian.sp1.tar.bz2]]为x86用户。 也有部分在下载PPC版本的[[http://www.dd-wrt.com/dd-wrtv2/downloads/others/sourcecode/toolchains/toolchains.darwin.ppc.sp1.tar.bz2]]在MIPS - uClibc的开发工具链3.4.6用于建设的内核和4.1.0 mipsel - uClibc的开发工具链,是建设用户模式程序包使用。无论你是否想解压,下面的脚本都将设立适当的符号链接。</td><td> </td><td style="background: #eee; font-size: smaller;">你需要mipsl的版本为3.4.6和4.1.0的uClibc。他们可在[[http://www.dd-wrt.com/dd-wrtv2/downloads/others/sourcecode/toolchains/toolchains.x86.debian.sp1.tar.bz2]]为x86用户。 也有部分在下载PPC版本的[[http://www.dd-wrt.com/dd-wrtv2/downloads/others/sourcecode/toolchains/toolchains.darwin.ppc.sp1.tar.bz2]]在MIPS - uClibc的开发工具链3.4.6用于建设的内核和4.1.0 mipsel - uClibc的开发工具链,是建设用户模式程序包使用。无论你是否想解压,下面的脚本都将设立适当的符号链接。</td></tr> </table> Leangjia http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=38081&oldid=prev Leangjia: /* 修改固件 (manual and/or ipkg_install.sh) */ 2011-01-18T01:59:03Z <p><span class="autocomment">修改固件 (manual and/or ipkg_install.sh)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 01:59, 18 January 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 126:</strong></td> <td colspan="2" align="left"><strong>Line 126:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">; some_package-1.2.5.ipkg : 指软件包的文件名。</td><td> </td><td style="background: #eee; font-size: smaller;">; some_package-1.2.5.ipkg : 指软件包的文件名。</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">; working_directory :为您提供相同的工作目录到extract_firmware.sh脚本。</td><td> </td><td style="background: #eee; font-size: smaller;">; working_directory :为您提供相同的工作目录到extract_firmware.sh脚本。</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">!注意:若软件包需进行相关配置,则,如何利用WEB来配置此软件包,需要各自想办法。翻译者尝试过,但水平有限。有经验的朋友请到路由站http://<del style="color: red; font-weight: bold; text-decoration: none;">www.</del>2cna.<del style="color: red; font-weight: bold; text-decoration: none;">cn</del>:88<del style="color: red; font-weight: bold; text-decoration: none;">/ </del> 或leangjia@vip.qq.com分享一下。万分感谢!</td><td>+</td><td style="background: #cfc; font-size: smaller;">!注意:若软件包需进行相关配置,则,如何利用WEB来配置此软件包,需要各自想办法。翻译者尝试过,但水平有限。有经验的朋友请到路由站http://2cna.<ins style="color: red; font-weight: bold; text-decoration: none;">3322.org</ins>:88 或leangjia@vip.qq.com分享一下。万分感谢!</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">==重新编译固件 (build_firmware.sh) ==</td><td> </td><td style="background: #eee; font-size: smaller;">==重新编译固件 (build_firmware.sh) ==</td></tr> </table> Leangjia http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=38080&oldid=prev Leangjia: /* 解压固件 (extract_firmware.sh) */ 2011-01-18T01:57:32Z <p><span class="autocomment">解压固件 (extract_firmware.sh)</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 01:57, 18 January 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 95:</strong></td> <td colspan="2" align="left"><strong>Line 95:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">新手须知:上述命令解释:&quot;./extract_firmware.sh&quot;表示执行当前目录下的extract_firmware.sh。加&quot;./&quot;,即当前目录,就不必设置path环境变量。</td><td> </td><td style="background: #eee; font-size: smaller;">新手须知:上述命令解释:&quot;./extract_firmware.sh&quot;表示执行当前目录下的extract_firmware.sh。加&quot;./&quot;,即当前目录,就不必设置path环境变量。</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">; firmware.bin :你想提取的固件的镜像文件, 如, DD-WRT.v23_MICRO_GENERIC.BIN. </td><td> </td><td style="background: #eee; font-size: smaller;">; firmware.bin :你想提取的固件的镜像文件, 如, DD-WRT.v23_MICRO_GENERIC.BIN. </td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">; working_directory :<del style="color: red; font-weight: bold; text-decoration: none;">你要使用的工作目录。这将被胜于保存中间文件和提取系统文件。请注意,在工作目录中的文件可能被删除!</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">; working_directory :<ins style="color: red; font-weight: bold; text-decoration: none;">你要使用的工作目录。这将被用于保存中间文件和提取系统文件。请注意,在工作目录中的文件可能被删除!</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">不要紧,您提供的固件镜像文件,如,为一WRT54G或华硕WL</del>-500G。这些镜像文件通常都是相同的,只是在头格式有所不同。在重建过程中,将会创建各种型号的镜像。</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">您提供的固件镜像文件,如,为一WRT54G或华硕WL</ins>-500G。这些镜像文件通常都是相同的,只是在头格式有所不同。在重建过程中,将会创建各种型号的镜像。</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">一种提取日志创建为</del>'' extract.log ''。&lt;br&gt;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">提取的日志将创建为</ins>'' extract.log ''。&lt;br&gt;</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">dsf</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">。</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">'''举例:'''</td><td> </td><td style="background: #eee; font-size: smaller;">'''举例:'''</td></tr> </table> Leangjia http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=38079&oldid=prev Leangjia: /* 兼容性 */ 2011-01-18T01:55:39Z <p><span class="autocomment">兼容性</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 01:55, 18 January 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 58:</strong></td> <td colspan="2" align="left"><strong>Line 58:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=兼容性=</td><td> </td><td style="background: #eee; font-size: smaller;">=兼容性=</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">它使用任何一个根文件系统应该能正常的squashfs </del>- <del style="color: red; font-weight: bold; text-decoration: none;">LZMA的cybertan结构(linux架构的一种)的固件镜像文件格式。固件,使用squashfs或其他常规的(即cramfs)文件系统,如果将工作的步骤提取文件系统和文件系统的重建小的改动。由于是,它与下面的兼容:</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">固件使用正常的squashfs </ins>- <ins style="color: red; font-weight: bold; text-decoration: none;">LZMA的cybertan结构(linux架构的一种)的固件镜像文件格式。如果将工作的步骤提取文件系统和文件系统的重建小的改动,由于是使用squashfs或其他常规的(即cramfs)文件系统,故它与下面所列相兼容:</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">{| border=1 cellspacing=0 cellpadding=5</td><td> </td><td style="background: #eee; font-size: smaller;">{| border=1 cellspacing=0 cellpadding=5</td></tr> </table> Leangjia http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=38078&oldid=prev Leangjia: /* 需求 */ 2011-01-18T01:51:27Z <p><span class="autocomment">需求</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 01:51, 18 January 2011</td> </tr> <tr><td colspan="2" align="left"><strong>Line 17:</strong></td> <td colspan="2" align="left"><strong>Line 17:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">你需要一台Linux机器来编译DD-WRT。它应该工作于安装好了基础开发工具包的机器上。</td><td> </td><td style="background: #eee; font-size: smaller;">你需要一台Linux机器来编译DD-WRT。它应该工作于安装好了基础开发工具包的机器上。</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">最低资格(TODO:在有人请完成此列表 - 对/在openwrt先决条件最需要):</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">最低资格(TODO:须安装下列库或软件以配置好编译环境):</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* Automake v1.9.4</td><td> </td><td style="background: #eee; font-size: smaller;">* Automake v1.9.4</td></tr> <tr><td colspan="2" align="left"><strong>Line 38:</strong></td> <td colspan="2" align="left"><strong>Line 38:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* build-essentials</td><td> </td><td style="background: #eee; font-size: smaller;">* build-essentials</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">若首次,其中大部分要安装/更新:</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">安装上述,命令如下:</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"> sudo apt-get install gcc g++ binutils patch bzip2 flex bison make gettext unzip zlib1g-dev libc6</td><td> </td><td style="background: #eee; font-size: smaller;"> sudo apt-get install gcc g++ binutils patch bzip2 flex bison make gettext unzip zlib1g-dev libc6</td></tr> <tr><td colspan="2" align="left"><strong>Line 50:</strong></td> <td colspan="2" align="left"><strong>Line 50:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># GNU C (gcc库)</td><td> </td><td style="background: #eee; font-size: smaller;"># GNU C (gcc库)</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># GNU C++ (g++库)</td><td> </td><td style="background: #eee; font-size: smaller;"># GNU C++ (g++库)</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"># <del style="color: red; font-weight: bold; text-decoration: none;">标准C运行时库的开发</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"># <ins style="color: red; font-weight: bold; text-decoration: none;">标准C运行时库的开发版</ins></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"># 标准C++<del style="color: red; font-weight: bold; text-decoration: none;">运行时库的开发</del></td><td>+</td><td style="background: #cfc; font-size: smaller;"># 标准C++<ins style="color: red; font-weight: bold; text-decoration: none;">运行时库的开发版</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># GNU make</td><td> </td><td style="background: #eee; font-size: smaller;"># GNU make</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"># tar和gzip(可选,由ipkg_install.sh使用)</td><td> </td><td style="background: #eee; font-size: smaller;"># tar和gzip(可选,由ipkg_install.sh使用)</td></tr> </table> Leangjia http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=36413&oldid=prev Leangjia at 03:45, 19 October 2010 2010-10-19T03:45:05Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 03:45, 19 October 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 4:</strong></td> <td colspan="2" align="left"><strong>Line 4:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">大多数时候,你并不真的需要从源码来重新编译DD-WRT,以满足您所期望的功能。现在,固件修改工具包让这一进程已变得相当容易。 [http://www.bitsum.com/firmware_mod_kit.htm 固件修改工具包.] 该套件能够使用户无需从源码重新编译固件而修改固件镜像文件的功能变化。它通过其组成部分基于文件系统的支持,提取到固件的squashfs-LZMA的,(其他文件系统可以用)。然后用户可以以提取的文件系统进行修改,然后重新生成固件镜像。</td><td> </td><td style="background: #eee; font-size: smaller;">大多数时候,你并不真的需要从源码来重新编译DD-WRT,以满足您所期望的功能。现在,固件修改工具包让这一进程已变得相当容易。 [http://www.bitsum.com/firmware_mod_kit.htm 固件修改工具包.] 该套件能够使用户无需从源码重新编译固件而修改固件镜像文件的功能变化。它通过其组成部分基于文件系统的支持,提取到固件的squashfs-LZMA的,(其他文件系统可以用)。然后用户可以以提取的文件系统进行修改,然后重新生成固件镜像。</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;"><del style="color: red; font-weight: bold; text-decoration: none;">【附 </del>Toolchain下载:http://www.macsat.com/forum/index.php?topic=681.msg3699#msg3699 】</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">【leangjia附 </ins>Toolchain下载:http://www.macsat.com/forum/index.php?topic=681.msg3699#msg3699 】</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">其特点(特征)包括:</td><td> </td><td style="background: #eee; font-size: smaller;">其特点(特征)包括:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* 添加初始化脚本</td><td> </td><td style="background: #eee; font-size: smaller;">* 添加初始化脚本</td></tr> </table> Leangjia http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=36412&oldid=prev Leangjia at 02:29, 19 October 2010 2010-10-19T02:29:33Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 02:29, 19 October 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 4:</strong></td> <td colspan="2" align="left"><strong>Line 4:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">大多数时候,你并不真的需要从源码来重新编译DD-WRT,以满足您所期望的功能。现在,固件修改工具包让这一进程已变得相当容易。 [http://www.bitsum.com/firmware_mod_kit.htm 固件修改工具包.] 该套件能够使用户无需从源码重新编译固件而修改固件镜像文件的功能变化。它通过其组成部分基于文件系统的支持,提取到固件的squashfs-LZMA的,(其他文件系统可以用)。然后用户可以以提取的文件系统进行修改,然后重新生成固件镜像。</td><td> </td><td style="background: #eee; font-size: smaller;">大多数时候,你并不真的需要从源码来重新编译DD-WRT,以满足您所期望的功能。现在,固件修改工具包让这一进程已变得相当容易。 [http://www.bitsum.com/firmware_mod_kit.htm 固件修改工具包.] 该套件能够使用户无需从源码重新编译固件而修改固件镜像文件的功能变化。它通过其组成部分基于文件系统的支持,提取到固件的squashfs-LZMA的,(其他文件系统可以用)。然后用户可以以提取的文件系统进行修改,然后重新生成固件镜像。</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">【附 Toolchain下载:http://www.macsat.com/forum/index.php?topic=681.msg3699#<del style="color: red; font-weight: bold; text-decoration: none;">msg3699】</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">【附 Toolchain下载:http://www.macsat.com/forum/index.php?topic=681.msg3699#<ins style="color: red; font-weight: bold; text-decoration: none;">msg3699 】</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">其特点(特征)包括:</td><td> </td><td style="background: #eee; font-size: smaller;">其特点(特征)包括:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* 添加初始化脚本</td><td> </td><td style="background: #eee; font-size: smaller;">* 添加初始化脚本</td></tr> </table> Leangjia http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=36411&oldid=prev Leangjia at 02:29, 19 October 2010 2010-10-19T02:29:01Z <p></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 02:29, 19 October 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 4:</strong></td> <td colspan="2" align="left"><strong>Line 4:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">大多数时候,你并不真的需要从源码来重新编译DD-WRT,以满足您所期望的功能。现在,固件修改工具包让这一进程已变得相当容易。 [http://www.bitsum.com/firmware_mod_kit.htm 固件修改工具包.] 该套件能够使用户无需从源码重新编译固件而修改固件镜像文件的功能变化。它通过其组成部分基于文件系统的支持,提取到固件的squashfs-LZMA的,(其他文件系统可以用)。然后用户可以以提取的文件系统进行修改,然后重新生成固件镜像。</td><td> </td><td style="background: #eee; font-size: smaller;">大多数时候,你并不真的需要从源码来重新编译DD-WRT,以满足您所期望的功能。现在,固件修改工具包让这一进程已变得相当容易。 [http://www.bitsum.com/firmware_mod_kit.htm 固件修改工具包.] 该套件能够使用户无需从源码重新编译固件而修改固件镜像文件的功能变化。它通过其组成部分基于文件系统的支持,提取到固件的squashfs-LZMA的,(其他文件系统可以用)。然后用户可以以提取的文件系统进行修改,然后重新生成固件镜像。</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">&#160;</td><td>+</td><td style="background: #cfc; font-size: smaller;"><ins style="color: red; font-weight: bold; text-decoration: none;">【附 Toolchain下载:http://www.macsat.com/forum/index.php?topic=681.msg3699#msg3699】</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">其特点(特征)包括:</td><td> </td><td style="background: #eee; font-size: smaller;">其特点(特征)包括:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">* 添加初始化脚本</td><td> </td><td style="background: #eee; font-size: smaller;">* 添加初始化脚本</td></tr> </table> Leangjia http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=34016&oldid=prev Leangjia: /* 导入源码 */ 2010-06-23T01:26:07Z <p><span class="autocomment">导入源码</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 01:26, 23 June 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 180:</strong></td> <td colspan="2" align="left"><strong>Line 180:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">首先,在你的电脑上安装好Ubuntu(最新版本即可)操作系统。</td><td> </td><td style="background: #eee; font-size: smaller;">首先,在你的电脑上安装好Ubuntu(最新版本即可)操作系统。</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">=== 导入源码===</td><td> </td><td style="background: #eee; font-size: smaller;">=== 导入源码===</td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">然后利用SVN来获取源码,释出到DD-WRT <del style="color: red; font-weight: bold; text-decoration: none;">文件夹,命令如下:</del></td><td>+</td><td style="background: #cfc; font-size: smaller;">然后利用SVN来获取源码,释出到DD-WRT <ins style="color: red; font-weight: bold; text-decoration: none;">文件夹,命令如下(MS,http的超链接,大陆访问失效了.--leangjia于2010-06-23):</ins></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;svn co http://svn.dd-wrt.com/DD-WRT ./DD-WRT &lt;/pre&gt;或&lt;pre&gt;svn co svn://svn.dd-wrt.com/DD-WRT ./DD-WRT&lt;/pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;svn co http://svn.dd-wrt.com/DD-WRT ./DD-WRT &lt;/pre&gt;或&lt;pre&gt;svn co svn://svn.dd-wrt.com/DD-WRT ./DD-WRT&lt;/pre&gt;</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">'''重要'''</td><td> </td><td style="background: #eee; font-size: smaller;">'''重要'''</td></tr> </table> Leangjia http://wiki.dd-wrt.com/wiki/index.php?title=%E5%BC%80%E5%8F%91&diff=33667&oldid=prev Leangjia: /* 下载区 */ 2010-06-02T08:34:26Z <p><span class="autocomment">下载区</span></p> <table border='0' width='98%' cellpadding='0' cellspacing='4' style="background-color: white;"> <tr> <td colspan='2' width='50%' align='center' style="background-color: white;">←Older revision</td> <td colspan='2' width='50%' align='center' style="background-color: white;">Revision as of 08:34, 2 June 2010</td> </tr> <tr><td colspan="2" align="left"><strong>Line 307:</strong></td> <td colspan="2" align="left"><strong>Line 307:</strong></td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">===下载区===</td><td> </td><td style="background: #eee; font-size: smaller;">===下载区===</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;"></td><td> </td><td style="background: #eee; font-size: smaller;"></td></tr> <tr><td>-</td><td style="background: #ffa; font-size: smaller;">另一种方式来获得源是从[http://www.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.<del style="color: red; font-weight: bold; text-decoration: none;">html下载区</del>]下载它。</td><td>+</td><td style="background: #cfc; font-size: smaller;">另一种方式来获得源是从[http://www.dd-wrt.com/dd-wrtv3/dd-wrt/downloads.<ins style="color: red; font-weight: bold; text-decoration: none;">html</ins>]下载它。</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">随后你需要通过使用类似下面的很简单的命令来提取它:</td><td> </td><td style="background: #eee; font-size: smaller;">随后你需要通过使用类似下面的很简单的命令来提取它:</td></tr> <tr><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;tar -jxvf nameoffile.tar.bz&lt;/pre&gt;</td><td> </td><td style="background: #eee; font-size: smaller;">&lt;pre&gt;tar -jxvf nameoffile.tar.bz&lt;/pre&gt;</td></tr> </table> Leangjia