PDA

Bekijk de volledige versie : Openwrt firmware for mpi350, senao/prism and atheros cards



acoul
16-05-2005, 06:04
I've made a custom openwrt firmware based on the latest openwrt experimental cvs branch that works quite well with asus-wl500g. It offers support for miniPCI cards such as mpi350, senao/prism and atheros. You may find it here (http://wifi.ozo.com/airo/asus/firmware/hostap/)

From the Readme.txt file:
-----------------------------
- hostap to 0.4.0 + txpower adjust patches + enabled firmware nvram upload + stable firmware series upload at boot
- Wireless Extentions v18 for 2.4.30 linux kernel
- madwifi bsd branch cvs-Spring 2005
- firmware for senao cards under /etc/firmware

some last lines from the dmesg:
-------------------------------------
PCI: Setting latency timer of device 00:08.0 to 64
eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.60.13.0
No Broadcom devices found.
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
br0: port 1(eth0) entering forwarding state
br0: topology change detected, propagating
hostap_crypt: registered algorithm 'NULL'
hostap_pci: 0.4.0 - 2005-04-25 (Jouni Malinen <jkmaline@cc.hut.fi>)
PCI: Enabling device 01:02.0 (0000 -> 0002)
hostap_pci: Registered netdevice wifi0
wifi0: Original COR value: 0x0
prism2_hw_init: initialized in 200 ms
wifi0: NIC: id=0x8013 v1.0.0
wifi0: PRI: id=0x15 v1.1.0
wifi0: STA: id=0x1f v1.4.9
wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in Host AP mode WDS
wifi0: Intersil Prism2.5 PCI: mem=0x40002000, irq=6
wifi0: registered netdevice wlan0
prism2_download: dl_cmd=4 start_addr=0x003f0000 num_areas=3
wifi0: test Genesis mode with HCR 0x1f
wifi0: Original COR value: 0x0
Readback test failed, HCR 0x1f write 00 e1 a1 ff read 00 c1 a1 c1
wifi0: test Genesis mode with HCR 0x0f
wifi0: Original COR value: 0xa1
Readback test succeeded, HCR 0x0f
prism2_hw_init: initialized in 0 ms
wifi0: NIC: id=0x8013 v1.0.0
wifi0: PRI: id=0x15 v1.1.4
Could not get RID for component STA
wifi0: Failed to read STA f/w version - only Primary f/w present
prism2_download: dl_cmd=1 start_addr=0x003f0c01 num_areas=3
prism2_hw_init: initialized in 30 ms
wifi0: NIC: id=0x8013 v1.0.0
wifi0: PRI: id=0x15 v1.1.4
wifi0: STA: id=0x1f v1.7.4

the output from iwconfig with a senao miniPCI wifi plugged in:
-----------------------------------------------------------------------
root@OpenWrt:/etc/firmware# iwconfig wlan0
wlan0 IEEE 802.11b ESSID:"test"
Mode:Master Access Point: 00:00:00:00:00:00 Bit Rate:11 Mb/s
Tx-Power:-16 dBm Sensitivity=1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

known bugs:
---------------
The booting problem (http://openwrt.org/forum/viewtopic.php?pid=5058#p5058) when an atheros card is plugged in still exists. I have no console so I can't do much about it other that google for simmilar cases hopping to find a work arround for this issue

acoul
18-06-2005, 17:03
known bugs:
---------------
The booting problem (http://openwrt.org/forum/viewtopic.php?pid=5058#p5058) when an atheros card is plugged in still exists. I have no console so I can't do much about it other that google for simmilar cases hopping to find a work arround for this issue
A new release is out that deals and resolves the issue with the atheros cards not booting. You may check here (http://openwrt.org/forum/viewtopic.php?pid=8529#p8529) for more info.

par
22-06-2005, 12:10
Hi,


Sorry for my lame questions if they are such, but whatever.. :D


What I would like to ask is what do I do wrong so i can't launch my wl500g with nor atheros, nor with senao or hermes mini-pci a/b/g card. I did insert latest experimental hostap 0.4.1 firmware, found on http://wifi.ozo.com/airo/asus/firmware/hostap/experimental/ , but when my asus boots up, after writing iwconfig, i can't see any wireless devices up. (Just lo, eth0, eth1 and br0).


Do i miss something?



Thanks.

acoul
30-06-2005, 11:38
Hi,


Sorry for my lame questions if they are such, but whatever.. :D


What I would like to ask is what do I do wrong so i can't launch my wl500g with nor atheros, nor with senao or hermes mini-pci a/b/g card. I did insert latest experimental hostap 0.4.1 firmware, found on http://wifi.ozo.com/airo/asus/firmware/hostap/experimental/ , but when my asus boots up, after writing iwconfig, i can't see any wireless devices up. (Just lo, eth0, eth1 and br0).


Do i miss something?



Thanks.

Actually, you better go with the latest (http://wifi.ozo.com/airo/asus/firmware/hostap/latest/) release that solves the atheros boot issue. modules are not auto loaded. You need to do this by hand. check the /lib/modules directory for loading the appropriate modules.

xtraya
25-07-2005, 11:16
those modules are mipsel compiled?
i will get an CM9 minpci card (i think that it best ATH a/b/g card on market)
and put into asus (on usb disc)

with that card, on PC linuxes i have an 7 km link on 5.8 ghz, with 0.5 ms ping and 3 MB/sec transfer.... it kicks ass!
ofcourse most important on long distance links are hardware timings,which CM9 has...

acoul
13-10-2005, 19:02
Actually, you better go with the latest (http://wifi.ozo.com/airo/asus/firmware/hostap/latest/) release that solves the atheros boot issue. modules are not auto loaded. You need to do this by hand. check the /lib/modules directory for loading the appropriate modules.
A new openwrt branch release based on openwrt-whiterussian-rc3 that supports madwifi/atheros, hostap/prismII and cisco mpi350 wifi cards. Get it here (http://wifi.ozo.com/airo/asus/firmware/hostap/latest/)