DWL 510C2

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


07-02-2009 19:28:06

Im having some problems with my card in master mode.
1. I can only set channel less and equal 11 - but card supports it
2. i cant connect to ap when SNR is below 45... its very difficult to get so good quality, on second floor. I bought a new 12dbi antenna but it didnt solve my problem.

Im using the newest git version form 2x00, hostapd 0.6.7 and wpa_suplicant 0.6.6

My hostapd.conf http//dozynkowa.dyndns.org/hostapd/hostapd.conf
3. after killing hostapd i cant get it to work
[quote35ejot4v]root@dozynkowa/home/tom/komp/hostap/hostapd# hostapd -Bdddd /etc/hostapd/hostapd.conf
Configuration file /etc/hostapd/hostapd.conf
Opening raw packet socket for ifindex 46
BSS count 1, BSSID mask ffffffffffff (0 bits)
Failed to set country code
wlan0 Unable to setup interface.
Flushing old station entries
Deauthenticate all stations
rmdir[ctrl_interface] No such file or directory[/quote35ejot4v]
after reboot it works fine. this error didnt appear in release (2.6.27-7)


09-02-2009 16:35:51

this is very odd, but i changed password to sth numerical and it works without any problem in wpa2(aes). i can establish connection with snr less than 40(in netstumbler).

but i have still problems with restart hostapd on the newest kernel from git.


09-02-2009 16:37:36

The error "Failed to set country code" indicates a problem with the CRDA. You best send this issue to the hostapd mailinglist to see if they know how to fix it.


10-02-2009 10:12:07

The error "Failed to set country code" can occur if you have somewhere an option for mac80211.
Distributions used to do this to allow all frequencies for their users. The idea behind this is User cannot be considered responsible of the frequency used by the server and must be allowed to connect to it even if this one does not respect regulation.

i.e. on Mandriva, there was a file /etc/modprobe.d./mac80211-extra-channels.conf
containing a line options cfg80211 ieee80211_regdom=JP[/color3kcrsjhc]

This option is now deprecated (I believe) and, later when they upgraded CRDA and kernel, the value JP was even preventing to bring up the interface in any mode.
If you have something like this, you can try first to comment the option or if it is not possible set it to a correct value.
That worked for me with FR instead of JP,(I'm french), before Mandriva removed the file.