數位天堂

Nokia:科技始終來自於人性; 拜耳:如果文明不能使我們更相愛,那科技便失去意義!
歡迎您的加入,讓我們一起討論科技與環保的整合應用...

您尚未登入。

#1 2009-11-08 10:58:11

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

[X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

X-Wrt基於OpenWrt, 所以預設並無驅動IDE與USB. 以下簡述刷機後, 安裝驅動Promise IDE與USB相關的核心模組. 可由Webif^2或CLI安裝套件.

機型: 華碩 WL-HDD 2.5
韌體: OpenWrt Kamikaze - With X-Wrt Extensions 8.09 (extra版本)

刷機成功後, telnet進入192.168.1.1

=== IMPORTANT ============================ Use 'passwd' to set your login password this will disable telnet and enable SSH ------------------------------------------ BusyBox v1.11.2 (2009-05-11 20:48:13 CDT) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M KAMIKAZE (8.09, r15789) ---------------------------- * 10 oz Vodka Shake well with ice and strain * 10 oz Triple sec mixture into 10 shot glasses. * 10 oz lime juice Salute! --------------------------------------------------- root@OpenWrt:/#


1.) http://192.168.1.1/, 設定root的密碼.
2.) 更改時區, 網路等相關設定, reboot後, 確認可上網(使用ping測試).
3.) 改用SSH登入.
4.) Promise PDC20265
4-1) 安裝kmod-ide-pdc202xx

# opkg update # opkg install kmod-ide-pdc202xx


4-2) 載入

# insmod /lib/modules/2.4.35.4/ide-core.o # insmod /lib/modules/2.4.35.4/pdc202xx_old.o # insmod /lib/modules/2.4.35.4/ide-detect.o # insmod /lib/modules/2.4.35.4/ide-disk.o


4-3) 檢查
# dmesg

Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx roboswitch: Probing device eth0: No Robo switch in managed mode found roboswitch: Probing device eth1: No Robo switch in managed mode found roboswitch: Probing device eth2: No such device roboswitch: Probing device eth3: No such device PDC20265: IDE controller at PCI slot 01:01.0 PCI: Enabling device 01:01.0 (0004 -> 0007) PDC20265: chipset revision 2 PDC20265: not 100% native mode: will probe irqs later PDC20265: ROM enabled at 0x000d0000 PDC20265: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode. PDC20265: FORCING BURST BIT 0x00->0x01 ACTIVE ide0: BM-DMA at 0x0140-0x0147, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0x0148-0x014f, BIOS settings: hdc:pio, hdd:pio hda: HITACHI_DK239A-65B, ATA DISK drive ide0 at 0x100-0x107,0x10a on irq 6 hda: attached ide-disk driver. hda: host protected area => 1 hda: 12594960 sectors (6449 MB) w/512KiB Cache, CHS=13328/15/63, UDMA(33) Partition check: /dev/ide/host0/bus0/target0/lun0: p1 < p5 p6 > PCI: Setting latency timer of device 01:02.0 to 64 PCI: Enabling device 01:02.0 (0004 -> 0006) PCI/DMA


4-4) 檢查
# cat /proc/partitions

major minor #blocks name 3 0 6297480 ide/host0/bus0/target0/lun0/disc 3 1 1 ide/host0/bus0/target0/lun0/part1 3 5 6236797 ide/host0/bus0/target0/lun0/part5 3 6 55490 ide/host0/bus0/target0/lun0/part6


5.) USB 1.1
5-1) 安裝kmod-usb-ohci

# opkg install kmod-usb-ohci


5-2) 載入

# insmod /lib/modules/2.4.35.4/usbcore.o # insmod /lib/modules/2.4.35.4/usb-ohci.o


5-3) 檢查
# dmesg

usb.c: registered new driver usbdevfs usb.c: registered new driver hub SB USB 1.1 init PCI: Setting latency timer of device 00:04.0 to 64 usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2 usb-ohci.c: usb-00:04.0, PCI device 14e4:4715 usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected


5-4) 檢查
# cat /proc/bus/usb/devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB OHCI Root Hub S: SerialNumber=b8004000 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms


使用OpenWrt與其他韌體不同, 必須要手動安裝其他需要的核心模組, 才能驅動Router的硬體設備. 另外, OpenWrt使用mini_fo, root(/)可寫入.




離線

 

#2 2009-11-09 13:51:31

deepcolor
店長
來自: 新北市
註冊日期: 2009-10-09
文章數: 31
目前積分 :   

Re: [X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

終於出現wl-HDD的另一個改機新選擇了...^^"

不知道和主流的oleg比起來的差異特色有哪些地方呢 ?

milk




初來新手..還請多多指教~!!
gathering

離線

 

#3 2009-11-09 17:08:52

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: [X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

核心:
X-Wrt(OpenWrt Kamikaze 8.09): 2.4.35.4
Oleg: 2.4.20

IDE, USB:
X-Wrt: 手動安裝
Oleg: 網頁設定

套件:
X-Wrt: OpenWrt, Optware
Oleg: Optware

套件管理:
X-Wrt: opkg
Oleg: ipkg


離線

 

#4 2009-11-10 18:46:16

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: [X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

OpenWrt套件安裝方式與Optware不同. Optware安裝到/opt, OpenWrt安裝到/. 但/就是flash memory, 4MB...jolin
可能的解決方式: 1. 將OpenWrt搞為由HD啟動, /就是HD.(這個還沒試) 2. 指定套件安裝目的地為HD. wiki內寫到自訂的opkg-link. 雖然該script的sed參數有問題, 但需參透其目的何在後, 再手動解決之.


離線

 

#5 2009-12-18 11:27:34

sunriseyuen
新生
註冊日期: 2009-12-18
文章數: 6
目前積分 :   

Re: [X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

能否说说如何刷机,我用tftp 和在web界面上,用华硕的工具都刷不成功!

谢谢



離線

 

#6 2009-12-18 21:17:17

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: [X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

請參閱X-Wrt Kamikaze Installation.


離線

 

#7 2010-01-25 00:36:39

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: [X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

8.09.2出爐.


離線

 

#8 2010-12-09 18:17:20

czp830506
新生
註冊日期: 2008-07-14
文章數: 29
目前積分 :   

Re: [X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

希望能有详细点的中文教程,谢谢。。。。


離線

 

#9 2010-12-09 21:08:29

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: [X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

X-Wrt Kamikaze Installation Broadcom段落內有說明:
核心2.4: openwrt-brcm-2.4-squashfs.trx
核心2.6: openwrt-brcm47xx-squashfs.trx
預設無線是關閉的.


離線

 

#10 2010-12-09 21:15:20

czp830506
新生
註冊日期: 2008-07-14
文章數: 29
目前積分 :   

Re: [X-Wrt] 華碩WL-HDD 安裝X-Wrt (OpenWrt Kamikaze 8.09, r15789)

It is a normally quite easy to install Kamikaze (with and without X-Wrt webif) on Broadcom based devices (brcm), which include most devices by Asus, Belkin, Linksys, Buffalo, and others.

Go to the X-Wrt Downloads page, which contains the same images as on openwrt.org, but including the webif² package. Decide whether you'd like to use a 2.4 kernel (brcm-2.4) or a 2.6 kernel (brcm47xx-2.6 - see caveats below), download the pre-compiled image (openwrt-brcm-2.4-squashfs.trx for most purposes, but you might find a specific image for your device there) and use the existing firmware upgrade function to upload the image to your device. Check out the OpenWrt Installation docs for more details.

There are a few things to be aware of:

Wireless for brcm devices is supported on the 2.4 kernel AND 2.6 kernel support is available through the brcm47xx image
The wireless interface is defaultly disabled
Remember to download the correct image for your device ( you probably want something based on brcm-2.4 or brcm7xx )
After installation remember to enable boot_wait (as shown here)

我是不是应该照这段做呢?


離線

 

相關討論主題

主題 回覆 點閱 最後發表
openwrt 破解WIFI 作者 zhengguowang132
0 11884 2017-10-20 18:12:09 作者 zhengguowang132
ASUS N16 OpenWRT 刷番茄失敗 -- HELP 作者 magicfuh  [ 1 2 ]
11 33552 2017-01-15 08:56:27 作者 bug2000
1 15981 2012-12-07 15:35:22 作者 changeway
2 17486 2012-11-01 09:30:35 作者 changeway
2 14011 2012-08-15 23:58:48 作者 Aven

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed