Rtl8188eus Wireless network card driver compilation, support Master mode

Source: Internet
Author: User
Tags imx6

Based on the Rtl8188eus wireless network card driver, provide two versions, respectively, support linux3.10 the following version and support linux3.10 above version, this driver can use the HOSTAPD software to realize AP share, the specific use of the following steps:
Based on the Rtl8188eus wireless network card driver, this driver can work in master mode, based on the Linux 3.10 version of the kernel can be tested through.
First, the next two versions of the GIT resource address are available:
linux3.10 the following version: Https://git.oschina.net/pengrui2009/RTL8188EUS_OLD.git
linux3.10 above version: Https://git.oschina.net/pengrui2009/RTL8188EUS.git
Use the following steps:

1. CD driver/rtl8188eus_rtl8189es_linux_v4.1.7_9024.20130916

./make_drv Rtl8188eus

2, Vim Driver/rtl8188eus_linux_v4.3.0.6_12167.20140828/makefile
Modify to your own configuration

config_platform_myimx6 = y
ifeq ($ (config_platform_myimx6), y)
extra_cflags + =-dconfig_little_endian
Module_name: = WLAN
KSCR: =/home/pengrui/my-imx6/02_source/imx-3.14.52_1.0.o_ga/kernel/linux-3.14.52
endif

3. Export Kernel Directory

Export Arch=arm
/home/pengrui/my-imx6/02_source/imx-3.14.52_1.0.o_ga/tools/ gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-
export Ksrc=/home/myzr/my-i. mx6/linux-3.0.35/

4, modify the kernel configuration

<*> Device Drivers > Network Device support > Wireless
LAN > IEEE 802.11 for Host AP (PRISM2/2.5/3 and WEP/TKIP/CCMP)
<> Device Drivers > Network Device support > Wireless LAN > Realtek 8187 and 8187B USB s Upport
<> Device Drivers > Staging Drivers
<> Device Drivers > Network Device support > Wirel ESS LAN > Realtek rtlwifi family of devices
<> Device Drivers > Network Device support > USB network Ad Apters > USB RTL8150 based Ethernet device support
<> device Drivers > Network device support > USB Net Work adapters > Realtek rtl8152/rtl8153 Based USB Ethernet Adapters

5. Compile the kernel

Make Uimage

6. Compile-driven

Make

7, compile HOSTAPD

Vim WPA_SUPPLICANT_HOSTAPD/WPA_SUPPLICANT_HOSTAPD-0.8_RTW_R7475.20130812/HOSTAPD-0.8/HOSTAPD
ifndef CC
CC=ARM-LINUX-GNUEABIHF-GCC
endif

8, compile HOSTAPD

9. Start WiFi Script

Insmod Wlan.ko
ifconfig wlan0 192.168.1.1
hostapd-d

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.