Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
zh-tw:toh:buffalo:wzr-hp-ag300h [2017/05/30 12:42] – ↷ Links adapted because of a move operation tmomaszh-tw:toh:buffalo:wzr-hp-ag300h [2018/03/03 20:34] – ↷ Links adapted because of a move operation
Line 1: Line 1:
 +====== Buffalo WZR-HP-AG300H ======
 +{{media:buffalo:wzr-hp-ag300h1.jpg|}}
  
 +===== 支援版本 =====
 +^ 版本型號 ^ 發行日期 ^ S/N ^ OpenWrt支援版本 ^ 特別備註 ^
 +| v1    2011-02  | - | ar71xx trunk | - |
 +
 +===== 硬體支援 =====
 +^ CPU ^ 記憶體 ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^
 +| Atheros AR7161@680MHz | 128MiB | 32MiB | 4 x 1| 有 | 有 | 有 |
 +**備註:**  [[http://my.so-net.net.tw/asplab/V2_Americas/Americas_FCC.htm|FCC]]相關文件在這 [[https://fjallfoss.fcc.gov/oetcf/eas/reports/ViewExhibitReport.cfm?mode=Exhibits&RequestTimeout=500&calledFromFrame=N&application_id=369568&fcc_id='FDI-09101889-0'|FDI-09101889-0]]
 +==== 要先準備 ====
 +  - 一台switch
 +  - 二條網路線
 +  - [[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin|OpenWrt的韌體檔案]]
 +
 +==== 安裝 ====
 +==== FLASH結構 ====
 +[[docs:techref:flash.layout|"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安裝 =====
 +| {{:meta:icons:tango:dialog-information.png?nolink}} | **''<color red>注意 1:</color>''** 開機時WZR-HP-AG300H的[[docs:techref:bootloader]]大約4秒後的10-20秒、可以接收TFTP傳輸的韌體檔案\\ **''<color red>注意 2:</color>''**  建議使用Linux系統連線!!\\ **''<color red>注意 3: </color>''**網路線請接 PC ==> Switch ==> WZR-HP-AG300H|
 +
 +以下使用[[http://lubuntu.net|Lubuntu]]來做安裝範例\\ 
 +  - 安裝TFTP連線軟體
 +<code>
 +sudo apt-get update
 +sudo apt-get install tftp-hpa
 +</code>
 +  - 請確定WZR-HP-AG300H是電源關閉的
 +  - 先停用電腦的網路服務
 +<code>
 +sudo /etc/init.d/networking stop
 +</code>
 +  - 更改網路設定
 +<code>
 +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
 +</code>
 +  - 啟動網路服務
 +<code>
 +start networking
 +</code>
 +  - 使用tftp連線
 +<code>
 +tftp 192.168.11.1
 +</code>
 +  - 設定tftp的設定
 +<code>
 +tftp> verbose
 +tftp> binary
 +tftp> trace
 +tftp> rexmt 1
 +tftp> timeout 360
 +tftp> put openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin
 +</code>
 +  - 將WZR-HP-AG300H接上電源
 +  - 如果紅色的DIAG LED在閃爍、表示WZR-HP-AG300H正在接收韌體、接收完成會自動重新開機
 +  - 第一次登入請參考[[:doc:howto:firstlogin|這裡]]
 +
 +==== 在DD-WRT下安裝 ====
 +  * 開啟網路瀏覽器連線到 [[http://192.168.11.1]] and go to //"Administration"// -> //"Firmware Upgrade"//
 +  * 到"Administration" ==> "Firmware Upgrade"
 +  * 上傳[[http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin|OpenWRT韌體]]
 +  * 讓電腦自動取得OpenWRT新的IP位置
 +  * 請參考[[docs:guide-quick-start:checks_and_troubleshooting]] 第一次安裝
 +FIXME
 +
 +
 +==== 升級OpenWrt ====
 +->  [[docs:guide-user:installation:generic.sysupgrade]]
 +
 +==== 基本設定 ====
 +[[docs:guide-quick-start:checks_and_troubleshooting|Basic configuration]]
 +設定您的Internet連縣,配定無線網路,USB 等設定
 +
 +==== 救援模式 ====
 +-> [[docs:user-guide:troubleshooting: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的方法,如果還是不行、用較為進階的方式
 +-> [[docs:user-guide:troubleshooting:generic.debrick]]
 +
 +====網路孔分配示意====
 +|**port 0**| CPU |
 +|**port 1**| LAN 4|
 +|**port 2**| LAN 3|
 +|**port 3**| LAN 2|
 +|**port 4**| LAN 1|
 +
 +
 +==== 按鍵 ====
 +-> [[docs:guide-user:hardware:hardware.button]] 關於如何使用和設定硬體按鍵。
 +
 +^ 按鍵 ^ 事件 ^
 +|Reset|reset/BTN_0 (pressed, released)|
 +|AOSS|wps/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
 +
 +===== 硬體 =====
 +==== 訊息 ====
 +| **[[http://zh.wikipedia.org/zh-tw/%E6%8C%87%E4%BB%A4%E9%9B%86%E6%9E%B6%E6%A7%8B|指令集架構]]:**    | [[http://zh.wikipedia.org/zh-tw/MIPS%E6%9E%B6%E6%A7%8B|MIPS]] |
 +| **廠商:**          | [[http://zh.wikipedia.org/zh-tw/%E5%89%B5%E9%8A%B3%E8%A8%8A|Qualcomm Atheros]]  |
 +| **[[docs:techref:bootloader]]:**     | crippled [[docs:techref:bootloader:uboot|U-Boot]] |
 +| **[[docs:hardware:soc|System-On-Chip]]:**  | AR7161 rev 2 (MIPS 24Kc V7.4) |
 +| **[[docs:hardware:cpu|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    |
 +| **串列阜:**          | [[#Serial|Yes]]   |
 +| **JTAG:**            | [[#JTAG|Yes]]  |
 +
 +<code>
 +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
 +</code>
 +
 +==== 相簿 ====
 +這裡有如何拆卸和裡面的樣子 https://picasaweb.google.com/111743287730172647732/BuffaloWZRHPAG300HHardwarePhotos
 +
 +**PCB**
 +FIXME
 +
 +===== Notes =====
 +
 +==== 串列阜 ====
 +-> [[docs:hardware:port.serial]] 串列阜相關資訊
 +
 +怎麼連接串列阜:
 +  - 打開機殼
 +  - 在Movie Engine開關附近有串列阜的接點
 +  - 從那"方形"接點開始是 vcc, gnd, tx, rx
 +  - Sends at 115200 8N1 as shipped
 +  - 電壓是 3.3 V
 +FIXME
 +
 +===== 標籤 =====
 +對於一些與標籤的幫助,請看看這裡: [[meta/tags|標籤]]
 +
 +{{tag>GigabitEthernet FastEthernet 5Port 2NIC USB 2USB ath9k DetachableAntenna 32RAM 8Flash MIPS MIPS32 34K}}
  • Last modified: 2018/03/31 23:23
  • by bobafetthotmail