Author
|
Topic: TUTORIAL: Installing driver RTL8187, r8187, rt2800usb on Ubuntu Jaunty and Lucid (Read 96193 times)
|
joker
Newbie

Posts: 16
|
Jano can you give a list of patches you used?
|
|
|
|
|
Logged
|
|
|
|
zlate
Newbie

Posts: 10
|
My previous usb-bt4 crashed so i had to reinstall him, that why i needed Jano's http://jano.homelinux.net/wardriving/driver-patch/compat-wireless-aircrack-lucid-patched.tar.bz2 But but because his server is down for some day i tryed the regular http://download.aircrack-ng.org/drivers/compat-wireless-aircrack-alfa036h-050nh.tar.bz2I have compiled this driver package before on BT4-final so i dont know what have happend this time. I tryed some newer compat-wireless packages aswell before i tryed this aircrack version. With that package i got some strange errors.... @bt:~# modprobe rt2800usb WARNING: Error inserting cfg80211 (/lib/modules/2.6.30.9/updates/net/wireless/cfg80211.ko): Invalid module format WARNING: Error inserting mac80211 (/lib/modules/2.6.30.9/updates/net/mac80211/mac80211.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting rt2x00lib (/lib/modules/2.6.30.9/updates/drivers/net/wireless/rt2x00/rt2x00lib.ko): Unknown symbol in module, or unknown parameter (see dmesg) WARNING: Error inserting rt2x00usb (/lib/modules/2.6.30.9/updates/drivers/net/wireless/rt2x00/rt2x00usb.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting rt2800usb (/lib/modules/2.6.30.9/updates/drivers/net/wireless/rt2x00/rt2800usb.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Dmesg: cfg80211: exports duplicate symbol __dev_addr_unsync (owned by compat) mac80211: Unknown symbol cfg80211_ibss_wext_giwessid mac80211: Unknown symbol cfg80211_send_assoc_timeout ~~
rt2x00lib: Unknown symbol ieee80211_register_hw rt2x00lib: Unknown symbol ieee80211_get_hdrlen_from_skb rt2x00lib: Unknown symbol ieee80211_wake_queue ~~
rt2x00usb: Unknown symbol rt2x00lib_suspend rt2x00usb: Unknown symbol rt2x00lib_probe_dev rt2x00usb: Unknown symbol ieee80211_free_hw rt2x00usb: Unknown symbol ieee80211_alloc_hw ~~
Here are logs from Make and Make install http://pastebin.com/qgYNfaYNhttp://pastebin.com/X94iLYFc/zlate
|
|
|
|
|
Logged
|
|
|
|
zlate
Newbie

Posts: 10
|
Now when jano's server was up again i downloaded the patched-jaunty driver that worked for my before but i still get these errors!?!?
I dont know what do do...
//zlate
|
|
|
|
|
Logged
|
|
|
|
|
|
|
Mister_X
|
zlate, I tried to reproduce your bug. I downloaded the file you mentionned and did just make and make install then modprobe but it didn't give me any error at modprobe (thus when compiling and installing in my case).
|
|
|
|
|
Logged
|
|
|
|
zlate
Newbie

Posts: 10
|
zlate, I tried to reproduce your bug. I downloaded the file you mentionned and did just make and make install then modprobe but it didn't give me any error at modprobe (thus when compiling and installing in my case).
Thanks for your time, i reinstalled the OS and reinstalled the driver and now its working. Weird i had to do a old windows trick(reinstall OS) to fix the issue. The only thing i can remember that differ, when it did not work i did this line and tryed newest compat-wireless first. After that i tryed to get old ones working. apt-get install linux-headers-$(uname -r) build-essential make patch gettext gcc python-psyco autoconf subversion tcl8.5 openssl libssl-dev libnl1 libnl-dev cracklib-runtime python-scapy macchanger-gtk When i was reinstalling i read something about different gcc versions can break things, if the kernel was compiled with one gcc and drivers with a newer one. Because of that "update your software" line in the beginning of tutorial. So now i skipped it and got it working... //zlate
|
|
|
|
|
Logged
|
|
|
|
Lifestream
Newbie

Posts: 1
|
The server is down for several days  , there is any back-up of compat-wireless-aircrack-lucid-patched.tar.bz2 ?
|
|
|
|
|
Logged
|
|
|
|
adgo
Newbie

Posts: 2
|
Hi
I'm using Ubuntu lucid kernel 2.6.32-24-generic, I followed every step from the tutorial trying to install the RTL8187/Stacks-mac80211 drivers with no luck. Everything seems ok, my alfa awus036h detects networks, network manager establishes connection but I can't surf the internet. I've searched this forum and google but can not find any answer. I don't need to use this for aircrack, only to surf the internet. I'd be grateful for any help.
|
|
|
|
|
Logged
|
|
|
|
|
Jano
|
Hi adgo, - With Ubuntu Lucid default rtl8187/mac-80211 driver and latest Kernel updates (2.6.32-24.39 Wed Jul 28) i do not have any problem for surfing Internet and Aircrack-ng Suite. (without installing Compat-Wireless or Backports-modules) jano:~$ uname -a Linux 2.6.32-24-generic #39-Ubuntu SMP Wed Jul 28 06:07:29 UTC 2010 i686 GNU/Linux jano:~$ modinfo rtl8187 filename: /lib/modules/2.6.32-24-generic/kernel/drivers/net/wireless/rtl818x/rtl8187.ko license: GPL description: RTL8187/RTL8187B USB wireless driver author: Larry Finger <Larry.Finger@lwfinger.net> author: Hin-Tak Leung <htl10@users.sourceforge.net> author: Herton Ronaldo Krzesinski <herton@mandriva.com.br> author: Andrea Merello <andreamrl@tiscali.it> author: Michael Wu <flamingice@sourmilk.net> srcversion: 47F87A7CDF8BBC9C79E7F37 depends: mac80211,eeprom_93cx6,led-class,cfg80211 vermagic: 2.6.32-24-generic SMP mod_unload modversions 586 - Then I suggest you verify the correct configuration of your router (DNS, Gateway etc.) and if not solve, search/ask in the Ubuntu International Forum: http://ubuntuforums.org/index.phpNOTE: This is the Aircrack-ng test with this driver: jano:~$ sudo aireplay-ng -R -9 -i wlan0 mon0 For information, no action required: Using gettimeofday() instead of /dev/rtc
12:25:28 Trying broadcast probe requests... 12:25:28 Injection is working! 12:25:30 Found 8 APs
12:25:30 Trying directed probe requests... 12:25:30 00:1D:xx:xx:xx:xx - channel: 6 - 'A:xx:xx:xx:xx' 12:25:33 Ping (min/avg/max): 1.070ms/22.260ms/56.897ms Power: -67.13 12:25:33 15/30: 50%
12:25:33 00:17:xx:xx:xx:xx1 - channel: 6 - 'A:xx:xx:xx:xx' 12:25:34 Ping (min/avg/max): 1.126ms/3.415ms/5.915ms Power: -70.67 12:25:34 30/30: 100%
12:25:34 00:03:xx:xx:xx:xx - channel: 11 - 'F:xx:xx:xx:xx 12:25:37 Ping (min/avg/max): 1.368ms/5.589ms/14.225ms Power: -75.36 12:25:37 11/30: 36%
12:25:38 00:03:xx:xx:xx:xx- channel: 11 - ''xx:xx:xx:xx 12:25:40 Ping (min/avg/max): 1.752ms/4.880ms/8.426ms Power: -75.12 12:25:40 16/30: 53%
12:25:40 00:03:xx:xx:xx:xx - channel: 11 - 'xx:xx:xx:xx' 12:25:45 Ping (min/avg/max): 1.241ms/4.643ms/7.352ms Power: -75.67 12:25:45 6/30: 20%
12:25:45 00:03:xx:xx:xx:xx - channel: 11 - '' 12:25:49 Ping (min/avg/max): 1.701ms/4.950ms/10.425ms Power: -75.15 12:25:49 13/30: 43%
12:25:49 00:04:xx:xx:xx:xx - channel: 1 - 'xxxxxxxxxxxx' 12:25:49 Ping (min/avg/max): 1.403ms/3.304ms/9.314ms Power: -70.50 12:25:49 30/30: 100%
12:25:49 00:24:xx:xx:xx:xx - channel: 1 - '' 12:25:50 Ping (min/avg/max): 1.113ms/6.036ms/12.603ms Power: -45.00 12:25:50 28/30: 93%
12:25:50 Trying card-to-card injection... 12:25:50 Attack -0: OK 12:25:50 Attack -1 (open): OK 12:25:50 Attack -1 (psk): OK 12:25:50 Attack -2/-3/-4/-6: OK 12:25:50 Attack -5/-7: OK Bye Jano
|
|
|
|
« Last Edit: August 11, 2010, 01:45:15 pm by Jano »
|
Logged
|
Personal-Server (Online): http://jano.homelinux.netNotebook: ACER ASPIRE 5601 AWLMi - HDD Maxtor 1TB - Wireless: ALFA AWUS036H, AWUS050NH - Antennas: HyperLink 24-dBi Grid, Panel 14-dBi
|
|
|
adgo
Newbie

Posts: 2
|
Thanks for the fast reply Jano. I'll keep on looking.
|
|
|
|
|
Logged
|
|
|
|
|
Jano
|
|
|
|
|
|
Logged
|
Personal-Server (Online): http://jano.homelinux.netNotebook: ACER ASPIRE 5601 AWLMi - HDD Maxtor 1TB - Wireless: ALFA AWUS036H, AWUS050NH - Antennas: HyperLink 24-dBi Grid, Panel 14-dBi
|
|
|
Sentello
Newbie

Posts: 2
I hate Windows Vista!
|
Hi friends, I have Alfa AWUS051NH and LinuxMint9 (Ubuntu 10.04). I got the latest compact wireless drivers from Jano (driver-patch/compat-wireless-aircrack-lucid-patched.tar.bz2). But I have serious problem, my AWUS051NH don't see any 5Ghz wifi! With driver rt2800usb working everything: iwlist wlan0 chanel wlan1 27 channels in total; available frequencies : Channel 01 : 2.412 GHz Channel 02 : 2.417 GHz Channel 03 : 2.422 GHz Channel 04 : 2.427 GHz Channel 05 : 2.432 GHz Channel 06 : 2.437 GHz Channel 07 : 2.442 GHz Channel 08 : 2.447 GHz Channel 09 : 2.452 GHz Channel 10 : 2.457 GHz Channel 11 : 2.462 GHz Channel 12 : 2.467 GHz Channel 13 : 2.472 GHz Channel 14 : 2.484 GHz Channel 36 : 5.18 GHz Channel 38 : 5.19 GHz Channel 40 : 5.2 GHz Channel 44 : 5.22 GHz Channel 46 : 5.23 GHz Channel 48 : 5.24 GHz Channel 149 : 5.745 GHz Channel 151 : 5.755 GHz Channel 153 : 5.765 GHz Channel 157 : 5.785 GHz Channel 159 : 5.795 GHz Channel 161 : 5.805 GHz Channel 165 : 5.825 GHz Current Frequency:2.457 GHz (Channel 10) But with rt2780sta working only 2.4 Ghz (11 channels!!!) It's very strange. switch from rt2800usb to rt2870sta: sudo ifconfig wlan0 down sudo modprobe rt2800usb sudo rmmod rt2870sta
iwlist wlan0 channel wlan0 11 channels in total; available frequencies : Channel 01 : 2.412 GHz Channel 02 : 2.417 GHz Channel 03 : 2.422 GHz Channel 04 : 2.427 GHz Channel 05 : 2.432 GHz Channel 06 : 2.437 GHz Channel 07 : 2.442 GHz Channel 08 : 2.447 GHz Channel 09 : 2.452 GHz Channel 10 : 2.457 GHz Channel 11 : 2.462 GHz Current Frequency:2.457 GHz (Channel 10) I need 5Ghz frequency for surfing... Can you help me?
|
|
|
|
|
Logged
|
NEVER and Never and never use a Windows Vista for VPN connection. It's the MOST unsecured and confused Operating System!
|
|
|
kiltym
Newbie

Posts: 1
|
Hi,
I am new here, and have been looking for some information all day. I was trying to send a PM, but doesn't look like I am able to.
I had a couple of questions, all related to the AWUS036H.
The driver that Jano has released (Wow, amazing job on this thread too), is this the same driver that is in BT4R1, or are they using something else?
Also, have you compared the performance of the AWUS036H on Windows and Linux. With drivers I use now on Linux, the performance on Linux is way below that on Windows.
I am simply wanting to connect to an access point and get online. In multiple locations, under Linux, I cant connect, or the connections drops constantly, while under Windows, the connection is very usable. For a long-range card, its not very long range under Linux.
Just curious if this is just life, or if the new drivers that are mentioned on this thread are comparable to how well the Windows drivers work?
Thanks in advance for any help!
Mark
|
|
|
|
|
Logged
|
|
|
|
|
Jano
|
The driver that Jano has released (Wow, amazing job on this thread too), is this the same driver that is in BT4R1, or are they using something else?
- The Kernel version of BT4 r1 is different. - I chose two version of the Compact-Wireless (those that worked well) compatible with Jaunty and Lucid and then I applied the patches. I am simply wanting to connect to an access point and get online. In multiple locations, under Linux, I cant connect, or the connections drops constantly, while under Windows, the connection is very usable. For a long-range card, its not very long range under Linux.
- For this purpose, Winzozz drivers are more suitable and have a nice "GUI" with more settings. Bye Jano
|
|
|
|
|
Logged
|
Personal-Server (Online): http://jano.homelinux.netNotebook: ACER ASPIRE 5601 AWLMi - HDD Maxtor 1TB - Wireless: ALFA AWUS036H, AWUS050NH - Antennas: HyperLink 24-dBi Grid, Panel 14-dBi
|
|
|
|
 |