RTL8188EUS

From BananaPro/Pi
Jump to: navigation, search

Other languages:
English • ‎中文(简体)‎

Description

150M Wireless USB Adapter comply with IEEE 802.11n (Draft 2.0),IEEE 802.11g,IEEE 802.11b standard.It has the advantage of wireless transmission rates of up to 150Mbps,Built-in smart antennas providing better wireless performance,stability,and wireless coverage.The product supports 64/128/152 bit WEP encryption,and WPA/WPA2,WPA-PSK/WPA2-PSK and other advanced encryption,security mechanism,and also the QSS fast security setting function of TRL8188CUS,in line with WPS,can easily improve wireless security.In addition,the product has priority service functions to ensure priority processing video,voice and other bandwidth-intensive data.The product is compatible with 11g products and other 11n products.

General specifications

Brand GRIS
Modle GE-LW04-T8188
Network adapter Interface USB Interface(2.0 Frequency range 2.4 ~ 2.4835GHz transmission rate)
Adaptation Network Type Ethernet
11G OFDM
11n OFDM with PSK,BPSK,16-QA,64-QAM(up to 150Mbps)
11b 1/2/5.5/11Mbps
RF power 20dBi(max)
Wireless Gain 2dBi(build-in)
Dimensions 20mm*10mm*8.7mm
Environmental operating temperature 0℃ to 40℃
Working humidity 10% to 90%RH RH non-condensing
Strorage humidity 5% to 90%RH RH non-condensing
Supported operating systems Win2000/2003,Winxp,Vista32/64,Wince5.0/6.0,Win7/8/10,Linux,Mac(10.3/10.4/10.5)
Supports standard and protocol IEEE 802.11n(Draft 2.0)、IEEE 802.11g、IEEE 802.11b standard,CSMA/CA with ACK bus types

WIFI station mode

Step 1: Plug the USB WiFi adapter into LeMaker Guitar.
Step 2: Use command below to check the WIFI module which has been loaded on,and it shows the wlan2 on my LeMaker Guitar.Different devices may display various.

ifconfig -a

Step 3: Edit the /etc/network/interfaces like below:

allow-hotplug wlanX #X maybe 0.1.2....
iface wlanX inet manual 
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Step 4: Edit the /etc/wpa_supplicant/wpa_supplicant.conf like below:

 
sudo vim /etc/wpa_supplicant/wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplrun/wpa_supplicant 
GROUP=netdev update_config=1

Step 5: Edit /etc/group
Add user lemaker to the group netdev, like this:

netdev:x:108:lemaker

Reboot then open wpa_gui as shown below,wlan2 can be used normally.
1-4.png
Step 6: Connect to a WiFi:
Please refer to http://wiki.lemaker.org/LeMaker_Guitar:WiFi_configuration#Lemuntu to configure WIFI with wpa_gui.

WIFI AP mode

Step 1: Download hostapd

apt-get install hostapd

Step 2: Edit /etc/hostapd/hostapd.conf file

sudo vim /etc/hostapd/hostapd.conf
interface=wlanx # x maybe 0.1.2...
driver=nl80211
ssid=WIFI_ap_test
channel=6
hw_mode=g
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

ssid is WIFI name and wpa_passphrase is password name.
Step 3: Download dhcp

apt-get install udhcpd

Config /etc/dhcpd.conf

sudo vim /etc/dhcpd.conf
#The start and end of the IP lease block
start    192.168.100.101    #default: 192.168.0.20
end      192.168.100.254   #default: 192.168.0.254
#The interface that udhcpd will use
interface   wlanx     #default: eth0
#Examles
option  subnet  255.255.255.0
opt     router  192.168.100.1
opt     wins    192.168.100.1
option  dns     192.168.100.1
option  domain  local
option  lease   864000

Step 4: Execute the following command after reboot.
Enable dhcp service

udhcpd /etc/udhcpd.conf

Run hostapd

hostapd –B /etc/hostapd/hostapd.conf

Now check whether your wifi hotspot can be shared with other devices or not.(The wifi name is WIFI_ap_test at here)

see also

[[1]]