WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: no wireless extensions using usb-wlan adapter with chipset rtl8192cu  (Read 13765 times)

Offline che

  • Newbie
  • *
  • Posts: 16
I am missing the wlan0 interface for the wireless network.
I have an usb-adapter with rtl8192cu chipset. The led remains unlit.
First i tried the wifi-application but it shut down in silent.
Then I tried to set up wlan per wpa-supplicant.
The wpa_gui gives no adapter to choose and no networks.

installed packages are: wireless tools / wireless-3.0.21-tinycore / wpa_supplicant / wpa_gui

                             the driver is loaded at boot via bootlocal.sh: modprobe rtl8192.ko
dmesg gives:          usbcore registered new interface driver rtl8192cu
lsusb gives:           Bus 002 Device 002: ID obda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
ifconfig gives only: loopback and eth0
iwconfig gives:       lo /dummy0 /eth0 - no wireless extensions

The adapter is functionnaly ok - it works with puppy-linux.
Any suggestions would be much appreciated - although my linux-knowledge is very limited.
I will read messages tomorrow. Thanks!

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #1 on: June 14, 2013, 05:20:19 AM »
Hi

Well you need the rtl8192cu driver
 wireless-3.0.21-tinycore.tcz (rtl8192cu)
   Which Supports USB devices based on the RTL8188CUS and RTL8192CU chips.

Also needed is firmware
firmware.tcz  (rtlwifi/rtl8192cufw.bin)

install the extensions through apps and install wifi.tcz  while you are the there, no need to start via modprobe

confirm the driver and firmware loading in dmesg 

Offline che

  • Newbie
  • *
  • Posts: 16
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #2 on: June 15, 2013, 01:49:42 AM »
Hi, thanks for your advice
doing as you told, dmesg shows no results / usb adapter is not detected and driver not loaded?
What now? Any idea?

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #3 on: June 15, 2013, 03:01:22 AM »
sure, but first I think we need more information. please create and attach these files so that folks can determine your hardware

from the terminal enter

lspci -nn > lspci.txt
lsusb > lsusb.txt
dmesg > dmesg.txt


based on the comment 
Quote
dmesg shows no results / usb adapter is not detected
sometimes the information is missed but if this is true then there is a hardware issue.  perhaps try plugging the adapter into a different USB port (ie a USB 2.0 or earlier port)




Offline che

  • Newbie
  • *
  • Posts: 16
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #4 on: June 15, 2013, 06:40:20 AM »
I'm using an IBM T23, USB has to be therefore s.th. old 1.1 version. There are two usb-slots; attached to the second usb is the mouse.
And here come the attached files...
Thank you for the commands suggested - they were very helpful and avoided messing around with screenshots and image - fiddling, which was what I thought of doing.

Offline che

  • Newbie
  • *
  • Posts: 16
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #5 on: June 15, 2013, 06:44:39 AM »
as I see there' only the last file attached
I'll give it a second try.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #6 on: June 15, 2013, 09:02:03 AM »
Can you reliably reproduce getting dmesg output for the card when not loading a driver onboot, but no output when you do load a driver onboot?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline che

  • Newbie
  • *
  • Posts: 16
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #7 on: June 15, 2013, 02:14:36 PM »
Hi,
here are the two bootscripts:
one is done while all wireless packages were removed from "onboot-menu"
and the other one is done with "modprobe rtl9192cu.ko" in /opt/bootlocal.sh

b.t.w. I remember using puppy 5.2.5 there are two network-setup programs to choose, of which one is not able to connect to wireless networks - but the other one does the job. The driver is to choose from menu (it is downloadable as an extra-pet).

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #8 on: June 15, 2013, 04:28:35 PM »
Ok, driver gets loaded onboot (last 2 lines).

Best to boot with code "syslog", then you can leave a terminal open with
Code: [Select]
tail -f /var/log/messagesand see what output you get - if any - when plugging/unplugging device.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline che

  • Newbie
  • *
  • Posts: 16
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #9 on: June 16, 2013, 05:53:21 AM »
would you be so kind to explain more specificially how to boot with the 'syslog' boot option.
The bootprompt [F4] option seems not to work while
I'm booting tcl from grub4dos - is there a possibility to bind in this bootparameter e.g. after the
 kernel commandline? I had one try with {cron|syslog} but no results.
yet so far there there is no folder /syslog/messages.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #10 on: June 16, 2013, 08:05:03 AM »
Hi che
Try appending  syslog  to the  kernel  line.
Quote
yet so far there there is no folder /syslog/messages.
That would be  /var/log/messages

Offline che

  • Newbie
  • *
  • Posts: 16
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #11 on: June 16, 2013, 12:39:04 PM »
so I did reboot with:

 kernel /tce/boot/vmlinuz tinycore {cron|syslog}

anyhow with plugged in / plugged out usb-adapter
there is no file added to /var/log;
the result stays the same terminal-errormessage:
tail -f /var/log: tail: read error: Is a directory

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #12 on: June 16, 2013, 01:58:52 PM »
Hi che
Try it like this:
Code: [Select]
kernel /tce/boot/vmlinuz syslogthen this should work:
Code: [Select]
tail -f /var/log/messages

Offline che

  • Newbie
  • *
  • Posts: 16
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #13 on: June 17, 2013, 01:35:00 AM »
Hi, back again with the log

I did syslog with nothing connected to usb and whith wl-adapter only connected to it.
in the  log-message done with usb_adapter_plugged_in
i presume it is line 566 where it is mentioned:
>> Jun 17 07:26:18 box user.info kernel: usb 2-1: new full speed USB device number 2 using uhci_hcd <<

as I mentioned before, it is also detected by "lsusb":
>> Bus 002 Device 003: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter <<

'tail -f /var/log/messages'
 give the laste ten lines only, which are not of great interest, so I attached one full log-file (wl-adapter plugged to usb) in case of any interest.
The log 'without having anything connected to usb' is equal to this, except line 566, as mentioned above.

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: no wireless extensions using usb-wlan adapter with chipset rtl8192cu
« Reply #14 on: June 17, 2013, 04:36:51 AM »
All of the above after having loaded driver and firmware first?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)