WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Help needed to setup wifi  (Read 6495 times)

Offline nickob

  • Newbie
  • *
  • Posts: 10
Help needed to setup wifi
« on: November 04, 2013, 06:08:44 PM »
Hi,

I do not manage to get wifi working. The dongle I use works with Raspbian, and is reported as a RTL8188CUS device. With Tiny Core, dmesg gives: "usbcore: registered new interface driver rtl8192cu". iwconfig shows a wlan0 interface, but I cannot do anything with it. iwlist s always returns "No scan result" (whereas my wifi network is up). And if I try to associate the interface with sudo iwconfig wlan0 essid "my essid", I get :

Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; Operation not permitted.

I am stuck here.

Nicolas

Offline mocore

  • Hero Member
  • *****
  • Posts: 645
  • ~.~
Re: Help needed to setup wifi
« Reply #1 on: November 04, 2013, 06:54:58 PM »
idk that it will work  (i donthink i have the same wifi to try)
but adding rtl firmware is worth a try

load "firmware-rtlwifi.tcz" extension
using apps or 'tce-load -iw firmware-rtlwifi.tcz'


Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Help needed to setup wifi
« Reply #2 on: November 05, 2013, 02:21:01 AM »
Check the wifi related messages in dmesg (somewhere at the end) to see what is missing. You can share relevant lines here.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline nickob

  • Newbie
  • *
  • Posts: 10
Re: Help needed to setup wifi
« Reply #3 on: November 05, 2013, 06:44:58 AM »
I could not install the firmware-rtlwifi.tcz extension: Not found. Instead I found and installed firmware-ralinkwifi.tcz, but it did not solve the problem. I looked in /lib/firmware and I saw it installed rt2xxx.bin and rt3xxx.bin files, but not a rt8188 or 8192.

dmesg gives:

....
[    3.013161] usb 1-1.2: new high-speed USB device number 4 using dwc_otg
[    3.115303] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8176
[    3.115335] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.115350] usb 1-1.2: Product: 802.11n WLAN Adapter
[    3.115363] usb 1-1.2: Manufacturer: Realtek
[    3.115376] usb 1-1.2: SerialNumber: 00e04c000001
....
[   26.863010] usbcore: registered new interface driver rtl8192cu
....

Nothing more about wifi.

Offline mocore

  • Hero Member
  • *****
  • Posts: 645
  • ~.~
Re: Help needed to setup wifi
« Reply #4 on: November 05, 2013, 07:06:14 AM »
I could not install the firmware-rtlwifi.tcz extension: Not found.
not shore why it was not found ..
because i checked it could be found before posting   ???
http://tinycorelinux.net/5.x/armv6/tcz/firmware-rtlwifi.tcz.info
Quote
Title:          firmware-rtlwifi.tcz
Description:    Redistributable firmware for Realtek Wireless LAN

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Help needed to setup wifi
« Reply #5 on: November 05, 2013, 07:07:46 AM »
Not mentioned, but probably he is using piCore 4.7
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline nickob

  • Newbie
  • *
  • Posts: 10
Re: Help needed to setup wifi
« Reply #6 on: November 05, 2013, 09:12:41 AM »
Yes, sorry, I use piCore 4.7.5.

Should I understand that moving to piCore 5 could be an option?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Help needed to setup wifi
« Reply #7 on: November 05, 2013, 09:31:24 AM »
Yes. While 5.0 labeled as alpha in fact it is more up to date than 4.7 so strongly adviced to use latest 5.0.alpha6
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline mcdudeabides

  • Jr. Member
  • **
  • Posts: 60
Re: Help needed to setup wifi
« Reply #8 on: November 06, 2013, 12:32:53 PM »
[    3.115303] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8176

It is interesting that it loads rtl8188cus for raspbian and rtl8192cu for TCL.  There are certainly cases where there are firmware "supersets" that can provide core functionality to a range of chips.  From what I can find (http://wikidevi.com/wiki/TP-LINK_TL-WN725N_v2), the 0bda:8176 identification indicates a Realtek RTL8188EUS chip device that requires the Linux rtl8188eu driver.  There is work under way to provide a modification to the driver for the Linux world that will allow a firmware based approach.  I hope to build on that work and hopefully add support for the 8188eu chip to the TCL efforts.

Unfortunately at the present, I think you would be better served finding another inexpensive nano USB adapter for your needs.

Offline nickob

  • Newbie
  • *
  • Posts: 10
Re: Help needed to setup wifi
« Reply #9 on: November 08, 2013, 07:44:59 AM »
Since my last message I updated to piCore5.0 aplha 6 and installed the available driver extensions, but the problem is still there. I have to admit my dongle is not compatible. So bad, I have a whole batch of them!

Thanks anyway for your help.