Archive for March, 2007

土司

Monday, March 19th, 2007

是片土司
早上
刚刚透出口气就被放在炉子里
上面是天空
下面火热
面包屑像被时间带走的头发
掉在托盘上
掉在地上
被扫进垃圾桶
除了土司自己没有人会心疼
灼热的空气让土司弯下腰
越来越脆
却无法不散出身体的香味
或许吸引口水
或许被掩盖在其他味道里
当温度让开关弹起
土司可以选择卡在炉子的推板跟炉口上
然后继续被烘烤
连带隔壁的另外一片土司
变成炭
燃烧
释放能量
然后
变做尘土

土司没有阻拦推板
轻轻的跳出炉口
等待着
被放在盘子里
或许是被手
被刀叉
被筷子
放进嘴里
被咀嚼
混合着汤
或者咖啡
或者白开水
与煎蛋一起
冲进胃液
等待4个小时后完全消失

这是一片土司
简单的十分钟

我等着
消化掉他
然后蹲在马桶上
听溅起的水花
听冲水的哗哗啦啦
看着它
被冲进一个小小的洞口
再也看不见了

Linksys WRT54G 升级DDWRTV24失败及其修复。

Thursday, March 1st, 2007

  今天中午郑正赶过来吃本人精心制作的西红柿鸡蛋打卤面,吃完以后上网,发现我的Linksys WRT54G V2用的是原厂固件,就要给我升级FW。先是直接升级DDWRT V24,失败。升级MINI,失败。升级原厂V2.11,失败。TFTP PUT BIN进去显示传送成功,然后就死活启动不了了。。。
  出现的状况如下,Power灯不停闪,有网线的口常亮,每隔8秒自动重新启动1次,所以按照设置的10秒按RESET恢复设置无效。Ping 192.168.1.1无效。路由器处于报废状态。

  遂想通过另外一台WRT1154B上网查一下解决办法,发现小区宽带连接显示未授权,直接笔记本接网线同样显示未授权。。。于是打电话到10060得知…… 今天是1号,自然月缴费…… 由于刚回来,不知道是预缴费…… 所以网被掐了。。。然后偷邻居的AP上了www.179.com.cn企图通过网络缴费,发现只支持农行和招行,恰好都没有网上支付条件。只能出门跟郑正去了南沙滩的营业厅,一次性缴费2个月的。出来又陪郑正去了证券交易所,听人介绍的一头雾水。回家,等网通。
  6点,网终于通了,缴费到开通用了3个小时。。。 上网查,好难找,DDWRT的WIKI上只有两句介绍,于是乎大范围GOOGLE,终于经过了十几分钟的查找,在国外某专业WIFI网站上找到了解决办法。按部就班,1分钟后,成功制止了WRT54G的自动重启,TFTP了DDWRT V24进去。有惊无险。

  鉴于国内目前还没有针对写坏FLASH芯片的补救方法说明,特此贡献一点小资料,仅供参考,如果自己对技术不放心的,可以U给我,我免费帮忙。

Revival tip #1:
You first need to establish a connection to the Internet and download firmware for your router. To get online, bypass the router and plug directly into your Cable or DSL modem.

Download the latest firmware upgrade for your router from 1. http://www.linksys.com/download.

Citar:
Be sure to select the WRT54G and the correct version number that matches your router.

Look on the bottom of the router to verify the model and version (no version number means version 1.0). 

Click on Downloads for this Product. When the Downloads page loads, click on the Firmware button.

Before performing the upgrade, we recommend that you do the following:

If using a 10/100 network adapter, change its speed to 10Mb, half duplex. Please see the instructions below on how to do this.

Windows 95/98/ME:
1. At the Windows desktop, click on Start then choose Settings and click on Control Panel.
2. Double click the Network icon. This will bring up the “Network Configuration” window.
3. Locate and highlight the icon with the green logo for your network adapter and click Properties.
4. This will display the network adapter’s Properties.
5. Select the Advanced tab and click Connection Type (this may also appear as Media Type, Connection Speed, Mode, Link Speed, etc). The current default value should be set to “Auto sense” or “Auto”.
6. Change the value of this option to 10Base-t, half duplex mode (usually the lowest possible option). The wording of this value may also vary, depending upon the make and model of the Network Adapter. Other possibilities include 10T half, 10Mb half duplex, 10Mbps half, etc.
7. Once this has been changed, click OK to return to the Network configuration screen.
8. Click OK again and Windows will ask to restart your computer. Click “Yes” to restart.

Windows 2000/XP:
1. Go to Start click on Run and type in control ncpa.cpl .
2. Double click on the Local Area Connection that controls your network card.
3. Click Properties under Local Area connection status.
4. Click the Configure button. Then, click on the Advanced Tab.
5. Click Connection Type (this may also appear as Media Type, Connection Speed, Mode, Link Speed, etc). The current default value should be set to “Auto sense” or “Auto”.
6. Change the value of this option to 10Base-t, half duplex mode (usually the lowest possible option). The wording of this value may also vary, depending upon the make and model of the Network Adapter. Other possibilities include 10T half, 10Mb half duplex, 10Mbps half, etc.
7. Click OK after you made the change then click Close.

Reloading the firmware:
1. First, hold the reset button located on the back of the router for 30 seconds.
2. Next, to test communication between the Router and the network card: Go to Start, and select Run. Type in command and press [Enter]. This will bring up the MS-DOS prompt window.
3. Type ping 192.168.1.1 and press [Enter].
4. You should get the following results:

Citar:
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time<10ms TTL=128
Reply from 192.168.1.1: bytes=32 time<10ms TTL=128
Reply from 192.168.1.1: bytes=32 time<10ms TTL=128
Reply from 192.168.1.1: bytes=32 time<10ms TTL=128 

5. Once you get these replies, close out of the command prompt by typing in exit and pressing [Enter].
6. Double click on the firmware file that you downloaded in Step 2. The “Firmware Upgrade Utility” will open.
7. Click Next and type in the routers “IP Address” (192.168.1.1 is the default address of the router) and type in the Router’s Password (admin is the default password for the router).
8. Once you confirm the settings (click Next), click Upgrade to start the firmware upgrade process. The upgrade will take about 1 to 2 minutes.
9. Once the upgrade is complete, the router’s Diag light (or Power light) should no longer be blinking.
Note: Be sure to go back to your network card settings (from the steps above) and change the speed of the link back to “Auto sense” or “Auto” (the original default setting) to restore full speed to the adapter.

Citar:
Advanced debricking techniques
If the official Linksys debricking method didn’t work for you you can try the following steps, however this may result in damage to your router, yourself or your equipment, and again we will not be held accountable for it. 

Revival tip #2:
As another friendly reminder that this WILL void your warrantee. Contact Linksys Tech support for an exchange if your router is under warranty.

Now that been said lets get started. Here is the popular voidmain revival tip. When might you use this tip?

If you forgot to set your “boot_wait” nvram setting and uploaded a bad firmware image which caused your router not to boot (like I did)

You failed every other instruction for reviving your router
You like living on the edge and just wanna play

Pros: Turn your black and blue paper weight back into a working wireless router.

Cons: I suppose you could make your WRT54G even deader than it already is, although I have not actually heard of anyone who has done this.

The pictures in this tip are for people who have the v1.1 hardware. It works for the 1.0, 1.1, 2.0, 2.2, 3.0 versions as well but the board layout is a little different in the other hardware versions. You’ll just have to find your flash chip.

Tools Required: Small jewelers screwdriver (or any other small pointy metal object).

Ok, I’m convinced, let’s get this baby working!!

Let us begin:

NOTE: Click on the thumbnail images in this tip to zoom in on the image.

Find a nice open area to rip this baby apart:

As you can see, the one I use in my example is a v1.1 router, your board layout may be different:

Use your fingers to unscrew the antennas from the back (you will need to slide back the antenna cap to unscrew the antenna):

This thing just snaps together, no screws involved, so just “pop” the blue face plate off. I find the easiest way to do this is to turn the unit upside down and place your hands between the feet on the side, then push on the blue feet with your thumbs:

Now the board just slips right out the black cover (if it’s locked down with slide clips just push the board so the clips line up with the holes):

Now locate the flash chip. On my board it is clearly labeled “Intel Flash” but I don’t believe all routers are labeled like this. Click on the pictures below for a better view. You will see that at each corner of the chip is a large white number. My picture is actually upside down (you didn’t think I would makethis easy on you did you?). Notice at the upper right corner of the chip is the number “1″, upper left is the number “24″, lower left is the number “25″, lower right is the number “48″ (all upside down in my pictures).

Between the number 1 and 24 you will see a row of 24 silver pins. On the board above the pins there is a little white line every 5 pins that should help you count.

Now comes the fun part. Do not plug the power in just yet but plug a patch cable into one of the 4 LAN ports on your router and plug the other end into a computer (my laptop works great for this).

Configure your network card on your computer with a static IP address: IP: 192.168.1.2, NETMASK: 255.255.255.0, don’t need a gateway address.

Now if you are in Linux just type “ping 192.168.1.1″ which will start a ping running. If you are in Windows then you have to pass a “-t” param (ping -t 192.168.1.1) so it doesn’t stop trying to ping after 4 pings.

Ok, now for the nitty gritty fun part. Locate pin 15 (third white mark starting from pin 1). Take your jewelers screwdriver (philips head is what I used, nice and pointy) and stick the point between pins 15 and 16 (see 1. NOTE1).

While holding the screwdriver there, plug in the power and watch your ping screen. Hopefully you will be amazed (like I was) at seeing the pings starting to succeed. Don’t be so happy that you drop the screwdriver on the board and start sparks flying. Remove the screwdriver and the pings should continue:

The router is now in failsafe mode and is waiting on you to tftp a firmware image to it. Find any good firmware image for your router and upload it. In linux it might go something like this:

This is under linux

Citar:
$ cd /home/voidmain/firmware
$ ls
OpenWrt_b3.bin
$ tftp 192.168.1.1
tftp> bin 

Citar:
tftp> put OpenWrt_b3.bin
The following is for windows
$ cd “to direcotry of bin file”
$ tftp -i 192.168.1.1 PUT “name of bin”.bin 

Just make sure you transfer the file in binary mode (that’s what the “bin” command did). Once the firmware has uploaded, your router should automatically reboot.

If you uploaded the OpenWRT firmware like I did above you can then telnet into your box (telnet 192.168.1.1). If you uploaded the stock Linksys firmware you should be able to get to your router with your web browser (http://192.168.1.1/).

Now put your router back together by reversing the instructions in this tip. You are triumphant and there will be much rejoicing.

Thank you Voidmain for that. One heck of a article saved my Wrt54g many times.

Now if that did not work then here is another method that can revive your Wrt54g here is another tip that could revive your Wrt54g.

Here is another friendly reminder if this results in damage to your router, yourself to or your equipment, we will not be held accountable for it.

Revival tip #3:
If you are reading this the none of the above worked. You think that you are out of luck well you are not!…..

Ok now here is another revival tip to recover the wrt. The old earthing pin 16. It always seems to work.
1. Now go to your command prompt and in the command prompt type ping -t 192.168.1.1
2. Take a copper wire or some kind of wire (use copper for best results you can buy it from radioshack) that is metal.
3. Don’t plug in the power for the wrt54g yet touch the top middle of the antenna it is very important that you touch the top middle of the left antenna and pin 16 on the flash chip with your copper wire.

4. At the same time plug in the power to the wrt54g.
5. Watch the command prompt for any replies. now tftp the firmware
6. Now tftp the firmware Instead of using the TFTP client downloaded from linksys You can also do the following:

Citar:
This is under linux
$ cd /home/voidmain/firmware
$ ls
OpenWrt_b3.bin
$ tftp 192.168.1.1
tftp> bin 

Citar:
tftp> put OpenWrt_b3.binThe following is for windows$ cd “to direcotry of bin file”
$ tftp -i 192.168.1.1 PUT “name of bin”.bin 

7. If you don’t get any replies then start at 2 again.
8. Don’t give up keep trying.

Revival tip #4:
If you are reading this then you are going to grab your coat and go down to bestbuy to buy another Wrt54g, wait don’t go anywhere there is one more tip.. One word jtag it saved many Wrt54g form the trash can. Thanks to hairydairy.

Here is the download link http://spacetoad.com/tmp/hairydairymaid_debrickv22.zip
Though I never tried before so I cant really wirte about it.

This here are the instructions you will need to download the hairydairymaid debrick guide.

Instead of making a jtag your self you can always buy one from The Forest Networking – Computer Network Consulting Services

Note:

Citar:
4M flash chip (WRT54G v1.0, v1.1, v2.0) Use pins 15&16

4M flash chip (WRT54G v2.2)Use pins 16&17

8M flash chip (WRT54GS v1.0, v1.1) Use pins 5&6 

Also the WRt54G v5.0 has a different recovery routine, this is documented on Linksys’s website here: WRT54G Version 5 – Information About Management Mode for Firmware Recovery   

  简单的来说,如果你无法通过ping 192.168.1.1来链接到你的无线路由器管理界面,你可以尝试这个办法:

    拆开你的linksys。卸下天线,然后拔蓝色部分黑色部分就自然分开了。
    找一根圆珠笔或者细小的金属物件,在电源没有连接的情况下短接Flash芯片的15和16针并接通电源。
基本上,你的FLASH就清空了,这是比较保险的办法,当然还有更危险的办法暂时就不公开了。看的懂上面英文资料的可以自己尝试。
  在Flash清空的情况下,使用tftp刷你要写的ROM进去。成功后按住RESET 30秒,等待路由器重新启动。电脑会显示断开链接。再次链接后,就可以正常使用管理界面了。不行就多试几次。

  写的比较简单,如果确定要刷却不知道怎么办的可以联系我,我会帮忙的。

  注,刷FW是一件很危险的事,建议三思后行,未成年的同志要在监护人陪同下进行,退休的同志要在子女陪同下进行,未婚女青年由我陪同进行,谢谢。

以上。

发完收工…… 吁……