LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-31-2010, 11:47 AM   #1
romagnolo
Member
 
Registered: Jul 2009
Location: Montaletto
Distribution: Debian GNU/Linux
Posts: 93

Rep: Reputation: 4
How to - get Netgear WG111v2 working stable at 30 dBm


Get a Realtek rtl8187l based usb-adapter (such as netgear wg111v2) work in linux is not tricky, but how to get high tx power and driver stability?

You could have tried ndiwrapper, as i did, and got stuck with a kernel module pretty buggy and crashy, or could have just used the common native driver, without hi-power feature.

To achieve my zen state, i had to work around with a base native driver, a feature-filling patch to apply to it, and the only working kernel supposed to work with, 2.6.27.


That's a brief step by step path:

get the base driver (rtl8187 in our case) and decompress:
http://dl.aircrack-ng.org/drivers/

get the featuring patch "rtl8187_2.6.27.patch" from:
http://patches.aircrack-ng.org/
and extract it in the base driver directory

then apply it with:
~$ patch -Np1 -i rtl8187_2.6.27.patch

remove old modules, compile and install new one (as root)
~# rmmod r8187 rtl8187
~$ make
~# make install

Now you should have a new net device (wlan#) under iwconfig you can use as usual.

To turn on the hi-power capability:
~# iwpriv wlan0 highpower 1

and set the transmission power value (may be dangerous, see below):
~# iwconfig wlan0 txpower <value of 0 to 35> # i use 30, should be around one watt

and wuelą you're done you have your pen running strong and stable on the 2.6.27 kernel.

For a detailed reference and clarification about txpower sets, see the aircrack page:
http://aircrack-ng.org/doku.php?id=r...8706121df3cd73

;-)
 
Old 01-31-2010, 03:54 PM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,885

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
Quote:
Originally Posted by romagnolo View Post
and set the transmission power value (may be dangerous, see below):
~# iwconfig wlan0 txpower <value of 0 to 35> # i use 30, should be around one watt
I think you should be clear that dangerous in this case may not just include damage to hardware, but may also include danger to health (both controversial and dependant upon the conditions, but do the research before you rush in to these higher powers without further thought). And it may also be illegal, but the regulations vary by country.
 
Old 12-23-2011, 08:47 PM   #3
romagnolo
Member
 
Registered: Jul 2009
Location: Montaletto
Distribution: Debian GNU/Linux
Posts: 93

Original Poster
Rep: Reputation: 4
It may be dangerous to health in the lullaby case you keep the radio at contact with your ear; also 30 dBmW = 1 Watt is less then a UMTS or a GSM.
However I can say now that it definitely broken after 2 years of almost 24/7 service, so not big concern for hardware.
And yes, it could be illegal for sensible hearts.
 
  


Reply

Tags
power, stability, wg111v2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Netgear WG111v2 dongle distro help... gohmifune Linux - Newbie 0 08-17-2008 10:44 PM
Problem with netgear WG111v2 TheMaliceDoctor Mandriva 1 07-09-2008 06:45 AM
64-bit Netgear WG111v2? bigdingle Linux - Wireless Networking 3 01-28-2008 02:04 PM
Netgear WG111v2 with RHEL Rai42 Linux - Wireless Networking 2 10-13-2006 10:13 AM
using Netgear WG111v2 in Ubuntu aoberoi Linux - Hardware 0 05-19-2006 02:46 PM


All times are GMT -5. The time now is 07:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration