OpenWrt Forum Archive

Topic: Asus wl500gP + D-Link DWL-120

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I was just wondering. If i were to disable the minipci card totally and remove it and then use the USB WiFi adapter instead as wifi ? D-Link DWL-120.
It's apparently a prism chipset. Just wondering how i would do this from trunc ?

I tried to connect a D-Link DWL-122 USB WiFi adapter (RT73 chipset) to my ASUS WL-500G Premium. It does not work and their was just a Kernel bug. Wmaster0 and wlan0 interface does not get created. The USB WiFi adapter works fine with Ubuntu Gutsy Gibbon 7.10 on my Notebook.

What I did was:
- Trunk brcm47xx [2.6] target / revision 10217
- installed packages kmod-crc-itu-t, kmod-rt73-usb
- enabled wireless in /etc/config/wireless and run 'wifi' command
- connect the stick to the router and then it segfaults or kernel panic, whatever...

You could do so great things with Kamikaze but at the moment it's very unstable and needs a lot of work to get stabelized. Too bad. I may try this in a few month again and see how far things got but I don't have to much hope.

usb 3-2: new high speed USB device using ehci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
Kernel bug detected[#1]:
Cpu 0
$ 0   : 00000000 1000d800 00000001 c00fee00
$ 4   : 8124014c 8012cb9c 8012cfa0 80209ebc
$ 8   : 0000000a ffffffff 00000008 00000000
$12   : 00000000 00000000 80000000 00000000
$16   : c00c16c4 c00c1b90 81e7e200 c00c1658
$20   : 81240180 00000000 81240040 81e7e288
$24   : 00000018 000186a0
$28   : 8132c000 8132dc48 81e7e2c4 c00e12cc
Hi    : fffffdaa
Lo    : 4b3f8200
epc   : c00e1318     Not tainted
ra    : c00e12cc Status: 1000d803    KERNEL EXL IE
Cause : 00000034
PrId  : 00029006
Modules linked in: ehci_hcd uhci_hcd b43 rt73usb rt2x00usb rt2x00lib usbcore mac80211 cfg80211 crc_itu_t ieee80211_crypt_ccmp ieee80211_crypt_tkip ieee80211_crypt_wep ieee80211 ieee80211_crypt michael_mic arc4 aes deflate ecb cbc blkcipher crypto_hash cryptomgr crypto_algapi switch_robo switch_core diag
Process khubd (pid: 432, threadinfo=8132c000, task=810790a8)
Stack : 81ecdc00 8012cb88 81d74f40 00000000 81d74f40 81eef5b4 81e7e200 c00c1b90
        81e7e200 c00c1658 81ecdc00 00000000 00000001 c00a77f4 c00c1bc0 c010b80c
        00000000 00000001 81e7e200 c00c1b90 c00c1bc0 81e7e2c4 c0119fd0 c010c1b8
        00000019 00000791 81305b60 81305b60 00000000 81e7e220 80130964 80130908
        81e2a180 81240000 81e2a180 00000005 00000000 80130a78 81e7e220 81ecdc00
        ...
Call Trace:[<8012cb88>][<c00a77f4>][<c010b80c>][<c010c1b8>][<80130964>][<80130908>][<80130a78>][<8012f59c>][<80130bb8>][<8012fa18>][<8012f4dc>][<8012de6c>][<8012de64>][<c010a7c8>][<80025174>][<c0113dd8>][<80130964>][<80130908>][<80130a78>][<c010a1f8>][<8012f59c>][<80130bb8>][<8012fa18>][<8012f4dc>][<c010a1f8>][<8012de6c>][<8012de64>][<c010a2b8>][<c010a1f8>][<c0103c58>][<c0105828>][<c010561c>][<8003cac4>][<c0104cec>][<8003c7c8>][<800058d8>][<800058c8>]

Code: 00028036  8e020008  2c420001 <00028036> 8e020014  2c420001  00028036  8e02000c  2c420001

ipkg list_installed:

base-files-brcm47xx - 12-r10217 -
bridge - 1.0.6-1 -
busybox - 1.8.2-1 -
dropbear - 0.50-3 -
hostapd - 20071107_03ec0ec5cdb974d51a4a2a566bea4c4568138576-1 -
hotplug2 - 0.9+r102-2 -
kernel - 2.6.23.1-brcm47xx-1 -
kmod-b43 - 2.6.23.1-brcm47xx-1 -
kmod-crc-itu-t - 2.6.23.1-brcm47xx-1 -
kmod-crypto-aes - 2.6.23.1-brcm47xx-1 -
kmod-crypto-arc4 - 2.6.23.1-brcm47xx-1 -
kmod-crypto-core - 2.6.23.1-brcm47xx-1 -
kmod-crypto-michael-mic - 2.6.23.1-brcm47xx-1 -
kmod-diag - 2.6.23.1-brcm47xx-2 -
kmod-ieee80211 - 2.6.23.1-brcm47xx-1 -
kmod-mac80211 - 2.6.23.1-brcm47xx-1 -
kmod-rt2x00-lib - 2.6.23.1+cvs-20070712-brcm47xx-1 -
kmod-rt2x00-usb - 2.6.23.1+cvs-20070712-brcm47xx-1 -
kmod-rt73-usb - 2.6.23.1+cvs-20070712-brcm47xx-1 -
kmod-switch - 2.6.23.1-brcm47xx-1 -
kmod-usb-core - 2.6.23.1-brcm47xx-1 -
kmod-usb-uhci - 2.6.23.1-brcm47xx-1 -
kmod-usb2 - 2.6.23.1-brcm47xx-1 -
libgcc - unknown-12 -
libncurses - 5.6-1 -
libopenssl - 0.9.8e-3 -
libusb - 0.1.12-1 -
mtd - 6 -
nano - 2.0.7-1 -
ntpclient - 2003_194-6 -
pciutils - 2.2.9-1 -
uclibc - 0.9.29-12 -
udevtrigger - 106-1 -
usbutils - 0.73-1 -
wireless-tools - 29-2 -
zlib - 1.2.3-5 -
Done.

(Last edited by forum2008 on 20 Jan 2008, 11:24)

Thanks for the update smile

What is wrong with your miniPCI card that you would like a Prism card in place? I think your USB stick would consume more than your onboard card, and if your card works fine, why change it? I don't think that Prism chip is such an upgrade.

I have an atheros minipci card for my asus wl-500gP and it's really not working like it should. It disconnects my wireless clients a couple of times per day and the transferrate isn't really that awesome at all. like 1mb/s on a 54 mbps wifi connection. Not that impressive like i said.
I've been asking about this in some other threads but nobody seems to have experienced the same thing. I'm using the gigabyte minipci atheros chipset card like some recommended in some earlier posts.
I tried using 2.4 kernel and the broadcom minipci card that comes with it but same thing happens + the range is really sucky there.
Otherwise the router works superb except the wifi ofc.

I can confirm the exact same behavior with Asus WL-167g (ralink rt73 usb based) as soon as you load the kernel module (rt73usb)

pagefault wrote:

I can confirm the exact same behavior with Asus WL-167g (ralink rt73 usb based) as soon as you load the kernel module (rt73usb)

Same here, Oops with with WL-167g, but zydas zd1211 chips work fine.

Fanta wrote:

... but zydas zd1211 chips work fine.

Hi, what did you installed that zydas zd1211 is working?

And what wlan-usb-sticks or chips are also working with Kamikaze? Are there any 11a wlan-usb-sticks working? Can I configure the driver in /etc/config/wireless or do I have to use iwconfig?

If the driver uses mac80211 stack, you can mostly use /etc/config/wireless for configuration.

Oconnor wrote:

Hi, what did you installed that zydas zd1211 is working?

kernel 2.6, zd1211 kmod, firmware and wpa supplicant from trunk

(Last edited by Fanta on 1 Feb 2008, 00:34)

just to let u know:
i have compiled zd1211b driver for my wgt634u (client mode setup) ,but it doesn't work like it should be in master mode bridged with lan  ... it disconnect itself at heavy traffic.
i have also tested my dongle in client mode ,and still my on-board atheros minipci is performing better in client mode...
so i think that minipci wireless solution is far better than any usb one

#to sfa have u try older 7.06 kamikaze it has sample instead minstrel rate estimator ? or u can compile kamikaze 7.09 witch sample rate estimator like i do

rgds

illyum wrote:
pagefault wrote:

I can confirm the exact same behavior with Asus WL-167g (ralink rt73 usb based) as soon as you load the kernel module (rt73usb)

Did you try this?: http://forum.openwrt.org/viewtopic.php?id=9623

Besides, look at this: http://www.melbournewireless.org.au/wik … on_OpenWRT

Does anyone know if you have to configure anything in /etc/config/wireless for the new interface?

I think Asus used different chips in WL-167g,  with rt73 you need rt2571.

Ralink released new drivers for rt73 recently (01/17/2008). There are Makefiles for 2.4 and 2.6 included.

(Last edited by Fanta on 11 Feb 2008, 20:51)

The discussion might have continued from here.