rt2870sta and AP mode

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6103

magnet

14-11-2010 13:38:23

Hello,

First, I hope this is the right place to ask this. I've come here because of the general lack of documentation just about everywhere and, mostly because of the contradicting information I've read here and there.

Background After years of staying away from wifi, new mobile gadgets finally made me make the jump and I went to buy a random WiFi card to create a home wireless network by making PC a wireless access point. Since they didn't have much in stock, I went home with a D-Link DWL-G122 (Rev E1). lsusb says Bus 001 Device 004 ID 07d13c0f D-Link System AirPlus G DWL-G122 Wireless Adapter(rev.E) [Ralink RT2870]

Well looks like I was a bit naive not to check first what to buy. After initial troubles (lots) of getting it running (I was had pretty much stopped updates besides security backports for 2 years), I started looking at how to create that home wireless network. The easy way (and sadly undocumented as well) simply seems to be NetworkManager who is supposed to be able to just do all the dirty work. Unfortunately, it is not working (I have plenty of logs in syslog I'd be glad to share about that).

Currently, I can scan for networks and connect to non-passworded networks. I don't think the problem is with passwords anyway, because even trying to create a passwordless/unsecure WLAN AP with NetworkManager failed.

So, I considered doing it with various howto I read out there, but they were all specifically made for the MadWifi drivers and imply using bridge-utils, hostapd, wpasupplicant, dnsmasq and a dhcp server. I was going to try that just before I read that rt2870sta does NOT support AP mode.

Here are my questions, then
(1) Does rt2870sta support AP mode
(2) Does its capabilities (like supporting AP mode) depend on the chipset used
(3) If AP mode is supported, is there a chance to get it running using NetworkManager
(4) If it's not, can anyone point me to a still relevant how to?
(5) What about rt2800usb with my current kernel, it's not used for the chipset and when I tried earlier, it did not work, but I heard it was close and provided AP mode.

Thanks for your help. Sorry if I sound confused, but it has been pretty hard to find decent and recent documentation and information on the subject.

Simon

IvD

14-11-2010 14:22:14


(1) Does rt2870sta support AP mode
[/quote394avd42]

Nope, But rt2800usb does.


(2) Does its capabilities (like supporting AP mode) depend on the chipset used
[/quote394avd42]

Yes, it heavily depends on the chipset. PCI devices have better interrupt
handling and provide better AP support then USB devices. However for
for most cases USB devices provide sufficient support for AP mode.


(3) If AP mode is supported, is there a chance to get it running using NetworkManager
[/quote394avd42]

No. You need Hostapd. NetworkManager only handles association, and doesn't
contain anything for master mode.


(4) If it's not, can anyone point me to a still relevant how to?
[/quote394avd42]

Just go to the hostapd website, and google around.


(5) What about rt2800usb with my current kernel, it's not used for the chipset and when I tried earlier, it did not work, but I heard it was close and provided AP mode.
[/quote394avd42]

Latest version of rt2800usb can be found in the compat-wireless package on wireless.kernel.org.

magnet

14-11-2010 16:11:17

Thanks for your answer.

I built the wireless-compat package and tried to get the rt2800usb running, but it looks like it will not be an easy ride (I'm not sure at all because I don't want to fiddle with kernel stuff too much anymore, but it looks like my kernel has net/ieee80211 built-in and not as a module, so when I'm trying to load new compat-wireless stuff it fails because of unknown symbols).

For the time spent/cost ratio, I think I'll be better off buying something better supported ;). And as a PCI card (what I originally wanted) for better interrupt support.

Thanks again