rt2500pci problems on ixp425

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

cherry314159

24-09-2008 17:39:21

I'm running hostapd 0.6.4 with compat-wireless-old-2008-09-22 on top of linux 2.6.26 on an ixp425.
When I try to start hostapd, I get the following
[quote2y85fopz]
# hostapd /var/run/hostapd-wlan0.conf
Configuration file /var/run/hostapd-wlan0.conf
Failed to update rate sets in kernel module
Could not set passive scanning Unknown error -1
Mode IEEE 802.11g Channel 8 Frequency 2447 MHz
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
Using interface wlan0 with hwaddr 001801e3c0e0 and ssid 'OpenWrt'
Failed to set CTS protect in kernel driver
Failed to set Short Slot Time option in kernel driver
Could not set preamble for kernel driver
[/quote2y85fopz]

The hostapd-wlan0.conf looks like this
[code2y85fopz]
driver=nl80211
interface=wlan0
hw_mode=g
channel=8
ssid=OpenWrt
debug=1
wpa=0
[/code2y85fopz]

If I try to connect using hostapd_cli, it fails to connect and hangs.
What am I doing wrong in starting ap mode? I've also tried the generic driver in 2.6.26
without much luck.

IvD

24-09-2008 17:49:21

You cannot use compat-wireless for master mode, you must use rt2x00.git.

cherry314159

24-09-2008 17:52:00

Thanks for the reply. I'll look into upgrading to git version.

cherry314159

25-09-2008 00:35:43

I've gotten the git tree but the include/asm-arm directory is missing most files. Is this not maintained? I'm not sure why the arch/arm directory is there with all files and subdirectories but not the corresponding include directory.

IvD

25-09-2008 21:02:03

Do you mean it is not compiling, or are you just looking at the directory contents?

cherry314159

26-09-2008 15:49:19

If you look at the contents of include/asm-arm, there's hardly anything there. There are no *.h and only two sub-directories. So, I downloaded 2.6.27-rc7 tarball and it has the same issue. Very strange. Am I missing something? How does one get the full arm sources? I'm new to the bleeding edge, there must be a trick somewhere.

IvD

26-09-2008 18:06:34

How about just compiling the kernel?
I don't see any problems in less files for a particular architecture as long as the kernel compiles for that architecture...