2012-10-15T18:07:26ZFluxBBhttps://bbs.archlinux.org/viewtopic.php?id=150092You're welcome. I likewise appreciate your informed response. A mile sounds amazing. Wish you good fun with the card.]]>https://bbs.archlinux.org/profile.php?id=520192012-10-15T18:07:26Zhttps://bbs.archlinux.org/viewtopic.php?pid=1176298#p1176298Ok so I'll mark this as solved since CRDA is actually setting the regulatory domain correctly yet it may not have been the goal implied by my reason for posting it is answered. And as for my packet injection comment it was more off-hand and not related to my main goal which was raising txpower with the external card for stable long range connections. rx sensitivity isn't an issue with the 7dbi panel as the card definitely gives great signals even 2-3 out of 4 bars for APs over a mile away yet the antenna doesn't really compensate for the card running way below it's tx specifications for sending over that distance. It does better overall but not what it is capable of 'legally'. Also based on what I've read on how It's regulated with the FCC I'm well within legal restrictions if I ran the External Alfa card at 630mW with the 7dBi panel antenna attached. The restrictions apply differently to directional antennas. In general You can have higher gain/output when transmitting in a P2P manner. The requlations for EIRP allow for high txpower and higher gain when using the type of antenna I have. Anyhow I appreciate the response.]]>https://bbs.archlinux.org/profile.php?id=563342012-10-15T09:38:09Zhttps://bbs.archlinux.org/viewtopic.php?pid=1176052#p1176052Ok, so CRDA appears to work and as you will have noted from the array, >20dbm is only allowed on the highest and lowest channel - which is (certainly) what your FCC has set. Don't get me wrong but actually in my opinion you might address a better audience for your quite specific question on a amateur radio forum rather than here.

Thme wrote:

..wanted to get a high gain, high output card for testing injection and long range connectivity...

You surely know yourself that fiddling with the wlan power parameter one-sidedly does nothing for a more stable wifi connection, which is what users here are usually after, but more creates link quality problems. For long range output one better does what you did: get a better antenna or a repeater. And injection .. well, that's more the focus of Backtrack et al anyway .. but for that you could lower the power actually and sit next to the router in order so not to disturb surrounding equipment. Just suggesting.

]]>https://bbs.archlinux.org/profile.php?id=520192012-10-14T13:14:38Zhttps://bbs.archlinux.org/viewtopic.php?pid=1175525#p1175525Ok It's definitely registering "US" from the output of "iw

it still isn't allowing me to change the txpower of either my internal or external Alfa card above their lower defaults. both are more than capable of going above 100mW (internal ar9285 can't go above 14dbm and the Alfa is stuck at 20dbm). even stranger is I've seen my internal report back as being scaled to 500mW after a clean boot yet I've not been able to reproduce this every boot. the next time I see it I'll post the output because when it did set to 500mW I could scale it back down but not back up...

]]>https://bbs.archlinux.org/profile.php?id=563342012-10-14T06:06:00Zhttps://bbs.archlinux.org/viewtopic.php?pid=1175390#p1175390The world regulatory domain should represent the eeprom, i.e. a safe default. Your CRDA then seems to be applied, overwriting the defaults with your countries' mBm, as I see it. No idea why crda reports different/nothing in the first post. Check what

iw reg get

brings up. Also there is a para in man crda about an udev rule.

]]>https://bbs.archlinux.org/profile.php?id=520192012-10-14T03:51:29Zhttps://bbs.archlinux.org/viewtopic.php?pid=1175362#p1175362Ok from what I've gathered this is what crda is doing. Browsing the output of journalctl if found this.According to the output it is setting the country right yet not the world regulatory domain... which confuses me even more as the output of crda still shows no country environment variable set... I believe that has to do with the world variable not being set and therefore still being restriced according to that and not the "US" regulatory domain. The following were the lines related to crda that I found in the journal.

I guess my next question would be if there's a different line to add in /etc/conf.d/wireless-regdom in order to set the world domain correctly. I tried uncommenting two lines and also setting two lines with US as the domain yet nothing occurs on boot. The journal output is still the same...

]]>https://bbs.archlinux.org/profile.php?id=563342012-10-14T01:33:26Zhttps://bbs.archlinux.org/viewtopic.php?pid=1175321#p1175321After doing some research on wireless cards supported on linux I decided to stick with Atheros based chipsets and wanted to get a high gain, high output card for testing injection and long range connectivity.I found the Alfa AWUS036NHA card for an excellent deal with a 7dBi panel antenna and 5dBi omnidirectional. The card runs a well supported ar9271 atheros chipset. Had none of the issues reported on getting it up and running as I had read from some reviews. Now the Issue I DO have is being able to set my new card above the restricted txpower imposed on it by the settings in an eeprom applying limitations according to a country other than my own. In short I found in several blogs and on the Backtrack forums that in order to override this limitation I had to set my proper domain to the country I reside in (US) so that restrictions applying to that country will be properly set for the card. Here I can legally run it at it's full potential at 27dBm with my current antennae. contrary to some reports and ads this card's specifications are 630mW for output on certain bands. Not 1000mW as some believe or advertise. I installed CRDA and wireless-regdb from the core repos and was prompted that I could uncomment the right country in /etc/conf.d/wireless-regdom which I did then rebooted. CRDA reports from the command line that the country has not been set. Here's all the relevant info on how I've attempted to set this and my AWUS036NHA card above 20dBm (100mW).

I have the ABS trees for wireless-regdb and CRDA if there's anything in need of being modified for it to set my regulatory domain properly. According the what I've read I should've only needed to uncomment it in /etc/conf.d/wireless-regdom which I had. I tested This on the stock , LTS and linux-ck kernels so It's not related to my kernel from my understanding. Is there anyone with an understanding of how to set the regulatory domain properly? Am I missing any steps or is there a difference with using systemd in order to get CRDA to start working and setting my regulatory domain right? my only lead on this solution for maxing out my ar9271 card was found mainly on a few backtrack forums and here especially:http://blog.binaryfactory.ca/2012/09/se … rd-can-go/Also if there's an alternative way to override the cards eeprom restrictions I'm all ears...