I'm going to start off by saying that I am no professional I'm just a young man whom is forcing himself to use BT5r3 and having some issues and would really appreciate some help on this as I have spent many many hours trying to fix it and have had no avail and hope that I will find someone here who can see I'm making an effort to learn on my own and just need a help.

I want to try get my USB wireless card to work.
BT5R3 (GNOME)32-bit installed on a laptop.

Wifi-card ASUS WL-167g v3
Interface: USB


Chip 1: Realtek RTL8188SU

Linux driver website.

Linux driver

ifconfig (from my little understanding not needed but okay)
root@bt:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:15:c5:b2:47:32  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:  Mask:
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:20002 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20002 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:6425603 (6.4 MB)  TX bytes:6425603 (6.4 MB)
root@bt:~# iwconfig
lo        no wireless extensions.

wlan1     unassociated  Nickname:"rtl_wifi"
          Mode:Managed  Access Point: Not-Associated   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

wlan0     IEEE 802.11abg  ESSID:off/any  
          Mode:Managed  Frequency:2.427 GHz  Access Point: Not-Associated   
          Tx-Power=13 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
eth0      no wireless extensions.
root@bt:~# lsusb
Bus 005 Device 003: ID 1532:0109 Razer USA, Ltd Lycosa Keyboard
Bus 005 Device 002: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID e0ff:0002  
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 0b05:1791 ASUSTek Computer, Inc. WL-167G v3 802.11n Adapter [Realtek RTL8188SU]
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@bt:~# airmon-ng

Interface	Chipset		Driver

wlan0		Intel 3945ABG	iwl3945 - [phy0]
dmesg (took some of the info that i thought was important)(excuse my ignorance if it isn't valid or vital information is missing)
[ 1137.908652] generic-usb 0003:E0FF:0002.0007: input,hidraw2: USB HID v1.00 Mouse [A..... G3] on usb-0000:00:1d.2-1/input0
[ 1137.914443] input: A..... G3 as /devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.1/input/input15
[ 1137.914680] generic-usb 0003:E0FF:0002.0008: input,hiddev0,hidraw3: USB HID v1.00 Keyboard [A..... G3] on usb-0000:00:1d.2-1/input1
[ 1143.568117] usb 1-3: new high-speed USB device number 7 using ehci_hcd
[ 1143.811677] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
[ 1143.813811] r8712u: DriverVersion: v7_0.20100831
[ 1143.813831] r8712u: register rtl8712_netdev_ops to netdev_ops
[ 1143.813834] r8712u: USB_SPEED_HIGH with 4 endpoints
[ 1143.814403] r8712u: Boot from EFUSE: Autoload OK
[ 1144.485037] r8712u: CustomerID = 0x0010
[ 1144.485044] r8712u: MAC Address from efuse = bc:ae:c5:9b:12:f0
[ 1144.485050] r8712u: Loading firmware from "rtlwifi/rtl8712u.bin"
[ 1144.485976] usbcore: registered new interface driver r8712u
[ 1580.718460] wlan0: deauthenticating from a0:21:b7:85:60:ca by local choice (reason=3)

It might also be worth noting that when i enter Wicd and set it to use wlan1 instead of wlan0 when it tries to connect to my wifi it says bad paasword and wont connect.

However i just swap it back to wlan0 and it works.

I tried this but kept getting confused and lost around step 4
Who to get and install driver to WL-167g V3:


HOWTO : RealTek 8192SU USB dongle (RTL8192SU) on Ubuntu 10.04
D-Link DWA-131 Nano USB Wireless N adapter (USB dongle) is using RealTek 8192SU chip. However, it does not work on Ubuntu 10.04. This chip does work on Kernel 2.6.33. That is, this chip may work on Ubuntu 10.10 or later.

The current version of RealTek 8192SU Linux driver is 0006 which is for Kernel 2.6.18 to 2.6.31 and dated 2010-03-25. However, Ubuntu 10.04 is using Kernel 2.6.32. You may encounter compile errors under Ubuntu 10.04. Don't panic, I have the solution.

Step 1 :

RealTek 8192SU driver from official site

or download it from here.

wget http://samiux.volospin.com/rtl8192SU_usb_linux_v2.6.0006.20100226.zip


Step 2 :

sudo apt-get install unzip

unzip rtl8192SU_usb_linux_v2.6.0006.20100226.zip

cd rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100226/driver

tar -xvzf rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100226.tar.gz

cd rtl8712_8188_8191_8192SU_usb_linux_v2.6.0006.20100226

Step 3 :

cd include

nano osdep_service.h

add "#include <linux/sched.h>" to the file "osdep_service.h"

the result looks like this :

#ifndef __OSDEP_SERVICE_H_
#define __OSDEP_SERVICE_H_

#include <drv_conf.h>
#include <basic_types.h>
#include <linux/sched.h>
//#include <rtl871x_byteorder.h>

Step 4 :

cd ..

nano Makefile

add "nullstring :=" under "export TOPDIR := $(PWD)"

locate "ifeq ($(CONFIG_BUILT_IN), y)" and make changes to this ifeq block. The result looks like this :

ifeq ($(CONFIG_BUILT_IN), y)
include $(src)/config
ifeq ($(TOPDIR), $(nullstring))
include config
include $(TOPDIR)/config

The result of the first 19 lines is as the following :

EXTRA_CFLAGS += -O1 -Wno-unused-variable -Wno-unused-value -Wno-unused-label -W$
EXTRA_CFLAGS += -I$(src)/include -Wno-unused -Wno-unused-function


export TOPDIR := $(PWD)
nullstring :=

ifeq ($(CONFIG_BUILT_IN), y)
include $(src)/config
ifeq ($(TOPDIR), $(nullstring))
include config
include $(TOPDIR)/config

ifeq ($(CONFIG_RTL8711), y)

Step 5 :

make clean
sudo make install

Step 6 :
sudo modprobe 8712u
echo "8712u" | sudo tee -a /etc/modules

The dongle will work now. Be keep in mind that when the Kernel is updated, you may require to re-compile the driver at Step 5.

That's all! See you.
There were other cases of this when i searched around on a few forums but the thread were just ignored and old.

I know ignorance here is closely linked with stupidity but I'm trying to learn and to be simple its not easy but I'm just going to keep going until i learn it just like i did with anything else.

Looking forward to any advice.

Thanks for taking the time to help a young and linux addict in the making.