[Fwd: USB AP card and/or rt2870 issue]
hi, I sent the following mail(attached) to the hostapd mailing list,but Now I think It's a driver issue.
Is it possible to make an access point with a rt2870 card. Does the driver support it?
I don't have much hope for now as it is a staging driver...and it displayed a warning about that in dmesg...
Denis.
hi,I'm thinking about replacing my pentium III 500 router with something like a sheevaplug.
The sheevaplug-like hardware do not have a pci slot or a wireless card supported that can do access point(if they have one(depend on the versions)).
So I'm looking for an usb card that can do AP
Someone wanted the exact same thing than me,but for other kind of embedded devices.he tested a rt8070 and hostap displayed a line with the ESSID,but the access point essid didn't appear when another computer scanned it,association was also impossible.
I bought a card with the same chipset.
with my distribution(based on ubuntu hardy) I had the same results.
But...
I wanted and planed to try wireless-compat,libnl2,and hostapd from git:
(that's why I bought it,I was thinking that I could make it work) here are the results:
With a card that does not support AP mode:
root@gnutoo-desktop:/usr/local/bin# LD_LIBRARY_PATH=/usr/local/lib/ hostapd -ddd /usr/local/etc/hostapd.conf Configuration file: /usr/local/etc/hostapd.conf nl80211: Add own interface ifindex 11 nl80211: Failed to set interface 11 to mode 3: -95 (Operation not supported) nl80211: Failed to set interface 11 to mode 3: -95 (Operation not supported) nl80211: Interface mode change to 3 from 0 failed nl80211: Failed to set interface wlan2 into AP mode nl80211 driver initialization failed. ELOOP: remaining socket: sock=4 eloop_data=0x8c26718 user_data=0x8c26bf8 handler=0x8072580 ELOOP: remaining socket: sock=6 eloop_data=0x8c286e8 user_data=(nil) handler=0x807be40
With the rt2870 card:
root@gnutoo-desktop:/usr/local/bin# LD_LIBRARY_PATH=/usr/local/lib/ hostapd -ddd /usr/local/etc/hostapd.conf Configuration file: /usr/local/etc/hostapd.conf nl80211: Register Action command failed: ret=-19 (No such device) nl80211: Register Action match - hexdump(len=1): 06 nl80211: Failed to register Action frame processing - ignore for now nl80211: Add own interface ifindex 10 nl80211: Failed to set interface 10 to mode 3: -19 (No such device) nl80211: Failed to set interface 10 to mode 3: -19 (No such device) nl80211: Interface mode change to 3 from 0 failed nl80211: Failed to set interface wlan0 into AP mode nl80211 driver initialization failed. ELOOP: remaining socket: sock=4 eloop_data=0x9fca718 user_data=0x9fcabf8 handler=0x8072580 ELOOP: remaining socket: sock=6 eloop_data=0x9fcc6e8 user_data=(nil) handler=0x807be40
here's the configuration(interface was changed between the 2 cards)
interface=wlan0
driver=nl80211
ssid=ralink
channel=2
hw_mode=g
here are the version used:
hostapd: 0b86f67a2970403d1b1b6d34ce49f5485ef5dbb3
libnl2: d378220c96c3c8b6f27dca33e7d8ba03318f9c2d
compat-wireless: compat-wireless-2010-04-23.tar.bz2
here is the config of hostapd compilation:
root@gnutoo-desktop:~/wireless/hostap/hostapd# cat .config | sed 's/#.*//' | sed '/^$/d' CONFIG_DRIVER_NL80211=y LIBNL=/usr/local CFLAGS += -I$(LIBNL)/include LIBS += -L$(LIBNL)/lib CONFIG_LIBNL20=y CONFIG_IAPP=y CONFIG_RSN_PREAUTH=y CONFIG_PEERKEY=y CONFIG_EAP=y CONFIG_EAP_MD5=y CONFIG_EAP_TLS=y CONFIG_EAP_MSCHAPV2=y CONFIG_EAP_PEAP=y CONFIG_EAP_GTC=y CONFIG_EAP_TTLS=y CONFIG_PKCS12=y CONFIG_IPV6=y
I started to post here because I'm not shure if it's an hostap,a libnl2 or a wireless-dev problem.
I hope the problem can be fixed(or that after time(and effort of the developers) it would be fixed,so I would only have to wait,I hope not too long),else I would need to search for another card.
Denis.
_______________________________________________
HostAP mailing list
[email protected]
http://lists.shmoo.com/mailman/listinfo/hostap
Quoted 6 lines · GNUtoo
hi, I sent the following mail(attached) to the hostapd mailing list,but Now I think It's a driver issue.
Is it possible to make an access point with a rt2870 card. Does the driver support it?
I don't have much hope for now as it is a staging driver...and it displayed a warning about that in dmesg...
You could try compat-wireless and the rt2800usb driver. That one actually does have Master mode support, but doesn't work on all cards yet. rt2800usb is also found in the main kernel tree, but using compat-wireless will give you the most recent version with _many_ fixes applied to it. :)
Ivo
Quoted 8 lines · Ivo Van Doorn
Quoted 6 lines · GNUtoo
hi, I sent the following mail(attached) to the hostapd mailing list,but Now I think It's a driver issue.
Is it possible to make an access point with a rt2870 card. Does the driver support it?
I don't have much hope for now as it is a staging driver...and it displayed a warning about that in dmesg...
Quoted 5 lines
You could try compat-wireless and the rt2800usb driver. That one actually does have Master mode support, but doesn't work on all cards yet. rt2800usb is also found in the main kernel tree, but using compat-wireless will give you the most recent version with _many_ fixes applied to it. :)
I tried that,
hostapd put the card in master mode
unfortunately once in master mode,impossible to find the essid when scanning.
Denis.