Topic: **FIXED** Wireless range and stability.

Follow this guide and you'll have amazing range and stability.
http://www.aircrack-ng.org/doku.php?id=r8187     OR

(as root)

wget http://dl.aircrack-ng.org/drivers/rtl81 … 6.1010.zip
unzip rtl8187_linux_26.1010.zip
cd rtl8187_linux_26.1010.0622.2006/
wget http://patches.aircrack-ng.org/rtl8187_2.6.24v3.patch
tar xzf drv.tar.gz
tar xzf stack.tar.gz
patch -Np1 -i rtl8187_2.6.24v3.patch
make
make install
depmod -ae
echo "r8187" >> /etc/modules
echo "blacklist rtl8187" >> /etc/modprobe.d/blacklist

I have been transfering huge hard drive images over to my networked external NFS drive using this r8187 patched drive... however with the default linux-kernel rtl8187l module (RTL8187.KO) Things are not stable and you'll be only able to transfer the smallest of files over NFS without issues, However using the guide above i was able to compile a new set of drivers based on the r8187 driver FROM REALTEK.
Patching this driver also enabled the cloudbook to crack wireless routers in a matter of seconds and not minutes using ONLY the aircrack-ng suite, nothing else.

Also I've noticed the r8187 driver is much faster than many other wireless cards that work with linux, Firefox browsing is now faster on my Cloudbook than on any of my brand new desktop computers running the same 8.04 LTS but with Zydas zd1211rw wireless chipsets instead of the flawless r8187 driver.

If i could find a product that used the same exact chipset that is in the cloudbook as a USB Wifi Card, id use it in everything i own!

the rtl8187 driver shouldn't even be packaged with the linux kernel, its totally unstable....

Last edited by dimethoxyhead (2008-08-28 4:21:11 pm)

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

you should also blacklist rtl8187 in /etc/modprobe.d/blacklist

the patched r8187 driver is capeable of transfering HUGE files over NFS with amazing bandwith range and stability, the patched driver also works with aireplay-ng and aircrack-ng suite and i have found it to be the FASTEST WEP CRACKER AVAILABLE with a new land speed record of 1 minute and a half from injection collection and final CRACK...

I <3 CB

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

You will have to repeat this step every kernel upgrade ofcourse. It works FLAWLESS with Ubuntu 8.04 LTS dvd! and plus it cracked wep for me so fast without even using the padlock modules!!! lol best wifi chipset ever

dont forget to
depmod -ae
after you make and install the new modules!

Last edited by dimethoxyhead (2008-07-21 6:24:29 pm)

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

before rmmod rtl8187 you should be either connected to LAN or some other USB wifi dongle or have already downloaded

wget http://dl.aircrack-ng.org/drivers/rtl81 … 6.1010.zip
wget http://patches.aircrack-ng.org/rtl8187_2.6.24v3.patch

and your good to go...
that damned rtl8187 driver is no good, infact it sucks and it cant even do a simple NFS transfer without losing the connection and the r8187 driver has excellent excellent range.

also if you want to really speed up the CB without upgrading the ram (its faster than upgrading i find it works even with 2gb of ram faster)
use compcache from google code, the performance gain is amazing

http://code.google.com/p/compcache/

svn checkout http://compcache.googlecode.com/svn/trunk/ compcache-read-only

also set up the webcam and 3D HARDWARE ACCELERATION!!
http://data.plaintext.cc/nanobook/

and if you make a small startup script @  /etc/init.d/LockCPU.sh

and write inside that file:

#!/bin/sh
echo 500005 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

then save the file, exit and run this command as root:

update-rc.d LockCPU.sh defaults

and then recompile the linux kernel sources by downloading a copy from:
http://kernel.org/pub/linux/kernel/v2.6 … .4.tar.bz2

and then just run:
tar xjpvf linux-2.6.24.4.tar.bz2 -C /usr/src

then cd /usr/src/
mv linux-2.6.24.4 linux
cd linux
now just edit

arch/x86/kernel/cpu/cpufreq/e_powersaver.c
<           || c->x86 != 6 || c->x86_model != 10)
---
>           || c->x86 != 6 || ((c->x86_model != 10) && (c->x86_model != 13)))

then run:
cp /boot/config-`uname -r` ./.config

now make menuconfig, make sure the processor family is set to C7 and then go into power management options and make sure that in "CPU Frequency scaling" the option
VIA C7 Enhanced PowerSaver (EXPERIMENTAL) is set to M (This will allow for much greater battery time!)

now save the config file and exit,

now run:

make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

there will be two .deb files in /usr/src, INSTALL THEM AND ENJOY THE SYSTEM AS IT WAS MENT TO BE! (With full CPU FREQ SUPPORT @ 1.2ghz!!!)

The performance improvement is Astronomical!


Im working on getting the HD sound supported which it turns out was never enabled (It sounded pretty good anyway without HD Audio) and then Im trying to also get the new via CX700M2/VX700 beta driver to work fully with xorg, after that theres nothing left to fix except the webcam which is easy

   1.  apt-get install module-assistant
   2. module-assistant prepare
   3. module-assistant auto-install linux-uvc
   4. modprobe uvcvideo


enjoy! big_smile big_smile big_smile

Last edited by dimethoxyhead (2008-05-04 10:10:00 am)

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

and supposedly if you use "iwconfig wlan0 rate 5.5M auto" with the really poor rtl8187 driver, it is supposed to work? maybe ill try that one day

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

Did anyone succeed using this driver with WPA/WPA2-protected networks?

Re: **FIXED** Wireless range and stability.

dimethoxyhead wrote:

also if you want to really speed up the CB without upgrading the ram (its faster than upgrading i find it works even with 2gb of ram faster)
use compcache from google code, the performance gain is amazing

http://code.google.com/p/compcache/

enjoy! big_smile big_smile big_smile

Hi, nice help you give with all that instructions smile I will try one by one (little newbie), for now, I try compcache, download the .tar and "make" "run", the question is: Dont need to do that every reboot? doin once make the modifications forever ? (by the way, dont note to much improvement)
Thanks, I like to try the other instructions you give, but sounds complex for me for now.

Re: **FIXED** Wireless range and stability.

I was able to use these drivers but I have not used aircrack yet.

Re: **FIXED** Wireless range and stability.

jhonfy wrote:
dimethoxyhead wrote:

also if you want to really speed up the CB without upgrading the ram (its faster than upgrading i find it works even with 2gb of ram faster)
use compcache from google code, the performance gain is amazing

http://code.google.com/p/compcache/

enjoy! big_smile big_smile big_smile

Hi, nice help you give with all that instructions smile I will try one by one (little newbie), for now, I try compcache, download the .tar and "make" "run", the question is: Dont need to do that every reboot? doin once make the modifications forever ? (by the way, dont note to much improvement)
Thanks, I like to try the other instructions you give, but sounds complex for me for now.

EDIT : I follow the instructions for wireless increase of range, the wireless continue working but, I really dont notes big diference, (must use more time to really note some diference) until now still working, but without increasing range.

EDIT : I follow all the instructions, included recompilation of kernel and honestly dont notes improvement, the compilation takes at least more than 5 hours, and at the end, everything works in the same way, I really hope some way to improve my dear easynote sad

Last edited by jhonfy (2008-06-06 11:36:03 pm)

Re: **FIXED** Wireless range and stability.

dimethoxyhead!

For someone like me who is just now "opening the hood" on Linux (Ubuntu HH on Cloudbook), it's very encouraging for someone to be specific about what needs to be done.  Installing "compcache" was my first adventure using "make."  I'm a little surprised it worked!  But it did, and so now it's on to a new wireless driver and aircrack!  Thank you for your posts!

Re: **FIXED** Wireless range and stability.

you have to load ./use_compcache.sh every time manually, or just create a boot script like i did so it loads automaticly every time
(that drasticly speeds up boot time with the full 1.2GHZ support added together! performance gain is substantially insane )

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

Ok so when I restart my cloudbook the wireless stops showing up as if I never installed the drivers in the first place. If I reinstall them then on reboot they are gone again.

Re: **FIXED** Wireless range and stability.

Philip550c:  Under Ubuntu or gOS?

Re: **FIXED** Wireless range and stability.

Philip550c wrote:

Ok so when I restart my cloudbook the wireless stops showing up as if I never installed the drivers in the first place. If I reinstall them then on reboot they are gone again.

first sudo -s
you need to take wifid from gOS from the everex install (you can use the recovery cd .iso from thier site) then copy it into /usr/src/bin or /bin then write this boot script @ /etc/init.d/wifi_switch

#! /bin/sh
setkeycodes 6d 112
nohup /usr/bin/wifid &
exit 0

now run this command
update-rc.d wifi_switch defaults

now your wireless switch will function, if it isint lit up when you start, than you can simply press the wifi light its self and the wifi card can now receive power and function as a connection! enjoy.

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

If you really need more range with your wireless in your Cloud, just try some of these commands as root:

Usage Tips
Power Settings

The transmit power can be adjusted using:

iwconfig wlan0 txpower <value of 0 to 35>

With 0 being the lowest and 35 being the highest transmit power. The default is 5 which is normal. In order to use higher values, you must first “enable” the high power option. See the next section regarding how to do this. WARNING: Enabling high power can damage or destroy your wireless device. Use this feature at your own risk.

It is important to understand that the values are relative power values, not absolute. Meaning that they do not refer to dBm or mW values.

To view the current setting enter:

iwlist wlan0 txpower

The system responds with the current setting:

wlan0     unknown transmit-power information.

        Current Tx-Power=5 dBm        (3 mW)

You MUST ignore the dBm and mW labels. The value of “5” above is the actual value in the 0 to 35 range. Unfortunately due to driver constraints, the “dBm (3mW)” are also displayed but must be ignored.

See this posting for a more detailed description of the power settings.
"highpower" ipriv Setting

+++++++++ WARNING +++++++++
+++++++++ WARNING +++++++++
WARNING: Enabling high power can damage or destroy your wireless device. Use this feature at your own risk.
+++++++++ WARNING +++++++++
+++++++++ WARNING +++++++++

Starting with the rtl8187_2.6.24v3.patch, there is a iwpriv “highpower” setting you need to set to “1” in order to increase the txpower over the default value.

To enable high power:

iwpriv wlan0 highpower 1

To disable high power:

iwpriv wlan0 highpower 0









I would stay away from the highpower settings because they can damage the card but the iwlist wlan0 txpower 35 command should do something nice for the signal range!

Last edited by dimethoxyhead (2008-07-24 4:20:19 pm)

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

Nice tip.
It was my plan to run the antenna connection of the card to the side of the case.

I have a: CA-UFLRSBQC20 "extension cable" from Hyperlink (www.hyperlinktech.com) for
that purpose; but have not opened the Cloudbook to see if that is the matching cable.
I am fairly certain that it is.

Where to locate the hole for the SMA connector to mount is also an open question
until I can get my hands on the guts of the machine.

My thought was this would be easier than putting the antenna/Wifi card in the lid.
That web-site also lists a good selection of external antennas to connect to the new
external connector.

For instance:
http://www.hyperlinktech.com/item.aspx?id=2203
That one will get you connected for sure.  It might look strange sticking out of
your backpack - but what the h...

01/01/10 >> End of an era, no more Jabber at cb-chat.com

Re: **FIXED** Wireless range and stability.

Hey, having a slight problem following your instructions on patching the wireless driver (I'm running openSUSE 11).  When I try to "make", it returns:

rm -f ieee80211/Module.symvers 2>/dev/null
rm -f ieee80211/Modules.symvers 2>/dev/null
make -C ieee80211 all
make[1]: Entering directory `/home/areldyb/rtl8187_linux_26.1010.0622.2006/ieee80211'
make -C /lib/modules/2.6.25.11-0.1-default/build M=/home/areldyb/rtl8187_linux_26.1010.0622.2006/ieee80211 modules
make[2]: Entering directory `/usr/src/linux-2.6.25.11-0.1-obj/i386/default'
make[2]: *** No rule to make target `modules'.  Stop.
make[2]: Leaving directory `/usr/src/linux-2.6.25.11-0.1-obj/i386/default'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/areldyb/rtl8187_linux_26.1010.0622.2006/ieee80211'
make: *** [all] Error 2

The troubleshooting tips on the page you linked to don't mention this at all.  Any ideas on what's wrong, or how to correct it?

Re: **FIXED** Wireless range and stability.

Is the kernel tree prepared for module building?
Go into the top directory of the kernel source tree - enter:
make prepare

Then try your module building command.

01/01/10 >> End of an era, no more Jabber at cb-chat.com

Re: **FIXED** Wireless range and stability.

Figured it was something simple.  *chuckles*

Got it working now, thanks for the help.

Re: **FIXED** Wireless range and stability.

I tried using the default rtl8187.ko module in 2.6.26.1 (the very latest) and 2.6.26 , i have found that not only does the range totally suck with this default module but it also makes the computer sluggish as hell...

use r8187 and notice a huge diffrence in performance as well as internet speed and reaction speed!

note: using the correct wireless driver also allows the cloudbook to run cooler, on average about 117 degrees fahrenheit.

Last edited by dimethoxyhead (2008-08-05 3:42:55 am)

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

Ubuntu version: Ibex
Netbook: Sylvania G netbook

Running with Cpufreq at 400 Mhz does kill my keyboard, mousepad & powerbutton at random intervals; usb ports, network & wireless keep working.  Setting the lower value to 500 mhz seems to do the trick.  Can't figure out the reason or if it is software or hardware related.

However enabling Cpufreq and doing cpu intensive task (such as kernel compiles) gets the CPU warm although still inside specs, but random lock up start to occur at around 60 degrees C, so to keep and eye on the temp I use a Gnome applet and suspend for a few secs any intensive task.  The lock ups are total not even sysrq works.  It is worth mentioning that I live in Puerto Rico and typical ambient temperature is around 75-85 degrees, so that might be a factor.  Raising the netbook appears to improve airflow as the CPU fan is extruded from the bottom of the plastic case and reduces clearance under the machine.

Re: **FIXED** Wireless range and stability.

Ubuntu version: Ibex
Netbook: Sylvania G netbook

compcache is included in Ubuntu kernel 2.6.26, just make this changes:

1- in /etc/modules add:
compcache

2- in /etc/fstab add:
/dev/ramzswap0    none   swap   pri=100

do a  swapoff -a  and a swapon -a to enable the new swap partition
do swapon -s to verify the new partition is being used

Re: **FIXED** Wireless range and stability.

wow
https://wiki.ubuntu.com/Compcache
that makes me think about switching back to Ubuntu! lol
but really though, its better to just keep a simple subversion checkout of compcache
svn checkout http://compcache.googlecode.com/svn/trunk/ compcache-read-only 
this way you can keep the compcache modules up to date by "cd compcache-read-only ; svn up"
very rarely, a new update may not work with a brand new kernel, if this ever is the case, you can keep an extra version of compcache by going
svn checkout http://compcache.googlecode.com/svn/trunk/ compcache-svn
what i do is keep two directorys, i update one and if it works i update the other, and if the new update does not work than i simply go to the other dir and build the version before it and just "./use_compcache.sh"

seriously compcache is the greatest thing to use on the nanobook especially if your model only has 512mb of ddr2, the VIA V4 Bus is very efficient in its memory use and once compcache is loaded, i basicly dare you to use up all that memory -- including the compressed ram ofcourse!

Ubuntu Ibex is making another statement by adding compcache to its default developers kernel, and soon the released kernels when Ibex is out. Compcache is something i perfer over a RAM upgrade simply because less memory = more battery life, and Compcache makes things faster no matter how much ram you got, just compile anything without compcache then turn off all swap drives or swap files and then load compcache and compile the same again, the difference in speed is obscene! Compcache is AWESOME. I've been using it since version 0.1 and I'm the one who noticed that it dont work on ARM platforms, i posted an issue it never ever got fixed, But any x86 running Linux should absolutely run the latest compcache svn! I wonder what benchmarks would look like with compcache on and off on several diffrent kinds of machines, maybe mikez could tell us, he's got 14. big_smile

"More interestingly, compressed cache for faster systems with large amounts of memory is extremely significant, as it raises the upper memory bound for physical disk swapping proportionally to the (larger) amount of physical ram while simultaneously imposing less CPU load (and thus performance loss) for the compression operations due to the increased processing power. Microsoft will duplicate this when it goes mainstream in Ubuntu Desktop and Server as a default enabled option; I don't know if Apple will get there first or simply follow suit. --JohnMoser"

Last edited by dimethoxyhead (2008-08-26 12:52:04 pm)

Kernel    Linux 2.6.31.4-atomic-intel-kernel (i686) + Atom CPU Performance Patch
vermagic:       Linux 2.6.31.4-atomic-intel-kernel (i686) SMP mod_unload modversions ATOM
Acer Aspire One D150-1920 GiEL 2GB DDR2 667MHZ 160gb hd, 2 threads wimax internal

Re: **FIXED** Wireless range and stability.

dimethoxyhead wrote:
Philip550c wrote:

Ok so when I restart my cloudbook the wireless stops showing up as if I never installed the drivers in the first place. If I reinstall them then on reboot they are gone again.

first sudo -s
you need to take wifid from gOS from the everex install (you can use the recovery cd .iso from thier site) then copy it into /usr/src/bin or /bin then write this boot script @ /etc/init.d/wifi_switch

#! /bin/sh
setkeycodes 6d 112
nohup /usr/bin/wifid &
exit 0

now run this command
update-rc.d wifi_switch defaults

now your wireless switch will function, if it isint lit up when you start, than you can simply press the wifi light its self and the wifi card can now receive power and function as a connection! enjoy.

sorry I didn't respond, got busy at school. I will try this soon. Thanks for the response.

Re: **FIXED** Wireless range and stability.

Dimethocyhead,

Thanks for your advice!  I got a everex cloudbook, and I love the little thing.  But as a linux newbie, it's a struggle sometimes.  I've learned a lot.  I haven't been able to get a stable internet connection for weeks until I installed the r8187 diver as you instructed.

I am using Ubuntu 8.4.10.  In case any other ubuntu users are reading this, I had to use the sudo command to get it to work, and I could not edit using the echo command.  I had to open gedit in a terminal like this:
sudo gedit /etc/modules
    and add the line manually;
#r8187 driver from aircracker per dimethoxyhead. www.aircrack-ng.org/doku.php?id=r8187
r8187

Would it be worth switching to Mandriva considering I'm new to linux and ubuntu is easier, or is it?

Do you have more information on how you installed the SSD dive?  I'm assuming I would have have to rebuild my cloudbook and "start from scratch." You said you use this driver with NFS, do you have two drives on you cloudbook? And just how many file systems do you have on your cloudbook?

Obviously, you have tons more knowledge than I, and you have been a great help already.  I plan to scower your web site for more info. 

What is the aircrack-ng suite, and should a newbie even try to use it?