Realtek WLAN usb 8176 not in the iwconfig list

Hello to everybody!

I am trying to fix my wireless usb addapter for two days now with no success. Here are my current machine info:

//SystemInfo
openSUSE 11.4 (i586)
KDE 4.6.0 release 6
2.6.37.6-24-default


# uname -a
Linux <host> 2.6.37.6-24-default #1 SMP 2012-10-18 22:36:08 +0200 i686 i686 i386 GNU/Linux


#lsusb
...
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
...


#dmesg
...
    1.748045] usb 1-6: new high speed USB device using ehci_hcd and address 4
    1.881620] usb 1-6: New USB device found, idVendor=0bda, idProduct=8176
    1.881626] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    1.881631] usb 1-6: Product: 802.11n WLAN Adapter
    1.881634] usb 1-6: Manufacturer: Realtek
    1.881637] usb 1-6: SerialNumber: 00e04c000001
...
    6.328294] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
    6.328315] r8169 0000:01:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
    6.328356] r8169 0000:01:00.0: setting latency timer to 64
    6.328408] r8169 0000:01:00.0: irq 41 for MSI/MSI-X
    6.328818] r8169 0000:01:00.0: eth0: RTL8102e at 0xfabea000, 00:26:18:cb:d3:ec, XID 04c00000 IRQ 41
    6.708203] HDA Intel 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    6.708253] HDA Intel 0000:00:1b.0: irq 42 for MSI/MSI-X
    6.708280] HDA Intel 0000:00:1b.0: setting latency timer to 64
    6.868095] ALSA patch_realtek.c:1522: SKU: Nid=0x1d sku_cfg=0x4005c603
...
    8.132875] usbcore: registered new interface driver r871x_usb_drv
    8.158503] cfg80211: World regulatory domain updated:
    8.158506]     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    8.158508]     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    8.158510]     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    8.158512]     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    8.158514]     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    8.158516]     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    8.185683] Adding 2031612k swap on /dev/mapper/system-swap.  Priority:-1 extents:1 across:2031612k
...
   23.156974] r8169 0000:01:00.0: eth0: link up
   23.156981] r8169 0000:01:00.0: eth0: link up
   23.309698] NET: Registered protocol family 17
...


#lsmod
8712u                 347610  0 
cfg80211              154761  1 8712u
rfkill                 17734  1 cfg80211
...
r8169                  38153  0
...


# ls -al /lib/firmware/RTL8192E 
total 68
drwxr-xr-x  2 root root  4096 Mar  2  2011 .
drwxr-xr-x 61 root root 12288 Nov  6 07:19 ..
-rw-r--r--  1 root root   344 Feb 24  2011 boot.img
-rw-r--r--  1 root root   848 Feb 24  2011 data.img
-rw-r--r--  1 root root 42944 Feb 24  2011 main.img


# ls -al /lib/modules/2.6.37.6-24-default/kernel/drivers/net/wireless
total 8508
drwxr-xr-x 19 root root    4096 Mar 16 23:57 .
drwxr-xr-x 46 root root    4096 Nov  6 07:18 ..
-rw-r--r--  1 root root 8063494 Mar 16 23:57 8712u.ko
-rw-r--r--  1 root root   37820 Oct 29 21:08 adm8211.ko
-rw-r--r--  1 root root  103672 Oct 29 21:08 airo.ko
-rw-r--r--  1 root root    7944 Oct 29 21:08 airo_cs.ko
-rw-r--r--  1 root root   57176 Oct 29 21:08 at76c50x-usb.ko
drwxr-xr-x  6 root root    4096 Nov  6 07:18 ath
-rw-r--r--  1 root root   49028 Oct 29 21:08 atmel.ko
-rw-r--r--  1 root root   11400 Oct 29 21:08 atmel_cs.ko
-rw-r--r--  1 root root    4556 Oct 29 21:08 atmel_pci.ko
drwxr-xr-x  2 root root    4096 Nov  6 07:18 b43
drwxr-xr-x  2 root root    4096 Nov  6 07:18 b43legacy
drwxr-xr-x  2 root root    4096 Nov  6 07:18 hostap
drwxr-xr-x  2 root root    4096 Nov  6 07:18 ipw2x00
drwxr-xr-x  2 root root    4096 Nov  6 07:18 iwlwifi
drwxr-xr-x  2 root root    4096 Nov  6 07:18 iwmc3200wifi
drwxr-xr-x  2 root root    4096 Nov  6 07:18 libertas
drwxr-xr-x  2 root root    4096 Nov  6 07:18 libertas_tf
-rw-r--r--  1 root root   30584 Oct 29 21:08 mac80211_hwsim.ko
-rw-r--r--  1 root root   54732 Oct 29 21:08 mwl8k.ko
drwxr-xr-x  2 root root    4096 Nov  6 07:18 orinoco
drwxr-xr-x  2 root root    4096 Nov  6 07:18 p54
drwxr-xr-x  2 root root    4096 Nov  6 07:18 prism54
-rw-r--r--  1 root root   65268 Oct 29 21:08 ray_cs.ko
-rw-r--r--  1 root root   63160 Oct 29 21:08 rndis_wlan.ko
drwxr-xr-x  2 root root    4096 Nov  6 07:18 rt2x00
drwxr-xr-x  2 root root    4096 Nov  6 07:18 rtl818x
drwxr-xr-x  2 root root    4096 Nov  6 07:18  wl1251
drwxr-xr-x  2 root root    4096 Nov  6 07:18 wl12xx
-rw-r--r--  1 root root   31640 Oct 29 21:08 wl3501_cs.ko
-rw-r--r--  1 root root   32200 Oct 29 21:08 zd1201.ko
drwxr-xr-x  2 root root    4096 Nov  6 07:18 zd1211rw




# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:26:18:CB:D3:EC  
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::226:18ff:fecb:d3ec/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3774 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3853 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1721895 (1.6 Mb)  TX bytes:755748 (738.0 Kb)
          Interrupt:42 Base address:0xa000 


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:172 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:13871 (13.5 Kb)  TX bytes:13871 (13.5 Kb)




# iwconfig
lo        no wireless extensions.


eth0      no wireless extensions.

On the above code I have included in the #dmesg and #lsmod commands the o/p for the ethernet card as well just for reference (as I have read in some posts that usb wireless addapters do conflict with the pci ethernet ones)

The steps I took to install the drivers are:

  1. Insert the usb WLAN in the usb slot … (no reaction on the kde desktop)
  2. Start the NetworkManager to see any changes (nothing happend)
  3. Download the drivers from Realtek (specifically rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405 )
  4. Used the install.sh script to install the drivers (note that the usb WLAN adapter was still in the usb slot of the pc)
  5. Reboot the machine
  6. Rechecked the NetworkManager and still no WLAN addapter in the list of devices
  7. Checked the system via Terminal commands and as one can see from above code there is no wireless device in #ifconfig and #iwconfig list

Could someone please help?

Thank you.

On 03/17/2013 04:46 AM, markman8 wrote:
>
> Hello to everybody!
>
> I am trying to fix my wireless usb addapter for two days now with no
> success. Here are my current machine info:
>
> //SystemInfo
> openSUSE 11.4 (i586)
> KDE 4.6.0 release 6
> 2.6.37.6-24-default
>
>
>
>
> Code:
> --------------------
>
> # uname -a
> Linux <host> 2.6.37.6-24-default #1 SMP 2012-10-18 22:36:08 +0200 i686 i686 i386 GNU/Linux
>
>
> #lsusb
> …
> Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
> …
–snip–

>
> The steps I took to install the drivers are:
>
> - Insert the usb WLAN in the usb slot … (no reaction on the kde
> desktop)

Not surprising - the driver for your card was not installed in the kernel until
2.6.38.

> - Start the NetworkManager to see any changes (nothing happend)
> - Download the drivers from Realtek (specifically
> rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20120405 )

Wrong driver. The rtl8712 is for the RTL8188SU - you have an RTL8188CU. Those
are totally different beasts.

> - Used the install.sh script to install the drivers (note that the
> usb WLAN adapter was still in the usb slot of the pc)
> - Reboot the machine
> - Rechecked the NetworkManager and still no WLAN addapter in the list
> of devices
> - Checked the system via Terminal commands and as one can see from
> above code there is no wireless device in #ifconfig and #iwconfig list

You need the driver named rtl8192cu. There was a major bug in that driver that
was fixed last week, and you are fortunate that the fix is already in
compat-drivers. Unfortunately, it is not in any pre-built binary package, and
you will need to download source and build the drivers. The first step is to get
the source from


https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/15/compat-drivers-2013-03-15.tar.bz2

Unpack that using


tar jxvf compat-drivers-2013-03-15.tar.bz2

The wiki at https://backports.wiki.kernel.org/ has instructions for configuring
and building the drivers. Fortunately, you have installed the kernel headers for
your kernel.

BTW, I’m sure you are aware that openSUSE 11.4 has not been supported and
updated for some time. Not only are later drivers missing in your kernel, but
security updates are no longer being supplied. Be very careful in how you expose
it to the Internet.

Thanks for the reply lwfinger. I am aware that 11.4 is old, yet did not know that it went unsupported. I will look forward on updating to the latest opensuse distribution.

Would that also fix my problem on drivers or do I still have to do the steps you mentioned about compact-drivers?

Just for reference: You was absolutely write! It was just the wrong driver. I’ve downloaded the RTL8188C_8192C_USB_linux_v3.4.4_4749.20121105 and it worked just right away! Used the instal.sh script and the NetworkManager showd the WLAN imediately withough bringing up the device by modprobe or reboot.

Thank you very much Iwfinger!