|
本帖最后由 麦门冬 于 2015-1-8 22:46 编辑
根据openwrt wiki,可确定日版的uboot锁了,不但不接受tftp固件,而且还不提供ttl(serial console)。http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300nh2#revision_a1a0_and_wzr-hp-g302h_a1a0_japanese_variant
Similarly to Japanese variant of WZR-HP-G300NH, A1A0 comes with locked buffalo u-boot v1.08 (based on U-Boot 1.1.4 for BUFFALO AIRSTATION, PB93), see http://wiki.openwrt.org/toh/buff ... rt.time.tftp.window for details. Furthermore, this newest buffalo u-boot BS does not even provide serial console at boot time! But TFTP "blind" flash to OpenWRT was possible when accept_open_rt_fmt=1 was set (tested and confirmed ok with r31678 squashfs, try it at your own risk). Also, it is possible to circumvent serial console lock by setting force_uart variable in a similar manner to accept_open_rt_fmt.
使uboot可接受固件,可以参照 http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h
Also, there is a way to set u-boot variables without serial access. Japanesse and other languages OAM "user frendly" firmware have special hidden maintenance page, accessible at http://your.router.ip.address/cg ... =py-db/55debug.html, with special username (bufpy) and password (otdpopy+<root password if any>) log-in required. Make sure you don't have the usual root athenticated WEB session active (clear the browser cache), otherwise you would receive an empty page saying "—- UNDER CONSTRUCTION — ". Now, one can activate telnetd by clicking the link, and access the OAM OS by telnet. Once there, one can use a command "ubootenv" to set above mentioned variables without trouble (tested & confirmed OK on Japanese WZR-HP-G300NH A0 A1, u-boot 1.02).
大意是
1.先刷成官方固件("user frendly" firmware)
2.清空浏览器缓存
3.打开http://你的路由ip/cgi-bin/cgi?req=frm&frm=py-db/55debug.html 用户名 bufpy 密码 otdpopy+<root账户的密码>
4.如果看到显示—- UNDER CONSTRUCTION — 那么你就可以 telnet到路由上
5.使uboot接受固件
- ar7100> setenv accept_open_rt_fmt 1
- ar7100> saveenv
- ar7100> reset
复制代码
6.使TFTP窗口时间延长为4秒
- ar7100> setenv tftp_wait 4
- ar7100> saveenv
- ar7100> reset
复制代码
以上内容仅为翻译,手头没有机器,无法保证其可行性。
建议仔细看看openwrt官方wiki
Try it at your own risk.
|
|