hello all.
i have a alfa usb wireless awus036h card with realtek rtl8187l chipset.
i 've used this card in backtrack 5 and kernel 2.6 and it worked very well.
On 08/14/2012 04:46 PM, phenomx64 wrote:
>
> hello all.
> i have a alfa usb wireless awus036h card with realtek rtl8187l chipset.
> i 've used this card in backtrack 5 and kernel 2.6 and it worked very
> well.
>
> but now in opensuse 12.1 it doesn’t works well. it has a slow speed and
> connectivity problems in opensuse.
> i have kernel 3.4.2 and also get the kernel modules
> (http://tinyurl.com/8vrhvg7) and patched and installed them,but nothing
> differs.
> when i run iwconfig it tells me
> Code:
> --------------------
> IEEE 802.11bg Tx-Power=0 dBm
> Retry long limit:7 RTS thr:off Fragment thr:off
> Power Management:off
>
> --------------------
>
> notice the txpower=0!!!. i run iw reg set BO and when i tried to raise
> th tx power even to 1 it gives me
> Code:
> --------------------
> Error for wireless request “Set Tx Power” (8B26) :
> SET failed on device wlan1 ; Invalid argument.
>
>
> --------------------
>
> does anybody can help me?
The ifcfg-wlan0 that is generated disables power setting, which is the correct
thing to do. All the mac80211 drivers, of which rtl8187 is one example, get
their power setting from the regdb process, which controls the maximum power
according to the regulations of the country in which you live.
That power setting readout of 0 is meaningless. The power is not zero, no matter
what it says.
As you are not running a standard set of kernel modules, I cannot help you very
much with that code. If your signal is too strong, that large antenna on the
AWUS036H has a tendency to overdrive the receiver. What does ‘sudo
/usr/sbin/iwlist wlan0 scan’ show for the signal strength?
I just did a test of my AWUS036H and found a regression in the performance. I
will test older kernels and report back.
Hello again. i have this problem even with the standard kernel modules,nothing changes from kernel 3.1 up to kernel 3.5.
i have run
]
iw reg set BO
iwconfig wlan0 tx power 1
but txpower 1 also gives error!
iwlist wlan0 scan did not show any signal strength
signal strength is so good in kde network manager but sometimes that i connect it to a network i can feel that it is slower in comparision to my internal wireless card.
i don’t know what’s wrong.
i found signal strength in iwlist wlan0 scan , it’s so so,for some ap’s about 50 and 60 db. but in reality i feel the slow speed in comparison to my tplink wn961n.
somethings seems abnormal.
i also really need to set txpower to 30 in my alfa rtl8187l card.
how to do that??
On 08/15/2012 03:06 AM, phenomx64 wrote:
>
> i found signal strength in iwlist wlan0 scan , it’s so so,for some ap’s
> about 50 and 60 db. but in reality i feel the slow speed in comparison
> to my tplink wn961n.
Your numbers are wrong. Strengths of wireless signals are less than 0 - This is
also a logarithmic scale. Signals of 50 or 60 dB are impossibly large while -50
or -60 are quite small.
> somethings seems abnormal.
> i also really need to set txpower to 30 in my alfa rtl8187l card.
> how to do that??
Which part of “The ifcfg-wlan0 that is generated disables power setting, which
is the correct thing to do. All the mac80211 drivers, of which rtl8187 is one
example, get their power setting from the regdb process, which controls the
maximum power according to the regulations of the country in which you live.”
did you not understand? The regulatory agency of your country sets the maximum
power that the device can use, and mac80211 and the driver both adhere to that.
To increase the power would endanger your device, and would violate the laws of
your country. Of course, I cannot prevent you from doing that, but I cannot help
either.
I am looking into the issue with the standard driver, but I cannot promise any
results. With my AP at a distance of 2 m, the AWUS036H reports a strength of -26
dBm. At the same time, a Netgear WG111V2, which also has an RTL8187L, reports a
strength of -35 dBm. The AWUS036H sees a total of 4 AP’s from outside my house,
while the Netgear only sees 1.
Your numbers are wrong. Strengths of wireless signals are less than 0 - This is
also a logarithmic scale. Signals of 50 or 60 dB are impossibly large while -50
or -60 are quite small.
yes dude.you were right. its negative not positive numbers. for exmple -50 db and -60 db. -60 db isn’t so small,i can see the aps even with -80 or -90 db.
i have an ap in my 10 meters and it’s about -45 db.
Which part of “The ifcfg-wlan0 that is generated disables power setting, which
is the correct thing to do. All the mac80211 drivers, of which rtl8187 is one
example, get their power setting from the regdb process, which controls the
maximum power according to the regulations of the country in which you live.”
did you not understand? The regulatory agency of your country sets the maximum
power that the device can use, and mac80211 and the driver both adhere to that.
To increase the power would endanger your device, and would violate the laws of
your country. Of course, I cannot prevent you from doing that, but I cannot help
either.
i know what are you saying. i dont mind it’s legal or illegal.
when you run the command iw reg set BO , you change the regulatory country to BO. BO is a country that you can set your txpower up to 30db.
then all the wireless cards can have their txpower with the command
iwconfig wlan? txpower ?
its true for all cards except for alfa card that i think it has driver problems.
On 08/15/2012 09:56 AM, phenomx64 wrote:
>
>>
>> Your numbers are wrong. Strengths of wireless signals are less than 0 -
>> This is
>> also a logarithmic scale. Signals of 50 or 60 dB are impossibly large
>> while -50
>> or -60 are quite small.
>>
>
> yes dude.you were right. its negative not positive numbers. for exmple
> -50 db and -60 db. -60 db isn’t so small,i can see the aps even with -80
> or -90 db.
> i have an ap in my 10 meters and it’s about -45 db.
>>
>>
>> Which part of “The ifcfg-wlan0 that is generated disables power
>> setting, which
>> is the correct thing to do. All the mac80211 drivers, of which rtl8187
>> is one
>> example, get their power setting from the regdb process, which controls
>> the
>> maximum power according to the regulations of the country in which you
>> live.”
>> did you not understand? The regulatory agency of your country sets the
>> maximum
>> power that the device can use, and mac80211 and the driver both adhere
>> to that.
>> To increase the power would endanger your device, and would violate the
>> laws of
>> your country. Of course, I cannot prevent you from doing that, but I
>> cannot help
>> either.
>>
>
> i know what are you saying. i dont mind it’s legal or illegal.
> when you run the command iw reg set BO , you change the regulatory
> country to BO. BO is a country that you can set your txpower up to 30db.
> then all the wireless cards can have their txpower with the command
>
> Code:
> --------------------
> iwconfig wlan? txpower ?
> --------------------
>
> its true for all cards except for alfa card that i think it has driver
> problems.
>
> Do i must send this bug to kernel team?
Dude: I am the kernel team. If you want to set the driver to allow power
settings of 30, you need to change the driver. I will not.
The driver for the Alfa device got broken somewhere between kernels 2.6.31 and
2.6.34. A regular RTL8187L is OK. I’m trying to narrow it down; however, those
old kernels don’t build very well with the modern compiler.
Dude: I am the kernel team. If you want to set the driver to allow power
settings of 30, you need to change the driver. I will not.
The driver for the Alfa device got broken somewhere between kernels 2.6.31 and
2.6.34. A regular RTL8187L is OK. I’m trying to narrow it down; however, those
old kernels don’t build very well with the modern compiler.
thanks dude.
i will be so happy know your results at the end.
thanks again
Did you ever figure anything out wrt the Alfa device? I am looking at purchasing one of these, but I won’t waste my money if they aren’t working with the newest Linux kernels. The laptop the Alfa would be going in is running the 3.6.2 Linux kernel. I can provide more information about the laptop and its existing config, if that would help any.
On 10/26/2012 09:06 AM, dsteven1 wrote:
>
> lwfinger
>
> Did you ever figure anything out wrt the Alfa device? I am looking at
> purchasing one of these, but I won’t waste my money if they aren’t
> working with the newest Linux kernels. The laptop the Alfa would be
> going in is running the 3.6.2 Linux kernel. I can provide more
> information about the laptop and its existing config, if that would help
> any.
I just dug out my Alfa AWUS036H, plugged it in, and was immediately able to
connect to my WPA, WPA2, and WEP APs. With ‘sudo /usr/sbin/iwlist scan’, it
finds 9 neighboring APs. An RTL8723AE that I’m currently testing only reports 3.
My kernel is 3.7-rc1, but there have been no changes since 3.6.2. It should
work, at least it works for me.
I am also coming from Backtrack, just like people asking these questions (guessing). I got tired of dual boot, got tired of virtualbox.
My wish: To have nice, stable, KDE OS in which I can work every day, with everything and anything AND I would also like it to have some wifi specific software, like Aircrack, nmap, and some more, and I have installed it and it works pretty good so far.
Setting the regulatory domain with “iw reg set” seems impossible, so, to put it simple, can it be made possible, and how? I need that. Can it work or do I need to undo two weeks of trying to learn your OS and keep looking?
I’d hate to have to do that, I like things so far. I dropped Kubuntu after a day of weirdness and instability, and stumbled upon OpenSUSE after a while, and love it, please help.
On 11/08/2012 10:56 AM, cab00t wrote:
>
> I am also coming from Backtrack, just like people asking these questions
> (guessing). I got tired of dual boot, got tired of virtualbox.
>
> My wish: To have nice, stable, KDE OS in which I can work every day,
> with everything and anything AND I would also like it to have some wifi
> specific software, like Aircrack, nmap, and some more, and I have
> installed it and it works pretty good so far.
> Setting the regulatory domain with “iw reg set” seems impossible, so,
> to put it simple, can it be made possible, and how? I need that. Can it
> work or do I need to undo two weeks of trying to learn your OS and keep
> looking?
> I’d hate to have to do that, I like things so far. I dropped Kubuntu
> after a day of weirdness and instability, and stumbled upon OpenSUSE
> after a while, and love it, please help.
I don’t know about using iw to set the regulatory domain. It should work, but
there is a simple way to handle the problem. Create (as root) a file named
/etc/modprobe.d/50-cfg80211.conf containing the single line
options cfg80211 ieee80211_regdom=US
Change the US to whatever country you want. That will set the regulatory info.
This approach requires that the crda package be installed. That can be verified by
sudo zypper install crda
If crda is not installed, that would explain the failure of ‘iw reg set’.