Skip to contentSkip to conversation

Access Point Mode for Ralink RT5370?

DISCUSSION Sergei Poselenov 3 participants 6 messages Jul 19, 2012 – Nov 26, 2012

lore
Share & tools
lore
#0 lore raw

Hello,

Does compat-wireless support the Access Point mode for the Ralink RT5370 chip? The driver source pack from the Ralink site only supports Managed and Ad-Hoc modes.

Thanks in advance.

Regards,
Sergei Poselenov, Emcraft Systems

#1 lore raw

Hi,

Quoted 5 lines · Sergei Poselenov

Hello,

Does compat-wireless support the Access Point mode for the Ralink RT5370 chip? The driver source pack from the Ralink site only supports Managed and Ad-Hoc modes.

Yes, the rt2x00-based drivers as found in the compat-wireless package are working in AP mode.

Ivo

#2 lore raw

Hello Ivo, all,

Quoted 4 lines · On Thu, 19 Jul 2012 12:44:14 +0200 Ivo Van Doorn <[email protected]> wrote:

Hi,

On Thu, Jul 19, 2012 at 11:34 AM, Sergei Poselenov <[email protected]> wrote:

Quoted 9 lines
Quoted 5 lines

Hello,

Does compat-wireless support the Access Point mode for the Ralink RT5370 chip? The driver source pack from the Ralink site only supports Managed and Ad-Hoc modes.

Yes, the rt2x00-based drivers as found in the compat-wireless package are working in AP mode.

I'm trying to set the master mode and it fails:
~ # iwconfig wlan0 mode Master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
~ #

The Linux Wireless FAQ here
http://linuxwireless.org/en/users/Documentation/FAQ#Q:_iwconfig_wlan0_mode_master_does_not_work
tells me that I should use hostapd instead of iwconfig to configure the master mode.

However, for my project the WiFi security is not required. Also, I'm working on a custom ARM board with Linux 2.6.33 running.

Could you please confirm I should really port hostapd to my target to configure my USB WiFi as Access Point?

Thanks in advance.

Regards,
Sergei Poselenov, Emcraft Systems

Quoted 1 line

Ivo

#3 lore raw

Hi,

Quoted 18 lines
Quoted 11 lines
Quoted 5 lines · Sergei Poselenov

Hello,

Does compat-wireless support the Access Point mode for the Ralink RT5370 chip? The driver source pack from the Ralink site only supports Managed and Ad-Hoc modes.

Yes, the rt2x00-based drivers as found in the compat-wireless package are working in AP mode.

I'm trying to set the master mode and it fails:
~ # iwconfig wlan0 mode Master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
~ #

Quoted 7 lines

The Linux Wireless FAQ here
http://linuxwireless.org/en/users/Documentation/FAQ#Q:_iwconfig_wlan0_mode_master_does_not_work
tells me that I should use hostapd instead of iwconfig to configure the master mode.

However, for my project the WiFi security is not required. Also, I'm working on a custom ARM board with Linux 2.6.33 running.

But the FAQ doesn't say you need hostapd for WiFi Security, it says if you want master mode, you must use hostapd..

Quoted 2 lines

Could you please confirm I should really port hostapd to my target to configure my USB WiFi as Access Point?

Yes, you _must_ use hostapd.

Ivo

#4 lore raw

Re: Access Point Mode for Ralink RT5370? - Success

Hello Ivo, all,

I just want to report that we successfully built and configured DWA-140 (rev B3, RT5370 chip) USB-WiFi in access point mode. For this, we built vcompat-wireless modules and hostapd and lbnl (required by hostapd).

Our target is the LPC1788 (ARM Cortex-M3 SOC) running Linux 2.6.33, with USB support.

Our toolchain combo is CodeSourcery arm-2010q1, with uClibc modified to support clone() and linuxthreads.

Thank you for your comments.

Regards,
Sergei Poselenov, Emcraft Systems

Quoted 37 lines · On Tue, 7 Aug 2012 17:38:53 +0200 Ivo Van Doorn <[email protected]> wrote:

Hi,

Quoted 18 lines
Quoted 11 lines
Quoted 5 lines · Sergei Poselenov

Hello,

Does compat-wireless support the Access Point mode for the Ralink RT5370 chip? The driver source pack from the Ralink site only supports Managed and Ad-Hoc modes.

Yes, the rt2x00-based drivers as found in the compat-wireless package are working in AP mode.

I'm trying to set the master mode and it fails:
~ # iwconfig wlan0 mode Master
Error for wireless request "Set Mode" (8B06) :
SET failed on device wlan0 ; Invalid argument.
~ #

Quoted 7 lines

The Linux Wireless FAQ here
http://linuxwireless.org/en/users/Documentation/FAQ#Q:_iwconfig_wlan0_mode_master_does_not_work
tells me that I should use hostapd instead of iwconfig to configure the master mode.

However, for my project the WiFi security is not required. Also, I'm working on a custom ARM board with Linux 2.6.33 running.

But the FAQ doesn't say you need hostapd for WiFi Security, it says if you want master mode, you must use hostapd..

Quoted 2 lines

Could you please confirm I should really port hostapd to my target to configure my USB WiFi as Access Point?

Yes, you _must_ use hostapd.

Ivo

#5 lore raw

Re: Access Point Mode for Ralink RT5370? - Success

Quoted 10 lines · Sergei Poselenov

Hello Ivo, all,

I just want to report that we successfully built and configured DWA-140 (rev B3, RT5370 chip) USB-WiFi in access point mode. For this, we built vcompat-wireless modules and hostapd and lbnl (required by hostapd).

Our target is the LPC1788 (ARM Cortex-M3 SOC) running Linux 2.6.33, with USB support.

Quoted 7 lines

Our toolchain combo is CodeSourcery arm-2010q1, with uClibc modified to support clone() and linuxthreads.

Thank you for your comments.

Regards,
Sergei Poselenov, Emcraft Systems

Hi Sergei,

I am also using a USB stick with RT5370 and want to configure it in AP mode.
I am new to the compat wireless drivers and modules but when I build them I do not get any module like "rt5370.ko". Which module from compat wireless package do I need to install for RT5370. I am using the latest compat wireless package from
http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless.tar.bz2.

Thanks,
Charvi.