One of the best purchases I’ve made recently was a Miniature WiFi Module for my Raspberry Pi, from Adafruit Industries. No more having my RaspPi tethered to an Ethernet port on my wireless router. I can have my RaspPi with me, wherever I’m working. At the same time, I have Internet access on both my laptop and the RaspPi. All this for less than $12!
Background
The Miniature WiFi Module is technically a wireless network interface controller (WNIC). It connects the RaspPi to a wireless local area network (WLAN). Wherever you see the word ‘Interface’ in this post, it is referring to either the new Miniature WiFi Module, or the built-in network interface controller (NIC), which connects the RaspPi to a local area network (LAN) via Ethernet.
In researching how to properly install and configure the WiFi Module, I read a number of articles and posts on the Internet. The simplest approach I found was presented in this article by Macro M.C. on MacroMC.com. Much of the following is based on his article. Marco directly edits the ‘interfaces’ file, instead of also editing the ‘wpa_supplicant.conf’ file, as is demonstrated in other posts. I will only be connecting my RaspPi to a single WLAN in this post. If you will be switching between multiple WLANs with your RaspPi, you might want to investigate the alternate method of editing the ‘wpa_supplicant.conf’ file, or using the wpa supplicant user interface, instead.
I will be installing and configuring my RaspPi using a Windows laptop. However, if you are using a Mac or Linux-based computer, you shouldn’t need change these directions. Also, I am using the WPA2-Personal security protocol on my home’s wireless network. These directions should work for both commonly used WPA and WPA2 wireless network security protocols; I will explain further in step 2. Lastly, since I largely develop Java SE Embedded applications for the Raspberry Pi, I have installed Soft-float Debian “wheezy” on my RaspPi. However, these directions should also work for the more commonly installed Raspbian “wheezy”, as well.
Getting Started
The configuration and installation of the Miniature WiFi Module takes less 15 minutes. I’ve broken the process down into three steps:
- Installing the WiFi Module driver
- Installing wireless LAN security protocol software
- Configuring the new WiFi Module
Before we start, make sure you have the following items available:
- Your wireless network’s name (aka SSID)
- Your network security key (aka passphrase)
- SSH enabled on your RaspPi
- LAN access to your RaspPi
- Internet access from your RaspPi
- PuTTY to your RaspPi
- WinSCP to copy files to your RaspPi
- Advanced IP Scanner, Fing, or similar network scanning software (optional)
Installing the WiFi Module Driver
Don’t insert the WiFi Module into the RaspPi, yet. Instead, connect the RaspPi to your LAN using an Ethernet cable. Make sure the RaspPi has Internet access. Insert the small CD that comes with the WiFi Module into your laptop’s CD/DVD player. Connect to the RaspPi from your laptop using WinSCP. Copy the ‘Linux and Android’ folder from the CD to the ‘tmp’ folder on the RaspPi, as shown below.
Before we install the driver, let’s examine the current network interface configuration on the RaspPi. Log into your RaspPi using PuTTY. Using the ifconfig
command, you should only see the built-in NIC (eth0), as shown in the example below.
Realtek is the WiFi Module’s chipset manufacturer. To install the Realtek WiFi Module driver on the RaspPi, enter the following series of commands.
cd / cd /tmp/Linux\ and\ Android chmod +x install.sh sudo ./install.sh
During the install you’ll be prompted to select between two card types, enter 1;
... Please select card type(1/2): 1) RTL8192cu 2) RTL8192du #? 1
Installing Wireless LAN Security Protocol Software
After installing the driver, we need to install software that allows us to configure and connect to our WPA-secured wireless network. The particular software is referred to as ‘wpa_supplicant’. According to Jouni Malinen, wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with support for WPA and WPA2 (IEEE 802.11i / RSN). It is suitable for both desktop/laptop computers and embedded systems. Supplicant is the IEEE 802.1X/WPA component that is used in the client stations. It implements key negotiation with a WPA Authenticator and it controls the roaming and IEEE 802.11 authentication/association of the wlan driver.
To install wpa_supplicant, enter the following commands. Note this will check for any upgrades to the RaspPi’s existing software, first. This is a commonly-recommended step. The upgrade command might take a few minutes if you haven’t run this on your RaspPi in a while.
sudo apt-get update && sudo apt-get upgrade sudo apt-get install wpasupplicant
Next, enter the following command, substituting your own SSID (‘your_ssid’) and passphrase (‘your_passphrase’).
wpa_passphrase your_ssid your_passphrase
Based your SSID and passphrase, this command will generate a pre-shared key (PSK), similar to the following. Save or copy the PSK to the clipboard; we will need it in the next step.
Configuring the New WiFi Adapter
The last step is to configure the new WiFi Module (WNIC) for your WLAN. Open the ‘/etc/networks/interfaces’ file using Nano, by entering the following command.
sudo nano /etc/network/interfaces
This file will only have the default settings for the current NIC (eth0), as shown below.
To add the new WNIC (wlan0), enter the following lines of code to the end of the ‘interfaces’ file. Substitute you SSID (‘your_ssid’) in quotes and the PSK you generated in the previous step. Do not use the SSID and PSK below, it will not work for your network, it is only an example.
auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid "your_ssid" wpa-psk b2abb0fcd2f4527e11817de0823a57bb19ba4622f4595062c94ec4dd1370b5fe
Save the file and exit Nano. Shutdown the RaspPi and remove the Ethernet cable. Insert the Miniature WiFi Module and restart the RaspPi. You should not run the RaspPi with both the LAN and WLAN Interfaces connected.
Finding the Raspberry Pi’s Wireless Address
Since you used Dynamic Host Configuration Protocol (DHCP) in the interface’s configuration, the Module has been assigned a new IP address. To find the RaspPi’s new wireless IP address, log directly into the RaspPi and use the ifconfig
command. Alternately, we can use a program like ‘Advanced IP Scanner’ for Windows or ‘Fing’ for iOS, to discover the address of the RaspPi. The RaspPi will show up with the WiFi chipset manufacturer’s name, ‘REALTEK SEMICONDUCTOR’ or ‘REALTEK SEMICONDUCTOR CORP.’.
In the example below from Fing on an iPhone, there are two wireless RaspPi’s on my network, an inactive wireless RaspPi at 192.168.1.7, and my active wireless RaspPi at 192.168.1.9.
Here is another view of my network using Advanced IP Scanner on Windows. My active wireless RaspPi at 192.168.1.9.
If you are unable to find your RaspPi on the WLAN, re-connect to the RaspPi directly and check for errors. I had to do this on more than a few occasions while researching this post, mostly due to typos in my interface file. Try rebooting the RaspPi and watch the shutdown and boot-up screens for errors.; network errors will often show up here.
Use the RaspPi’s new wireless IP address you found to connect back into your RaspPi with PuTTY. To better understand how the new WiFi Module (WNIC) is configured, run the ifconfig
command, again. This time you should see both the NIC (eth0) and WNIC (wlan0).
Congratulations, your RaspPi is wireless. Please feel free to ‘move about the cabin’. -gs
#1 by pete on January 7, 2013 - 8:44 pm
Wonderful article and inspiring, I was wondering if anyone has tried accessing Raspberry Pi via Teamviewer or similar program, then access the camera so they can see what the camera is pointing at? I was wanting to use this so I can see how our sheep from afar
#2 by Gary A. Stafford on January 7, 2013 - 9:35 pm
I haven’t tried TeamViewer, but I use TightVNC Server over a wireless connection. I can view the camera using Motion or OpenCV. You don’t need to stream http.
#3 by Duong on July 20, 2013 - 12:58 am
I followed your instruction but I got the error:
make: *** /lib/modules/3.2.27+/build: No such file or directory. Stop.
Another issue I got is the message:
cp: target `Android/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/autoconf.h’ is not a directory
I checked the directory /lib/modules/3.2.27+/ and there was no directory build inside it. May be it is missing.
Do you know how to fix the above?
Thank you very much!
P.s: below is the output of running install.sh.
=========
pi@raspberrypi /tmp/Linux and Android $ sudo ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404.tar.gz
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/autoconf_rtl8192c_usb_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_xmit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_ioctl_query.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/efuse/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/efuse/rtw_efuse.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_recv.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_br_ext.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_eeprom.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_debug.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_p2p.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_ieee80211.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_security.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_cmd.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_mlme.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_mp.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_sta_mgt.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_rf.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_pwrctrl.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_wlan_util.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_mlme_ext.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_io.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_ioctl_rtl.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_mp_ioctl.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_ioctl_set.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_iol.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/wlan0dhcp
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/autoconf_rtl8192d_usb_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/osdep_service.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/ioctl_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/recv_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/os_intfs.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/usb_intf.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/mlme_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/pci_intf.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/sdio_intf.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/rtw_android.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/xmit_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/ioctl_cfg80211.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/wlan_bssdef.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/cmd_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_recv.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mlme_ext.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/wifi.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_led.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_recv.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/farray.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CPhyReg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DPhyCfg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_dm.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_rf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_android.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_recv.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/nic_spec.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/usb_osintf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_dm.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_xmit.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_event.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_qos.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_pwrctrl.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_xmit.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_spec.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/osdep_ce_service.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_ops.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ieee80211.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/recv_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_types_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_efuse.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CUHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_ops_ce.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DUTestHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/usb_ops.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ht.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ioctl_cfg80211.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ethernet.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/mp_custom_oid.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ioctl_rtl.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_ops_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DUHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_spec.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mlme.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/hal_init.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_types.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DEHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ieee80211_ext.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_types_ce.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CPhyCfg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_led.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/swab.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/swabb.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/big_endian.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/little_endian.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/generic.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mp_ioctl.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_ops_xp.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CUHWImg_wowlan.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DETestHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_osintf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CEHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_p2p.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/pci_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_conf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/usb_vendor_req.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/osdep_service.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ioctl_query.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_eeprom.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_types_xp.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_byteorder.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_xmit.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_version.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_cmd.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ioctl_set.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/h2clbk.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/pci_osintf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_cmd.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_rf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/pci_ops.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_cmd.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_event.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/mlme_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_debug.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/osdep_intf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sta_info.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_iol.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mp_phy_regdef.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_rf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/usb_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/autoconf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_security.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_io.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DPhyReg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_br_ext.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/circ_buf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/basic_types.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ip.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_led.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/if_ether.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/xmit_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_sreset.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mp.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ioctl.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/ifcfg-wlan0
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/Makefile
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/make_drv
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/Kconfig
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/hal_init.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_cmd.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_phycfg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_dm.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_mp.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_rxdesc.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_rf6052.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/rtl8192cu_led.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/usb_halinit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/rtl8192cu_recv.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/Hal8192CUHWImg_wowlan.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/usb_ops_ce.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/Hal8192CUHWImg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/usb_ops_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/rtl8192cu_xmit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/usb_ops_xp.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_sreset.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_hal_init.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_rxdesc.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_cmd.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_phycfg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_mp.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_dm.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_rf6052.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/Hal8192DUTestHWImg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/rtl8192du_recv.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/usb_halinit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/rtl8192du_xmit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/Hal8192DUHWImg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/rtl8192du_led.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/usb_ops_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_hal_init.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/clean
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404
Please select card type(1/2):
1) RTL8192cu
2) RTL8192du
#? 1
You have selected RTL8192cu
rtw_version.h has existed!
Authentication requested [root] for make clean:
cp: target `Android/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/autoconf.h’ is not a directory
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm .tmp_versions -fr ; rm Module.symvers -fr
rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
Authentication requested [root] for make driver:
cp: target `Android/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/autoconf.h’ is not a directory
make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/3.2.27+/build M=/tmp/Linux and Android/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404 modules
make: *** /lib/modules/3.2.27+/build: No such file or directory. Stop.
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
pi@raspberrypi /tmp/Linux and Android $
=========
#4 by sjm on July 28, 2013 - 2:45 pm
Good article although I too am getting the same error as Duong. I’m using the same Wifi module and the latest Wheezy:
Linux raspberrypi 3.6.11+ #474 PREEMPT Thu Jun 13 17:14:42 BST 2013 armv6l GNU/Linux
When trying to install the drivers I get:
make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/3.6.11+/build M=/tmp/Linux/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404 modules
make: *** /lib/modules/3.6.11+/build: No such file or directory. Stop.
make: *** [modules] Error 2
Any thoughts or advice as to how I can get the driver installed?
#5 by Duong on August 2, 2013 - 5:39 pm
Hi sjm,
I managed to install the device driver for the Wifi module.
The installation of the device driver actually includes the compilation of the device driver too (if you look at the file install.sh). And the compilation of the device driver requires Linux kernel header files. Because the Raspbian is distributed without the kernel header files, you need to download and build the kernel header files before the compilation of the device driver can continue.
Here is a very nice instruction on how to download and build the kernel header files: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=71&t=17666
You should look for the post of the user “shig”. He instruction worked with me except 2 things:
i, My kernel version is 3.6.11+ not 3.2.7. So we should download the correct version. The page https://github.com/raspberrypi/linux has the option to select the correct version of kernel header.
ii, If you download the kernel headers compressed in a .zip file, then you may have an error when you use unzip program to unzip the file (the error is something like “file name too long”). The is a fix for the unzip program, but I got around by download the tar.gz file instead. The location of the tar.gz file is the same as the .zip file, they are just different at the extension. For example:
zip file: https://github.com/raspberrypi/linux/archive/rpi-3.6.y.zip
tar file: https://github.com/raspberrypi/linux/archive/rpi-3.6.y.tar.gz
The rest of the instruction of “shig” worked with me.
After that, I ran the install.sh again (don’t forget sudo before install.sh), and got another error telling the missing of the architecture armv6l. We just need to make a symlink from armv6l to arm. That is, if you installed the linux kernel header file in /usr/src/linux-rpi-3.6.y, for example, then use this commands:
cd /usr/src/linux-rpi-3.6.y
sudo ln -s arm armv6l
Lastly, you may need to rename the name of directory containing the device driver installation files (i.e. Linux and Android) to LinuxAndroid in order to avoid space in the name (it can cause error).
Then it worked with me.
#6 by Duong on August 2, 2013 - 5:42 pm
Other than driver compilation issue, the instruction of Mr. Stafford is very clear. Thank you very much!
#7 by sjm on August 24, 2013 - 1:28 pm
Duong,
Thank you so much for your detailed note. I followed your advice (and Shig’s) and it worked great. The driver has now compiled against 3.6.11+. The only slight thing wrong with your instruction was the symbolic link for armv6l. It was missing the arch directory so should be:
cd /usr/src/linux-rpi-3.6.y
cd arch
sudo ln -s arm armv6l
Thanks!
#8 by polo0000 on January 13, 2014 - 1:22 pm
I did all that say in comments but there is a new error :
can you help me?
pi@raspberrypi /tmp/Linux $ sudo ./install.sh
##################################################
Realtek Wi-Fi driver Auto installation script
Novembor, 21 2011 v1.1.0
##################################################
Decompress the driver source tar ball:
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404.tar.gz
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/autoconf_rtl8192c_usb_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_xmit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_ioctl_query.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/efuse/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/efuse/rtw_efuse.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_recv.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_br_ext.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_eeprom.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_debug.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_p2p.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_ieee80211.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_security.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_cmd.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_mlme.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_mp.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_sta_mgt.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_rf.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_pwrctrl.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_wlan_util.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_mlme_ext.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_io.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_ioctl_rtl.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_mp_ioctl.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_ioctl_set.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_iol.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/wlan0dhcp
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/autoconf_rtl8192d_usb_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/osdep_service.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/ioctl_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/recv_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/os_intfs.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/usb_intf.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/mlme_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/pci_intf.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/sdio_intf.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/rtw_android.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/xmit_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/os_dep/linux/ioctl_cfg80211.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/wlan_bssdef.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/cmd_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_recv.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mlme_ext.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/wifi.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_led.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_recv.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/farray.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CPhyReg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DPhyCfg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_dm.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_rf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_android.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_recv.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/nic_spec.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/usb_osintf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_dm.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_xmit.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_event.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_qos.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_pwrctrl.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_xmit.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_spec.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/osdep_ce_service.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_ops.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ieee80211.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/recv_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_types_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_efuse.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CUHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_ops_ce.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DUTestHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/usb_ops.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ht.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ioctl_cfg80211.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ethernet.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/mp_custom_oid.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ioctl_rtl.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_ops_linux.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DUHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_spec.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mlme.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/hal_init.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_types.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DEHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ieee80211_ext.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_types_ce.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CPhyCfg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_led.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/swab.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/swabb.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/big_endian.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/little_endian.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/byteorder/generic.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mp_ioctl.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_ops_xp.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CUHWImg_wowlan.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DETestHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_osintf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192CEHWImg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_p2p.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/pci_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_conf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/usb_vendor_req.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/osdep_service.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ioctl_query.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_eeprom.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/drv_types_xp.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_byteorder.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_xmit.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_version.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_cmd.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ioctl_set.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/h2clbk.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/pci_osintf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_cmd.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192d_rf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/pci_ops.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_cmd.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_event.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/mlme_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_debug.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/osdep_intf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sta_info.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_iol.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mp_phy_regdef.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_rf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/usb_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/autoconf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_security.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/sdio_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_io.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/Hal8192DPhyReg.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_br_ext.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/circ_buf.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/basic_types.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_hal.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/ip.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_led.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/if_ether.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/xmit_osdep.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtl8192c_sreset.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_mp.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/rtw_ioctl.h
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/ifcfg-wlan0
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/Makefile
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/make_drv
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/Kconfig
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/hal_init.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_cmd.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_phycfg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_dm.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_mp.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_rxdesc.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_rf6052.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/rtl8192cu_led.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/usb_halinit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/rtl8192cu_recv.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/Hal8192CUHWImg_wowlan.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/usb_ops_ce.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/Hal8192CUHWImg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/usb_ops_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/rtl8192cu_xmit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/usb/usb_ops_xp.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_sreset.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192c/rtl8192c_hal_init.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_rxdesc.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_cmd.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_phycfg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_mp.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_dm.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_rf6052.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/Hal8192DUTestHWImg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/rtl8192du_recv.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/usb_halinit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/rtl8192du_xmit.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/Hal8192DUHWImg.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/rtl8192du_led.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/usb/usb_ops_linux.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/hal/rtl8192d/rtl8192d_hal_init.c
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/clean
rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404
Please select card type(1/2):
1) RTL8192cu
2) RTL8192du
#? 1
You have selected RTL8192cu
rtw_version.h has existed!
Authentication requested [root] for make clean:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm .tmp_versions -fr ; rm Module.symvers -fr
rm -fr Module.markers ; rm -fr modules.order
cd core/efuse ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c/usb ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal/rtl8192c ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd hal ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko
Authentication requested [root] for make driver:
make ARCH=armv6l CROSS_COMPILE= -C /lib/modules/3.10.26+/build M=/tmp/Linux/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404 modules
make[1]: Entering directory `/usr/src/linux-rpi-3.10.y’
CC [M] /tmp/Linux/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_cmd.o
In file included from /tmp/Linux/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_cmd.c:23:0:
/tmp/Linux/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/osdep_service.h: In function ‘thread_enter’:
/tmp/Linux/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/include/osdep_service.h:575:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/tmp/Linux/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/tmp/Linux/driver/rtl8188C_8192C_8192D_usb_linux_v3.4.2_3727.20120404] Error 2
make[1]: Leaving directory `/usr/src/linux-rpi-3.10.y’
make: *** [modules] Error 2
##################################################
Compile make driver error: 2
Please check error Mesg
##################################################
#9 by polo0000 on January 15, 2014 - 1:22 pm
Well, I think is good because it’s working despite the error mesage.