User Tools

Site Tools


zh-tw:toh:buffalo:wzr-hp-ag300h

Buffalo WZR-HP-AG300H

支援版本

版本型號 發行日期 S/N OpenWrt支援版本 特別備註
v1 2011-02 - ar71xx trunk -

硬體支援

CPU 記憶體 Flash Network USB Serial JTag
Atheros AR7161@680MHz 128MiB 32MiB 4 x 1

備註: FCC相關文件在這 FDI-09101889-0

要先準備

  1. 一台switch
  2. 二條網路線

安裝

FLASH結構

"Flash結構"是什麼?? 以下列出WZR-HP-AG300H的十六進位值…

root@DD-WRT:~# cat /proc/mtd dev: size erasesize name mtd0: 00050000 00010000 “RedBoot” mtd1: 01f80000 00010000 “linux” mtd2: 00b11000 00010000 “rootfs” mtd3: 01380000 00010000 “ddwrt” mtd4: 00010000 00010000 “nvram” mtd5: 00010000 00010000 “FIS directory” mtd6: 00010000 00010000 “board_config” mtd7: 02000000 00010000 “fullflash” mtd8: 00010000 00010000 “uboot-env” root@OpenWrt:~# cat /proc/mtd dev: size erasesize name mtd0: 01000000 00001000 “spi0.0” mtd1: 01000000 00001000 “spi0.1” mtd2: 00040000 00001000 “u-boot” mtd3: 00010000 00001000 “u-boot-env” mtd4: 00010000 00001000 “art” mtd5: 00100000 00001000 “kernel” mtd6: 01e90000 00001000 “rootfs” mtd7: 01d2c000 00001000 “rootfs_data” mtd8: 00010000 00001000 “user_property” mtd9: 01f90000 00001000 “firmware”

TFTP安裝

注意 1: 開機時WZR-HP-AG300H的bootloader大約4秒後的10-20秒、可以接收TFTP傳輸的韌體檔案
注意 2: 建議使用Linux系統連線!!
注意 3: 網路線請接 PC =⇒ Switch =⇒ WZR-HP-AG300H

以下使用Lubuntu來做安裝範例

  1. 安裝TFTP連線軟體
sudo apt-get update
sudo apt-get install tftp-hpa
  1. 請確定WZR-HP-AG300H是電源關閉的
  2. 先停用電腦的網路服務
sudo /etc/init.d/networking stop
  1. 更改網路設定
sudo ifconfig eth0 192.168.11.2
sudo ifconfig eth0 netmask  255.255.255.0
sudo arp -s 192.168.11.1 02:AA:BB:CC:DD:20
  1. 啟動網路服務
start networking
  1. 使用tftp連線
tftp 192.168.11.1
  1. 設定tftp的設定
tftp> verbose
tftp> binary
tftp> trace
tftp> rexmt 1
tftp> timeout 360
tftp> put openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin
  1. WZR-HP-AG300H接上電源
  2. 如果紅色的DIAG LED在閃爍、表示WZR-HP-AG300H正在接收韌體、接收完成會自動重新開機
  3. 第一次登入請參考這裡

在DD-WRT下安裝

FIXME

升級OpenWrt

基本設定

Basic configuration 設定您的Internet連縣,配定無線網路,USB 等設定

救援模式

failsafe_and_factory_reset

If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing. FIXME

其他特別設定

LED for USB裝置

如果你要插上USB裝置觸發LED 請增加 /etc/config/system

config 'led' option 'default' '0' option 'name' 'USB' option 'sysfs' 'buffalo:red:diag' option 'trigger' 'usbdev' option 'dev' '1-1'

FIXME

解磚

  • 你的設備不太可能會變磚,請先試試用TFTP的方法,如果還是不行、用較為進階的方式

generic.debrick

網路孔分配示意

port 0 CPU
port 1 LAN 4
port 2 LAN 3
port 3 LAN 2
port 4 LAN 1

按鍵

hardware.button 關於如何使用和設定硬體按鍵。

按鍵 事件
Resetreset/BTN_0 (pressed, released)
AOSSwps/BTN_1 (pressed, released)
USB Eject BTN_2 (pressed, released)
Movie Engine (on) BTN_3 released, BTN_4 pressed
Movie Engine (off) BTN_3 pressed, BTN_4 released
Router (on) BTN_5 released, BTN_6 released
Router (off) BTN_5 pressed, BTN_6 released
Router (auto) BTN_5 released, BTN_6 pressed

FIXME

硬體

訊息

指令集架構: MIPS
廠商: Qualcomm Atheros
bootloader: crippled U-Boot
System-On-Chip: AR7161 rev 2 (MIPS 24Kc V7.4)
CPU/速度 24Kc V7.4 680 MHz
Flash-Chip: ?
Flash 大小: 32 MiB
RAM: 128 MiB
無線網路晶片: Atheros AR9223 (2.4GHz) and AR9220 (5.0GHz) 802.11abgn
有線網路晶片: AR8316
Internet: n/a
USB: Yes 1 x 2.0
串列阜: Yes
JTAG: Yes
root@OpenWrt:~# lspci -vv
00:11.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01)
	Subsystem: Atheros Communications Inc. Device a097
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 168, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 72
	Region 0: Memory at 10000000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [44] <chain broken>
	Kernel driver in use: ath9k

00:12.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01)
	Subsystem: Atheros Communications Inc. Device a096
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 168, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 73
	Region 0: Memory at 10010000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [44] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=100mA PME(D0+,D1-,D2-,D3hot+,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: ath9k

相簿

Notes

串列阜

port.serial 串列阜相關資訊

怎麼連接串列阜:

  1. 打開機殼
  2. 在Movie Engine開關附近有串列阜的接點
  3. 從那“方形”接點開始是 vcc, gnd, tx, rx
  4. Sends at 115200 8N1 as shipped
  5. 電壓是 3.3 V

FIXME

標籤

對於一些與標籤的幫助,請看看這裡: 標籤

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
zh-tw/toh/buffalo/wzr-hp-ag300h.txt · Last modified: 2018/03/31 23:23 by bobafetthotmail