Go Down

Topic: USB Wifi Chipset RTL8188CUS (Read 5002 times) previous topic - next topic

Gregg

Hi,

I was wondering if anyone has had any luck using a USB Wifi dongle with a RTL8188CUS chipset ? It seems to be detected as a Ethernet device instead of a wireless device ?

Quote
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Quote
dmesg
[    4.020000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[    4.200000] usb 1-1.1: New USB device found, idVendor=7392, idProduct=7811
[    4.200000] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.210000] usb 1-1.1: Product: 802.11n WLAN Adapter
[    4.210000] usb 1-1.1: Manufacturer: Realtek
[    4.210000] usb 1-1.1: SerialNumber: 00e04c000001
Quote
lsmod
mac80211              345889  2 ath9k,rtl8187
Quote
ifconfig
eth0      Link encap:Ethernet  HWaddr 90:A2:DA:F2:12:95 
          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)
          Interrupt:5
Quote
iwconfig
eth0      no wireless extensions.

Angelo9999

ifconfig
eth0      Link encap:Ethernet  HWaddr 90:A2:DA:F2:12:95 
          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)
          Interrupt:5
I never used that WiFi adapter, by the way I think that the listed eth0 is the real ethernet of the Yun.
https://github.com/sngl

Gregg

I think the Ethernet port was eth0, but since plugged the USB Wifi dongle it has now moved to eth1.

Quote
eth1      Link encap:Ethernet  HWaddr 90:A2:DA:FA:12:95 
          inet addr:192.168.1.107  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60036 errors:0 dropped:68 overruns:0 frame:0
          TX packets:1148 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:9886078 (9.4 MiB)  TX bytes:205602 (200.7 KiB)
          Interrupt:4

Angelo9999

But they have the same MAC address
https://github.com/sngl

Gregg

I really don't know - I think the eth0 and eth1 is unrelated to my issue with the USB Dongle. I have removed the USB Dongle and rebooted, eth0 is missing from ifconfig, but still preset using ip.

I think the kernel for the YUN is compiled without the driver for the RTL8188CUS

Quote
ifconfig
eth1      Link encap:Ethernet  HWaddr 90:A2:DA:FA:12:95 
          inet addr:192.168.1.107  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:92 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:11015 (10.7 KiB)  TX bytes:4291 (4.1 KiB)
          Interrupt:4

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:262 errors:0 dropped:0 overruns:0 frame:0
          TX packets:262 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:18056 (17.6 KiB)  TX bytes:18056 (17.6 KiB)

wlan0     Link encap:Ethernet  HWaddr 90:A2:DA:F2:12:95 
          inet addr:192.168.1.101  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:246 errors:0 dropped:0 overruns:0 frame:0
          TX packets:218 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:27463 (26.8 KiB)  TX bytes:53477 (52.2 KiB)
Quote
ip link sh
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast state DOWN mode DEFAULT qlen 1000
    link/ether 90:a2:da:f2:12:95 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether 90:a2:da:fa:12:95 brd ff:ff:ff:ff:ff:ff
5: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000
    link/ether 90:a2:da:f2:12:95 brd ff:ff:ff:ff:ff:ff

ShapeShifter

I think the kernel for the YUN is compiled without the driver for the RTL8188CUS
That would make sense. There isn't unlimited room for a 100% complete OpenWRT distribution, so some things need to be cut out. Since there is built-in WiFi, drivers for other wireless interfaces would be a good candidate to cut -- few people will be adding a second WiFi interface via USB.

sonnyyu

#6
Feb 19, 2015, 08:01 pm Last Edit: Feb 19, 2015, 08:03 pm by sonnyyu
Current YunOS kernel 3.3.8 does not support "RTL8192CU/RTL8188CUS/RTL8188RU" from Realtek.

However trunk kernel  supports them fine.

Current YunOS kernel supports USB Wi-Fi Adapters:

Code: [Select]
kmod-rt2500-usb - 3.3.8+2014-05-22-1 - Ralink Drivers for RT2x00 cards (RT2500 USB)
kmod-rt2800-usb - 3.3.8+2014-05-22-1 - Ralink Drivers for RT2x00 cards (RT2870 USB)
kmod-rt2x00-usb - 3.3.8+2014-05-22-1 - Ralink Drivers for RT2x00 cards (USB)
kmod-rt73-usb - 3.3.8+2014-05-22-1 - Ralink Drivers for RT2x00 cards (RT73 USB)
kmod-rtl8187 - 3.3.8+2014-05-22-1 - Realtek Drivers for RTL818x devices (RTL8187 USB)
kmod-ath - 3.3.8+2014-05-22-1 - This module contains some common parts needed by Atheros Wireless drivers.
kmod-ath9k - 3.3.8+2014-05-22-1 - This module adds support for wireless adapters based on Atheros IEEE 802.11n AR5008 and AR9001 family of chipsets.
kmod-ath9k-common - 3.3.8+2014-05-22-1 - Atheros 802.11n wireless devices (common code for ath9k and ath9k_htc)
kmod-ath9k-htc - 3.3.8+2014-05-22-1 - This module adds support for wireless adapters based on Atheros USB AR9271 and AR7010 family of chipsets.
kmod-carl9170 - 3.3.8+2014-05-22-1 - Driver for Atheros AR9170 USB sticks


http://elinux.org/RPi_USB_Wi-Fi_Adapters






Gregg

How do I install the trunk kernel ? Is there are wiki or doc that I can follow ?

sonnyyu


Antiklesys

Hey,
I'm actually interested too in having support for "RTL8192CU/RTL8188CUS/RTL8188RU" from Realtek, but by checking the link: http://forum.arduino.cc/index.php?topic=304307.0 I couldn't figure out well in which point this is referring to the installation of the trunk kernel for the Yun.
Can you please clarify?
I tried googling but with no much luck.

Go Up