找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 10932|回复: 12

buffalo WHR-G300N V2可以刷openwrt了

[复制链接]
发表于 2011-12-15 17:25 | 显示全部楼层 |阅读模式
闲着没事到openwrt的下载站上看了一圈,发现最新的开发板已经支持WHR-G301NH了,这个路由器貌似跟国内的300N V2是一个样子的,于是下回来试了一下。本来刷的是DDWRT,用sysupgrade的话会报错,直接下载至路由器的临时文件夹,然后用MTD方式刷新。具体方法与https://www.right.com.cn/forum/thread-40302-1-2.html类似。
路由器重启后,由于是开发板,没有安装luci,没有开启wifi。
之后就按部就班的按照配置pppoe拨号,更新pkg,安装luci,最后大功告成。目前使用两天,一切正常。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
发表于 2011-12-18 21:00 | 显示全部楼层
帅啊
发表于 2011-12-20 12:51 | 显示全部楼层
闲着没事到openwrt的下载站上看了一圈,发现最新的开发板已经支持WHR-G301NH了,这个路由器貌似跟国内的300N V2是一个样子的,于是下回来试了一下。本来刷的是DDWRT,用sysupgrade的话会报错,直接下载至路由器的临时 ...
venster 发表于 2011-12-15 17:25

路由器上的灯正常亮吗??
发表于 2011-12-27 22:47 | 显示全部楼层
本帖最后由 wbss 于 2012-1-2 15:26 编辑

路由器上的灯正常
确实能刷 G301N = G300Nv2
但像楼主那样MTD下刷有变砖的风险.
发表于 2012-1-21 12:45 | 显示全部楼层
这个怎么刷回去   刷会原厂
发表于 2012-1-21 12:45 | 显示全部楼层
这个怎么刷回去   刷会原厂
发表于 2012-1-21 13:04 | 显示全部楼层
这个怎么刷回去   刷回原厂
发表于 2012-1-21 13:08 | 显示全部楼层
这个怎么刷回去   刷回原厂
发表于 2012-1-24 20:54 | 显示全部楼层
确实在OP的官网看到了,不过没试验过
发表于 2012-2-8 12:45 | 显示全部楼层
cuiran211 发表于 2012-1-21 13:08
这个怎么刷回去   刷回原厂

Going back to Buffalo Firmware
I tried many times to TFTP without success. I got disheartened as my old Belkin 7230-4 was a piece of cake. You must follow these instructions for a successful TFTP flash. I have used these myself to flash my own WHR-G300N V2 back to Buffalo firmware.
To do this you can use Ubuntu 9.04 Desktop Live CD. I used Ubuntu 10.04 which I have installed on my laptop.
1.        Get the Buffalo firmware from their site. You may need to choose the right region, so I won't link here.
2.        Get TFTP app
        On ubuntu enable Universe repositories
        Update repositories using
sudo apt-get update
        Use
sudo apt-get install tftp
3.        Hold the reset button on your router for at least 10 seconds. I didn't do a 30/30/30 reset, but you might want to.
4.        Unplug all ethernet cables and the power cable.
5.        Connect your computer through ethernet directly to your router but leave the router turned off.
6.        Disable NetworkManager. In Ubuntu 9.10, run
sudo service networking stop Or, in Ubuntu 10.04, run sudo service network-manager stop
7.        Set IP of ethernet interface to "192.168.11.2". In Ubuntu, run
sudo ifconfig eth0 192.168.11.2 (assuming eth0 is your ethernet interface)
8.        set netmask to "255.255.255.0" I think this is default but just to be safe, run
sudo ifconfig eth0 netmask 255.255.255.0
9.        Make entry in the ARP table corresponding to the router. run
sudo arp -s 192.168.11.1 [MAC ADDRESS OF ROUTER]
        The MAC address of router is the SSID printed on the sticker, but every second digit/letter is followed by a ":", so you end up with something like "00:1D:73:8C:8D5" (THIS IS AN EXAMPLE DO NOT USE THIS NUMBER... I ACTUALLY JUST MADE IT UP)
        what this really does is tell the network that 192.168.11.1 (the IP address that the router will take for itself) corresponds with the MAC address of the router.
        I'm not sure the arp table business is entirely necessary but it cannot hurt... also this is the one step i have absolutely no idea how to do in windows...
10.        At this point you basically have a 1 computer network set up and your computer will be expecting the router (defined by its MAC address) to show up on 192.168.11.1 (which is the address the router will ask for/respond on when it is turned on)
        Important: Before starting TFTP navigate (on the shell) to the folder where you downloaded the firmware (otherwise you can not upload it using TFTP)
        TFTP
        Run TFTP
tftp
        Set verbose mode on (so we know what's going on);
tftp> verbose
Verbose mode on.
        Binary mode on (because we are uploading a binary file);
tftp> binary
mode set to octet
        Trace on (so we get feedback on our commands);
tftp> trace
Packet tracing on.
        Rexmt 1 (to retry the upload on failure every 1 second);
tftp> rexmt 1
        And timeout to 60 (repeatedly retry the upload for 60 seconds before giving up)
tftp> timeout 60
11.        in tftp connect to 192.168.11.1 (does not matter that router is still turned off)
tftp> connect 192.168.11.1
        At this point you aren't really "connected" in the sense that your computer requires any feedback from the router. tftp is basically just prepped to send the correct file to the correct address, as long as all the other pieces of the equation (the router) end up in the right place at the right time.
        now get ready to plug in your router, but don't do it yet. Also, make sure your computer is connected to one of the LAN ports of the router, not the WAN port (the WAN port is outlined in blue)
12.        In tftp put [firmware]
tftp> put whrg300nv2-182
        At this point tftp will keep trying to send the firmware to the router and when it fails (because the router isn't yet on or hasn't yet brought up it's tftp interface) it will wait 1 second and retry, up to 60 times (because that's how we set up the tftp client)
13.        Plug in the power cord to the router
        The router will start up and now and you will see some lights blinking (possibly)
        About 10-20 seconds in, you should notice that tftp is sending the file. instead of the retry message over and over you will see some progress scrolling down the screen and at the end it will tell you how many blocks or bytes were transferred in how many seconds
14.        After the transfer is complete, wait about 5-10 minutes (more like 6 minutes I think) during this wait the red light on front of the router will blink and then go off, eventually the wireless led comes on. (wireless led looks like a radar thing... don't know how to describe it really)
15.        When the wireless led is on, you are ready to go.
16.        Enable NetworkManager. In Ubuntu 9.10, run
sudo service networking start Or, in Ubuntu 10.04, run sudo service network-manager start
发表于 2012-2-13 12:41 | 显示全部楼层
最后还是用tftp刷吧,mtd很容易变砖
发表于 2012-3-20 12:11 | 显示全部楼层
LZ可以用macvlan虚拟wan口并用虚拟wan口正常拨号么、能的告知一声、谢了、
发表于 2015-1-27 16:17 | 显示全部楼层
我刷了DD,怎样刷回厂的版本呀?
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2024-6-10 04:03

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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