找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 7776|回复: 2

bafullo ag300h刷openwrt求助

[复制链接]
发表于 2011-10-25 13:39 | 显示全部楼层 |阅读模式
小鸟我的buffalo ag300h不幸被刷死一次,换个个新的,决定不能在web界面下直接升级了,还是按照官网的方法1来tftp升级吧
官网的步骤是英文,我理解的意思也加在里面了,麻烦有明白的大牛帮我把把关,有什么步骤是我误解了的:

先读官方的注意事项:
NOTE #1: The bootloader of the WZR-HP-AG300H has a very short time frame in which it will accept a new firmware transfer over TFTP: it is about 4 sec long approximately 10-20 sec after powering it on
AG300H如果用TFTP方法刷机,大概有那么几秒的时间,4秒还是10-20秒?不是很理解......
The usable time window gets even shorter when your OS starts negotiating the network connection before it allows you to send data over it. And your OS is going to do that every time, when the other device gets powered on!
So to be able to use the entire time span available you need to put a switch between the router and you host machine. In case you do not have a switch, in Windows try turning off Media Sensing and in Linux prefer a static network configuration over the NetworkManager. It is further recommended to make a static ARP entry for the router.
这段意思是,实际上,机器和路由的通讯时间很短,比上面说的还要短,所以,你需要一个开关,没开关也没关系,win下和linux都有办法,通过给路由设定静态ARP来实现。
NOTE #2: As the Windows stack can interfere with the process, see forum post, it is recommended to use some Linux to perform the upload!
论坛反应windows下刷机不是很靠谱,推荐靠谱的ubuntu(我把ubuntu 11.10装到u盘上了,可以么?)

FYI: The OEM version of uboot on the AG300H always uses the IP address 192.168.11.1 and the MAC address 02:aa:bb:cc:dd:20 when listening for a new firmware. It also expects the sending IP address to be 192.168.11.2. Values belong to the bootloader and are independent of the ones used by OEM firmware or OpenWrt!
OEM版的AG300H(应该就是it市场上买的零售版的吧?)IP地址总是192.168.11.1 ,MAC 地址也总是 02:aa:bb:cc:dd:20监听新固件,后面的英文就不太理解了......

The computer used for the install must be connected to the LAN port on the router closest to the WAN port. On my device this is labeled LAN 4, and it corresponds to port 0 per the information below.
推荐网线接离wan口最近的lan口,也就是标着lan4 的那个口。


Download a suitable OpenWrt firmware image, e.g. latest trunk (NOTE: Name must contain "tftp")
这个不用说,按链接给的地址下载固件
Install a TFTP client, when running some Linux distribution, do e.g.
sudo apt-get update
sudo apt-get install tftp
ubuntu的命令,跟着做就行了
Connect the AG300H with some network switch and that switch with your host machine. Leave the AG300H powered off.
这个就不是很清楚了,意思是:路由插网线接到笔记本,然后让路由断电?

Prepare the interface of your PC:
sudo ifconfig eth0:1 192.168.11.2
sudo arp -s 192.168.11.1 02:aa:bb:cc:dd:20
跟着做,改本机ip地址和mac地址,按notice的说法,零售版300h的mac地址都是02:aa:bb:cc:dd:20
Now you must be quick. Type in
tftp -m binary 192.168.11.1 -c put openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin
敲入命令,先别按回车。
and immediately after hitting enter
power on the AG300H!
路由通电,迅速敲下回车。
If the red "DIAG"-LED begins to flash rapidly then the router has received the image and is currently booting the new firmware.
看到DIAG信号灯狂闪就说明正在写固件呢
Follow the First Login steps to complete installation.
万事大吉。

以上方法有没有在mac下的实现方法捏?我不清楚mac 下怎么用tftp实现,gogole“mac tftp”基本都是指的mac地址,而不是mac电脑......
发表于 2012-1-6 21:18 | 显示全部楼层
windows下也可以刷
发表于 2012-6-19 13:59 | 显示全部楼层
楼主刷好了OPENWRT吗
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-4 00:35

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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