mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-21 13:04:58 +00:00
1387cf623d
Version information: 20140812_rtl8192EU_linux_v4.3.1.1_11320 2014-08-12 version 4.3.1.1_11320 Source: ftp://files.dlink.com.au/products/DWA-131/REV_E/Drivers/DWA-131_Linux_driver_v4.3.1.1.zip This version does not currently work on newer kernels, but it does contain USB ID 2001:3319, which a lot of other repos in GitHub does not.
21 lines
423 B
Bash
21 lines
423 B
Bash
#!/bin/bash
|
|
|
|
if [ "`which iwconfig`" = "" ] ; then
|
|
echo "WARNING:Wireless tool not exist!"
|
|
echo " Please install it!"
|
|
exit
|
|
else
|
|
if [ `uname -r | cut -d. -f2` -eq 4 ]; then
|
|
wpa_supplicant -D ipw -c wpa1.conf -i wlan0
|
|
else
|
|
if [ `iwconfig -v |awk '{print $4}' | head -n 1` -lt 18 ] ; then
|
|
wpa_supplicant -D ipw -c wpa1.conf -i wlan0
|
|
else
|
|
wpa_supplicant -D wext -c wpa1.conf -i wlan0
|
|
fi
|
|
|
|
fi
|
|
fi
|
|
|
|
|