From: W. van den Akker Date: Thu, 5 Feb 2009 23:27:44 +0100 Subject: [ath9k-devel] [RFC] Serialization of writes In-Reply-To: <20090205221309.GF12298@tesla> References: <20090204011216.GA8220@tesla> <200902052244.15862.listsrv@wilsoft.nl> <20090205221309.GF12298@tesla> Message-ID: <200902052327.45051.listsrv@wilsoft.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Thursday 05 February 2009 23:13:09 Luis R. Rodriguez wrote: > On Thu, Feb 05, 2009 at 01:44:15PM -0800, W. van den Akker wrote: > > Whatever I have filled in (hostapd.conf entry country_code set or > > default) is giving the same result. The 'NL' option is recognized. I > > browsed the code of crda and the check for the country code is ok. > > > > Also udevadm monitor doesnt give any feedback on user-events. > > Do you mean when you do this? > > udevadm monitor --environment kernel > > > I woud assume if I use crda or start hostapd it would give some kind of > > output.. > > Yeah you can also just use this to test this: > > iw reg set NL > > Mind, you if you already set NL it will just return 0 > as that was already set, so you may want to try some other > country and then switch back to another one to run these > tests. > > Luis ok using iw reg set NL give the following output: UEVENT[1233872197.595448] change /devices/platform/regulatory.0 (platform) ACTION=change DEVPATH=/devices/platform/regulatory.0 SUBSYSTEM=platform COUNTRY=NL PHYSDEVBUS=platform MODALIAS=platform:regulatory SEQNUM=1245 UDEV [1233872197.599832] change /devices/platform/regulatory.0 (platform) UDEV_LOG=3 ACTION=change DEVPATH=/devices/platform/regulatory.0 SUBSYSTEM=platform COUNTRY=NL PHYSDEVBUS=platform MODALIAS=platform:regulatory SEQNUM=1245 UDEVD_EVENT=1 So this looks promissing... doesnt it? It shows the UDEV rules are correctly installed.. Question is why hostapd wont start the adapter into an AP. xxx:/home/xx# hostapd -dd /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd.conf ctrl_interface_group=0 Opening raw packet socket for ifindex 1688 BSS count 1, BSSID mask ff:ff:ff:ff:ff:ff (0 bits) Failed to set country code wlan0: Unable to setup interface. rmdir[ctrl_interface]: No such file or directory gr, Willem -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.