ep-db1608 Wireless Card installation Linux Driver

Source: Internet
Author: User
Tags builtin


OS Environment: centos-7.2-x86_64

Wireless Card: ep-db1608

650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/8C/2A/wKioL1hkeFKQFocWAAgUszJ7vA0529.png-wh_500x0-wm_3 -wmp_4-s_2300837715.png "title=" Wk.png "alt=" Wkiol1hkefkqfocwaaguszj7va0529.png-wh_50 "/>


1. System Environment Preparation

#关闭selinux

Sed-i ' s/selinux=enforcing/selinux=disabled/'/etc/selinux/config

Setenforce 0


#安装一大堆库

Yum-y Install Libtool zlib* glib*


2. Enter the installation

[[email protected] linux]# ls

android_ref_codes_jb_4.2 document install.sh Readme.txt Wifi_direct_user_interface WPA_SUPPLICANT_HOSTAPD

android_ref_codes_kk_4.4 driver Mp_tools releasenotes.pdf wireless_tools

[Email protected] linux]# chmod +x install.sh

[Email protected] linux]# ./install.sh

... ...

Make: * * */lib/modules/3.10.0-327.el7.x86_64/build: No file or directory

... ...


Solution Ideas:

Switch to its directory:

[Email protected] linux]# cd/lib/modules/3.10.0-

3.10.0-327.el7.x86_64/3.10.0-514.2.2.el7.x86_64/

[Email protected] linux]# cd/lib/modules/3.10.0-514.2.2.el7.x86_64/

[[email protected] 3.10.0-514.2.2.el7.x86_64]# ls

Build Modules.alias modules.builtin modules.dep.bin modules.modesetting MODULES.SOFTDEP Source Weak-u Pdates

Extra Modules.alias.bin modules.builtin.bin modules.devname modules.networking modules.symbols Updates

Kernel modules.block modules.dep modules.drm modules.order modules.symbols.bin vdso

[[email protected] 3.10.0-514.2.2.el7.x86_64]# LS-LHD build

lrwxrwxrwx 1 root root 42 December 10:19 Build-/usr/src/kernels/3.10.0-514.2.2.el7.x86_64


Workaround:

[Email protected] linux]# ln-s/usr/src/kernels/3.10.0-514.2.2.el7.x86_64/lib/modules/3.10.0-327.el7.x86_64/ Build


And then execute it again.

[Email protected] linux]# ./install.sh

Everything goes well, then look at the network card, here save space, will not show all,

[[Email protected] linux]# IP link

... ...

11:ENP0S20U2: <NO-CARRIER,BROADCAST,MULTICAST,UP> MTU Qdisc MQ State down mode dormant Qlen 1000

Link/ether e8:4e:06: 40:cc:10 BRD FF:FF:FF:FF:FF:FF

... ...


If it is the above image in the model of the network card, you can compare the MAC address of the network card (e8:4e:06) This is the unique logo of each vendor is planned by a specific organization, and then you can confirm that this is the wireless card you need, I did not know at the beginning of this installation is good, until I installed the second time ...



3. Scan the surrounding WiFi signal

Again into the drive directory provided by the disc

[[email protected] linux]# ls

android_ref_codes_jb_4.2 document install.sh Readme.txt Wifi_direct_user_interface WPA_SUPPLICANT_HOSTAPD

android_ref_codes_kk_4.4 driver Mp_tools releasenotes.pdf wireless_tools

[Email protected] linux]# CD wireless_tools/

[[email protected] wireless_tools]# ls

Wireless_tools.30.rtl.tar.gz

[Email protected] wireless_tools]# tar-xf wireless_tools.30.rtl.tar.gz

[Email protected] wireless_tools]# CD wireless_tools.30.rtl/

[[email protected] wireless_tools.30.rtl]# make && make install


Note the following red font


... ...

Install-m 755-d/usr/local/lib

Install-m 644 Libiw.a/usr/local/lib

Install-m 755-d/usr/local/sbin

Install-m 755 iwconfig iwlist iwpriv iwspy iwgetid iwevent ifrename/usr/local/sbin

Install-m 755-d/usr/local/include

Install-m 644 Iwlib.h/usr/local/include

Install-m 644 Wireless.h/usr/local/include

For Lang in. CS fr.*; Do \

Install-m 755-d/usr/local/man/$lang/man8/; \

Install-m 644 $lang/iwconfig.8 iwlist.8 iwpriv.8 iwspy.8 Iwgetid.8 iwevent.8 ifrename.8/usr/local/man/$lang/man8/; \

Install-m 755-d/usr/local/man/$lang/man7/; \

Install-m 644 $lang/wireless.7/usr/local/man/$lang/man7/; \

Install-m 755-d/usr/local/man/$lang/man5/; \

Install-m 644 $lang/iftab.5/usr/local/man/$lang/man5/; \

Done


Remember to return to the execution results

[[email protected] wireless_tools.30.rtl]# echo $?

The result is 0 to indicate correct


[Email protected] wireless_tools.30.rtl]# cd/usr/local/sbin/

[Email protected] sbin]# ll

Total dosage 3172

-rwxr-xr-x 1 root root 57928 December 11:17 ifrename

-rwxr-xr-x 1 root root 50864 December 11:17 iwconfig

-rwxr-xr-x 1 root root 42456 December 11:17 iwevent

-rwxr-xr-x 1 root root 37912 December 11:17 Iwgetid

-rwxr-xr-x 1 root root 55816 December 11:17 iwlist

-rwxr-xr-x 1 root root 37688 December 11:17 iwpriv

-rwxr-xr-x 1 root root 37664 December 11:17 iwspy


Scan around WiFi signal

[Email protected] linux]# iwlist enp0s20u6 scanning

Enp0s20u6 Scan Completed:

Cell 01-ADDRESS:00:06:F4:BD:6E:F1

ESSID: "Sspaas.com"

Protocol:ieee 802.11BGN

Mode:master

frequency:2.412 GHz (Channel 1)

Encryption Key:on

Bit rates:130 MB/s

extra:wpa_ie=dd180050f20101000050f20401000050f20401000050f2020000

IE:WPA Version 1

Group cipher:ccmp

Pairwise ciphers (1): CCMP

Authentication Suites (1): PSK

Extra:

Ie:ieee 802.11I/WPA2 Version 1

Group cipher:ccmp

Pairwise ciphers (1): CCMP

Authentication Suites (1): PSK

quality=100/100 Signal level=100/100

extra:fm=0003

... ...


This step is just a scan, and it's not going to connect



4. Connect the scanned WiFi

[Email protected] linux]# CD wpa_supplicant_hostapd/

[[email protected] wpa_supplicant_hostapd]# ls

p2p_hostapd.conf wpa_0_8.conf wpa_supplicant_hostapd-0.8_rtw_r7475.20130812

rtl_hostapd_2g.conf wpa_supplicant_8_jb_4.2_rtw_r8680.20130821.tar.gz Wpa_supplicant_hostapd-0.8_rtw_ R7475.20130812.tar.gz

Rtl_hostapd_5g.conf wpa_supplicant_8_kk_4.4_rtw_r11967.20140818.tar.gz

[Email protected] wpa_supplicant_hostapd]# tar-xf wpa_supplicant_hostapd-0.8_rtw_r7475.20130812.tar.gz

[Email protected] wpa_supplicant]# CD wpa_supplicant_hostapd-0.8_rtw_r7475.20130812/wpa_supplicant/

[[email protected] wpa_supplicant]# make && make install

[[email protected] wpa_supplicant]# echo $?

Connect to WiFi


[Email protected] wpa_supplicant]# wpa_passphrase sspaas.com >>/etc/wpa_supplicant/wpa_supplicant.conf return and enter the password again

88888888


[Email protected] wpa_supplicant]# cat/etc/wpa_supplicant/wpa_supplicant.conf

Ctrl_interface=/var/run/wpa_supplicant

Ctrl_interface_group=wheel

# reading passphrase from stdin

network={

Ssid= "Sspaas.com"

#psk = "88888888"

psk=c88b2e4bc1a75fe6accbe5713acd3410c61d71fc02572083d7b7510d9f325772

}

Now the drive and key files are all formed, you can make WiFi connection!!!



[Email protected] wpa_supplicant]#wpa_supplicant-i enp0s20u2-c/etc/wpa_supplicant/wpa_supplicant.conf-d wext- B



Wpa_supplicant parameter meaning:

-I indicates NIC

-C indicates where the key is stored

-D indicates that the drive type is universal

-B to run in the background

Only to do this, not enough, a reboot system, you need to re-execute the above command, so as long as the above command stored in the/etc/rc.local is OK, each time you restart the system will be automatically online



A little bit of attention at the bottom:

The driver module for this NIC is in this directory

/usr/lib/modules/3.10.0-327.el7.x86_64/kernel/drivers/net/wireless/8821au.ko

View the driver modules that the system has loaded

[Email protected] wireless]# lsmod | grep 8821

8821au 1968224 0



Reference post:http://jiangkun08.blog.51cto.com/6266992/1284327




This article is from the "Rslinux" blog, make sure to keep this source http://readshlinux.blog.51cto.com/9322509/1887187

ep-db1608 Wireless Card installation Linux Driver

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.