找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888广告投放联系QQ68610888
广告投放联系QQ68610888广告投放联系QQ68610888
查看: 3961|回复: 3

WRT官网论坛的置顶指导帖Peacock手动翻译

[复制链接]
发表于 2009-6-12 13:44 | 显示全部楼层 |阅读模式
自己在看就翻了一部分发上来
本人菜鸟一个有不正确的地方请前辈指正
这样我就知道有问题可以向谁请教了


如果大家感兴趣的话我就接着往下翻
我自己手动翻得累复制粘贴烦劳指明出处

想要让dd-wrt运行良好请先读这帖
把此帖命名为peacock(孔雀开屏??)以便搜索.总是看到一些问题和疑惑反复被提起.以下是我对通常问题的见解:

1.        请在固件刷新前后硬起路由.硬起不是指仅仅按reset按钮完事.这里的硬起是指做30-30-30式硬起: 开机状态下按reset-30秒;按着reset拔电源-30秒;按着reset插上电源-30秒.在这个过程中需要按着reset键90秒
(注意WRT54GS v1.1硬起后无论如何操作都会变砖请查相关资料)
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=45024

完成以上之后如果进入web界面仍然没被要求修改密码的话(固件新于9707, June 14, 2008会要求自动更改密码)就代表硬起没有成功

这个硬起要求是重要必须的.固件向Nvram中写数据.这个步骤就是清除先前数据.如果没有完全硬起,部分旧固件数据会夹杂于新固件,引起机器运行不正常。不要偷懒。在升级前硬起是相当重要的。硬起不仅仅是升级后的必须。

适当的升级步骤如下:

a.        升级前硬起并设定密码
b.        用web界面刷固件(除非你的路由是Buffalo 或者Belkin)
c.        至少等待3分钟。等灯跳回正常状态。见以下重要2很多人不等就会变砖
d.        断电30秒重新通电
e.        等待灯跳回正常状态通常2分钟
f.        再次硬起后重新设定密码和其他

重要:30-30-30式硬起对ASUS有效。但硬起后请按以上d点断电。
重要2:刷机后硬起前路由会对nvram建立设置.在其完成前必须等待,不能做任何改动包括硬起.通常当看见WAN端指示灯亮起此过程结束,耗时数分钟。在此期间去喝被啤酒。越来越多的人路由变砖就是因为没有等待nvram数据建立。在硬起前记得等待。

如果之后还是有问题请发帖时注意提及是在刷完硬起之后,否则人人都会让你去硬起路由。

2.        别把旧版设置文件用于任何新版固件以免故障.如果确认新版稳定就删除旧版设置文件。这些文件已经失效。另外如果旧版设置在使用中有任何问题也应遗弃以免把问题带到新版中。也就是说你必须手动重设所有设置。别忽略这点,这就是玩第三方固件的乐趣。在此过程中你也会看到很多以前忽略的新选项。如果你感觉麻烦,可以尝试firefox的imacros自动操作。

有人也编写了一些自动脚本重建 nvram
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=44324

3.        根据推荐升级固件,特别是路由正运行sp1或者其他更早的版本。新版固件有针对疵点的修补。完成此帖时最新版本为v.24 SP1。这个版本有很多疵点在后续版本中会有修补。但是有时新版也会有新问题。新版本是BETA测试版并未完全完工。虽然这些版本已经过较普遍的测试证明优于SP1,但你仍然对自行刷机风险负有自有责任。经常到论坛里看看别人的评论。以下是一些推荐版本:

SVN11296 (基本针对所有G型 路由)
Eko11793, BS12058(in the 080509 folder) or Eko12060 (针对N型路由以及双通道设备)

事实上以鄙人测试浅见不要用sp1版本。。。挑选一个更新的版本。你可以从other/eko/TNG_24获得beta更新。

目前的BrainSlayer版本如下:
25/04/09 12006
29/04/09 12017
01/05/09 12033
08/05/09 12058
18/05/09 12134 and 12145 (depending on build size)
21/05/09 12188

不同的固件对于不同无线加密有问题。所以可以尝试不同的版本。最新的固件对于 UPnP支持有问题。

每个固件版本在论坛里都有专帖。有些版本运作良好,但主要针对对N型/双通道型路由。如果你使用的设备符合,就可以参考别人的经验安装。如果你不是以上设备12296仍是最稳定版。

V24 Sp1的安全设定通常有问题,且在后续版本中也时有问题。Sp1在桥接模式下DHCP分配也有问题。如果这对于你有问题请用后续固件以改善安全设定和DHCP桥接运作。

比以上更新的固件不一定就更好。如果你看见新固件想更新一定要确认有jtag线。别只想到没有更新新固件,看看更新说明。

更新前确认防火墙和病毒防护已关闭。有人因为没有关闭安全设定在连接到路由的时候出现问题。一下见新版路径:

EKO:

ftp://dd-wrt.com/others/eko/V24_TNG/

Brainslayer:

ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/
官网数据里可能会推荐一些偏门的版本,包括 SP1和115XX版差于以上推荐的版本。不要问我为什么,自己试试就知道了。
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
 楼主| 发表于 2009-6-12 13:47 | 显示全部楼层
1# sunfan

原文附上

[quote]http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486

Joined: 23 Sep 2008
Posts: 1898

Posted: Tue May 05, 2009 11:44 pm    Post subject: Peacock Thread-To get dd-wrt working well, read this first       
I called this the peacock thread so it can be searched for easily.

I am seeing the same common problems and confusion arising over and over again. Here are some comments on common problems:

1. DO A HARD RESET *BEFORE AND AFTER* YOU FLASH FIRMWARE. This does not mean hitting the reset button and saying you are done. This means doing the 30-30-30 reset. To do a 30-30-30 reset you must push the reset button with your router powered on. Hold it for 30 seconds with the router powered on. STILL holding it, pull the power cord for 30 seconds. Still holding it, plug the router back in. You will have held the button for a full 90 seconds without releasing it.

(Note that the WRT54GS v1.1 router can brick after a hard reset no matter how it is done. See this post and the solution in Vulcan's post

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=45024

After you have done this, if you haven't been asked to change your password when you login to the webgui,(presuming you are using a build newer than 9707, June 14, 2008 to flash with when the auto reconfig password was introduced) you haven't done the hard reset properly.

This is not a minor optional step. The firmware writes information to the Nvram. This step clears that information. If you don't clear it properly, parts of the old information be present with the new firmware, which can make it not operate properly. Don't cut corners. Doing it before you upgrade can be very important; a hard reset is not just for after upgrades.

The proper process for flashing when upgrading firmware is:

a. Hard reset prior to flashing. Wait. Check for password page on re-login and change password.

b. Flash firmware. You can use the webgui except if you have a buffalo or a belkin router.

c. Wait...at least three minutes. Lights should return to normal. See important2, below. Failing to wait is how most people brick their routers.

d. Do a power cycle of the router. Unplug the cord, count to 30 and plug it back in.

e. Wait for the lights to return to normal usually about 2 minutes.

f. HARD reset again. Wait. Check for the password page and re-login to change the password. Then you can reconfigure your setttings manually.

Important: This 30-30-30 hard reset works fine for Asus router, but you do have to power cycle after the reset.

Important2: After you flash the firmware, and before you do the hard reset, the router will be building some nvram settings. YOU MUST WAIT FOR THIS TO FINISH PRIOR TO DOING ANYTHING WITH THE ROUTER INCLUDING A HARD RESET. Usually, you can tell when this process is completed by the WAN light coming on, but it does take several minutes. Go have a beer. There are starting to be more and more people who BRICK their routers by not waiting until the nvram is rebuilt, PRIOR to doing a hard reset. YOU NEED TO WAIT!

If you have done a hard reset on the router, and received the change password screen, make sure you mention this in your post if you still have a problem....otherwise everyone will be telling you to do a hard reset.

2. You CANNOT install old configuration files on any newer firmware without risking large problems. Don't do it. Delete your old configuration files once you are sure the newer firmware is stable. They are useless. Yes. You should also not re-use old config files IF you are having any problems, or you could put the problem back in. This does mean you have to re-enter ALL your configurations again. Don't bitch about this. It's the FUN of third party firmware. Plus you might see some options you missed before. If this is a hassle for you, try using Imacros for firefox to automate the process.

Frater has also championed some scripts that can be used to restore some parts of the nvram:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=44324


3. Upgrade to a recommended newer build, especially if you are running SP1 or earlier builds. Newer builds contain fixes for bugs. At the time of writing, the latest official build is v.24 SP1. SP1 has a LOT of issues. These issues are fixed with some of the later builds. However, sometimes new builds have new bugs. New builds are BETA and not "finished" yet. Although you use them at your own risk these builds have been pretty thoroughly tested and work well, certainly better than SP1. Browse the forums and see what others are saying. These are the recommended builds:

SVN11296 (for all basic g routers)
Eko11793, BS12058(in the 080509 folder) or Eko12060 for wireless N/Dual Radio devices.

In fact, given how well these builds are testing, I would now go so far as to say, IMHO, you should not put SP1 on your router....use one of these newer builds. You can get Beta Builds at Downloads, Other, Eko, TNG_24, and then go to the folder number that matches the recommended build number.

Current list of BrainSlayer builds by date and build number - only one month listed (added by redhawk)

25/04/09 12006
29/04/09 12017
01/05/09 12033
08/05/09 12058
18/05/09 12134 and 12145 (depending on build size)
21/05/09 12188

Various builds have issues with respect to wireless encyption types, so you might have to try another one if one is not working. The newest builds appear to have Upnp issues.

Each build has a thread on the forum. Some of these new builds have worked out well, but they are mainly for Wireless N/Dual Radio setups. If you need wireless N speed, or have a dual radio definitely check out the build threads and see what others are saying. If you don't have a dual radio or a wireless N router, 11296 remains the most reliable build.

SECURITY settings often do NOT work properly with v.24SP1 and, as stated there has been problems with them even in later builds. SP1 also does not forward DHCP properly in bridged mode. If this is your problem you NEED to upgrade to a later build to use the encryption type you wish or to have DHCP working in bridged mode. Try the later builds to solve this issue.

Builds that are newer than the recommended ones listed here are not necessarily better. If you see a newer folder and think you will try that, even though it's not one of the builds recommended above, be sure you have a jtag cable and a place to attach it. Don't think I just haven't upgraded this thread. Take a look at the edits...

Make sure your firewalls and virus protection are disabled prior to upgrading. Some people have had problems accessing their router due to not disabling their computer security.

This is a link to these new, beta, experimental builds:

EKO:

ftp://dd-wrt.com/others/eko/V24_TNG/

Brainslayer:

ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/

The router database is recommending some weirdo builds, including SP1 and a 115xx build that wasn't as good as the builds recommended here. Don't ask me why, or use those builds. [/unquote]
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

 楼主| 发表于 2009-6-12 13:50 | 显示全部楼层
2# sunfan

4. CHECK and UNDERSTAND the proper build for your router. The ROUTER memory (flash memory...not RAM) determines what build you can put on it. You cannot change the build that you can put on your router even if you wish to have advanced features. In other words, don't look at the features and decide which one you want and then install it. You will often brick your router. This is bad.

There are three things you need to know. The process for flash, the build type (micro, mini, standard or mega) and whether you need newd or vint. Then you can pick the version (10491, 11209, 11296, 11604 etc.) that you want to flash.

FOLLOW THE PROCESS FOR FLASHING YOUR ROUTER THAT IS IN THE WIKI.
http://www.dd-wrt.com/wiki/index.php/Installation

You don't have to use the build VERSION that are recommended in the wiki though. You should use the build TYPE. (See below in this note.)

You need to know whether you can put micro, mini, standard or mega on your router. You can determine what TYPE of build is supported on your router by going here:
http://www.dd-wrt.com/wiki/index.php/Supported_Devices

The supported devices wiki will also tell you the FLASH size that your router has. (DON'T Confuse flash with ram size). Your router will have 2, 4 or 8mb of Flash. (VERY few routers have 8mb). The new builds are not based on router models, unless a specific flash is required (Such as the pre-flash that is needed on some Asus routers).

To determine what version TYPE to flash, use this guide:

If you have 2mb of flash, you MUST use Micro.bin. (See below for how to determine if you need NEWD_Micro.bin or VINT_Micro.bin). You cannot use micro plus on ANY router unless it has a compressed CFE. If you didn't compress your CFE, or don't know what a compressed CFE is, DON'T USE MICRO PLUS. Info on compressed CFEs can be found here:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=38844

If you have 4mb of flash, you can use any mini or standard build. You cannot use Mega on a router with 4mb of flash. Some of these builds have different features built in. If you don't need KAID, then you can get a NOKAID version, for example, which frees up more flash for other things.

IF you have 4mb of flash, and you don't know what build to use, just use MINI.bin. You can always reflash later.

If you have 8mb of flash, you can use any build you wish. It has been suggested that micro builds are not recommended for 8mb flash routers. (And WHY would you want to run micro in any event?)

Once you have dd-wrt installed on your router, you can change to any stable build that the flash will support by upgrading using the webgui.


Newd vs Vint

Most routers should use NEWD when they can. VINT is for old routers that cannot support the new wireless drivers.

You should use VINT builds if you have a corerev=4 or less. If your router is a v.1, REALLY check to ensure whether you need VINT or not.

Here the command that you send to the router to check:

nvram get wl0_corerev

Do this from a telnet session or putty terminal window.
It can also be done from the Administration>>Commands tab.

EKO has stated this:

NEWD won't work only on corerev=4 radios. You can run it on 5 and 7, just virtual wireless interfaces won't work in AP mode. All the rest work.


CHECK all of this (VINT, Build allowed etc.)and be sure. However, some of the information in the Wiki is out of date in that there are sometimes newer builds. If your device says you are to use generic_micro, then any later "micro" build should ok, unless your router has specific instructions. If it says you can use generic_standard, then any standard build can be used.

So, if it says that you can use, for example Generic_Standard v.24 rc5, you could also use NEWD_Standard svn10431, or, if you need a VINT build, VINT_Standard svn10700. You should not use builds that have a specific name in the build, that is not the name of YOUR router! Ie. Don't use v24-10700_NEWD_mini_wr850g-v2-v3.bin (which is for a wr850 v.2 router, in a WRT54gl router! If there is not a specific build for your router, use flash size to determine the build, as explained above.

If you want to know the differences between the versions, see this page in the wiki:

http://www.dd-wrt.com/wiki/index ... 22%3F#File_Versions


IF you have looked, and are not sure, ASK.

5. Read the WIKI. Yes, it is unfriendly and if you search it you will get a lot of info that is hard to sort through. AT LEAST TRY. There is LOTS of REALLY valuable information in the WIKI. Take a look.

One thing you REALLY need to look at is the procedure for installing to your router. This is extremely important as there are a lot of subtle variations. Some routers must use a different ip address than 192.168.1.1. Who knew? If you haven't read about YOUR router, go here now:

http://www.dd-wrt.com/wiki/index.php/Installation

Here's a trick for navigating the wiki. Stuff can be hard to find. To find what you are looking for, open any page, and then click on the bottom where it says "English Documentation". You will find a list of articles listed alphabetically. Likely what you are looking for is there.
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

发表于 2009-6-12 16:21 | 显示全部楼层
嗯,不错,英语水平8错,值得思考哈
在此给予鼓励一下!
只谈技术、莫论政事!(点击见详情) | 互相尊重、友善交流、切勿过度反应、玻璃心。胡乱输入灌水等操作将会被封禁ID。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /2 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2026-8-23 22:27

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 电话:13506125623

快速回复 返回顶部 返回列表