Add files via upload

This commit is contained in:
ivanovborislav 2021-11-21 14:47:13 +02:00 committed by GitHub
parent 34d3a1dbb6
commit 79f985053f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 2583 additions and 0 deletions

6
Kconfig Normal file
View File

@ -0,0 +1,6 @@
config RTL8188EU
tristate "Realtek 8188E USB WiFi"
depends on USB
---help---
Help message of RTL8188EU

2532
Makefile Normal file

File diff suppressed because it is too large Load Diff

5
clean Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
rmmod 8192cu
rmmod 8192ce
rmmod 8192du
rmmod 8192de

4
ifcfg-wlan0 Normal file
View File

@ -0,0 +1,4 @@
#DHCP client
DEVICE=wlan0
BOOTPROTO=dhcp
ONBOOT=yes

20
runwpa Normal file
View File

@ -0,0 +1,20 @@
#!/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

16
wlan0dhcp Normal file
View File

@ -0,0 +1,16 @@
#!/bin/bash
var0=`ps aux|awk '/dhclient wlan0/'|awk '$11!="awk"{print $2}'`
kill $var0
cp ifcfg-wlan0 /etc/sysconfig/network-scripts/
dhclient wlan0
var1=`ifconfig wlan0 |awk '/inet/{print $2}'|awk -F: '{print $2}'`
rm -f /etc/sysconfig/network-scripts/ifcfg-wlan0
echo "get ip: $var1"