Release Date: 2009-0825, ver 0003
RTL8192SU Linux driver
--This driver supports RealTek rtl8192SU USB Wireless LAN NIC
for
2.6 kernel:
Fedora Core 2/3/4/5, Debian 3.1, Mandrake 10.2/Mandriva 2006,
SUSE 9.3/10.1/10.2, Gentoo 3.1, Ubuntu 7.10/8.04, etc.
2.4 kernel:
Redhat 9.0/9.1
===============================================================================
Component
===============================================================================
The driver is composed of several parts:
1. Firmare to make nic work
1.1 firmare/RTL8192SU
2. Module source code
2.1 ieee80211
2.2 HAL/rtl8192u
2.3 wpa_supplicant-0.5.10 (User can download the latest version from
internet also, but it is suggested to use default package contained
in the distribution because there should less compilation issue.)
3. Script to build the modules
3.1 Makefile
4. Script to load/unload modules
4.1 wlan0up
4.2 wlan0down
5. Script and configuration for DHCP
5.1 wlan0dhcp
5.2 ifcfg-wlan0
6. Example of supplicant configuration file:
6.1 wpa1.conf
7. Script to run wpa_supplicant
7.1 runwpa
===============================================================================
Installation
===============================================================================
<<Method 1>>
Runing the scripts accomplish all operations including building up modules
from the source code, installing driver to the kernel and starting up the nic.
1. Build up the drivers from the source code
make
2. Install the driver to the kernel
make install
reboot
3. bring up wlan if nic is not brought up by GUI, such as NetworkManager
ifconfig wlan0 up
Note: use ifconfig to check whether wlan0 is brought up and use iwconfig to check your wlan interface name,
since it may change wlan0 to wlan1,etc.
<<Method 2>>
Or only load the driver module to kernel and start up nic.
1. Build up the drivers from the source code
make
2. Copy firmware to /lib/firmware/ or /lib/firmware/(KERNEL_VERSION)/
cp -rf firmware/RTL8192SU /lib/firmware
or
cp -rf firmware/RTL8192SU /lib/firmware/(KERNEL_VERSION)
Note: This depends on whether (KERNEL_VERSION) subdirectory exists under /lib/firmware
3. Load driver module to kernel and start up nic.
./wlan0up
Note: when "insmod: error inserting 'xxxx.ko': -1 File exists" comes out
after run ./wlan0up, please run ./wlan0down first, then it should
be ok..
Note: If you see the message of "unkown symbol" during ./wlan0up, it
is suggested to build driver by <<Method 1>>.
===============================================================================
Set wireless lan MIBs
===============================================================================
This driver uses Wireless Extension as an interface allowing you to set
Wireless LAN specific parameters.
Current driver supports "iwlist" to show the device status of nic
iwlist wlan0 [parameters]
where
parameter explaination [parameters]
----------------------- -------------
Show available chan and freq freq / channel
Show and Scan BSS and IBSS scan[ning]
Show supported bit-rate rate / bit[rate]
For example:
iwlist wlan0 channel
iwlist wlan0 scan
iwlist wlan0 rate
Driver also supports "iwconfig", manipulate driver private ioctls, to set
MIBs.
iwconfig wlan0 [parameters] [val]
where
parameter explaination [parameters] [val] constraints
----------------------- ------------- ------------------
Connect to AP by address ap [mac_addr]
Set the essid, join (I)BSS essid [essid]
Set operation mode mode {Managed|Ad-hoc}
Set keys and security mode key/enc[ryption] {N|open|restricted|off}
For example:
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
iwconfig wlan0 essid "ap_name"
iwconfig wlan0 mode Ad-hoc
iwconfig wlan0 essid "name" mode Ad-hoc
iwconfig wlan0 key 0123456789 [2] open
iwconfig wlan0 key off
iwconfig wlan0 key restricted [3] 0123456789
Note: Better to set these MIBS without GUI such as NetworkManager and be sure that our
nic has been brought up before these settings. WEP key index 2-4 is not supportted by
NetworkManager.
===============================================================================
Getting IP address
===============================================================================
After start up the nic, the network needs to obtain an IP address before
transmit/receive data.
This can be done by setting the static IP via "ifconfig wlan0 IP_ADDRESS"
command, or using DHCP.
If using DHCP, setting steps is as below:
(1)connect to an AP via "iwconfig" settings
iwconfig wlan0 essid [name] or
iwconfig wlan0 ap XX:XX:XX:XX:XX:XX
(2)run the script which run the dhclient
./wlan0dhcp
or
dhcpcd wlan0
(Some network admins require that you use the
hostname and domainname provided by the DHCP server.
In that case, use
dhcpcd -HD wlan0)
===============================================================================
WPAPSK/WPA2PSK
===============================================================================
Wpa_supplicant helps to secure wireless connection with the protection of
WPAPSK/WPA2PSK mechanism.
If the version of Wireless Extension in your system is equal or larger than 18,
WEXT driver interface is recommended. Otherwise, IPW driver interface is advised.
Note: Wireless Extension is defined us "#define WIRELESS_EXT" in Kernel
Note: To check the version of wireless extension, please type "iwconfig -v"
If IPW driver interface is used, it us suggested to follow the steps from 1 to 6.
If wpa_supplicant has been installed in your system, only steps 5 and 6 are required
to be executed for WEXT driver interface.
To see detailed description for driver interface and wpa_supplicant, please type
"man wpa_supplicant".
(1)Download latetest source code for wpa supplicant or use wpa_supplicant-0.5.10
attached in this package. (It is suggested to use default package contained
in the distribution because there should less compilation issue.)
Unpack source code of WPA supplicant:
tar -zxvf wpa_supplicant-0.5.10.tar.gz (e.g.)
cd wpa_supplicant-0.5.10
(2)Create .config file:
cp defconfig .config
(3)Edit .config file, uncomment the following line if ipw driver interface
will be applied:
#CONFIG_DRIVER_IPW=y.
(4)Build and install WPA supplicant:
make
cp wpa_cli wpa_supplicant /usr/local/bin
NOTE:
1. If make error for lack of <include/md5.h>, install the openssl lib(two ways):
(1) Install the openssl lib from corresponding installation disc:
Fedora Core 2/3/4/5(openssl-0.9.71x-xx),
Mandrake10.2/Mandriva10.2(openssl-0.9.7x-xmdk),
Debian 3.1(libssl-dev), Suse 9.3/10.0/10.1(openssl_devl),
Gentoo(dev-libs/openssl), etc.
(2) Download the openssl open source package from www.openssl.org, build and
install it.
2. If make errors happen in RedHat(and also Fedora Core) for kssl.h,
please add lines below into Makefile
CPPFLAGS+=-I/usr/kerboros/include
(5)Edit wpa_supplicant.conf to set up SSID and its passphrase.
For example, the following setting in "wpa1.conf" means SSID
to join is "BufAG54_Ch6" and its passphrase is "87654321".
Example 1: Configuration for WPA-PWK
network={
ssid="BufAG54_Ch6"
#scan_ssid=1 //see note 3
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="87654321"
priority=2
}
Example 2: Configuration for LEA
没有合适的资源?快使用搜索试试~ 我知道了~
rtl8192su_linux_2.6.0003.1021.2009.tar.gz_rtl8192_rtl8192 lin_rt
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 95 浏览量
2022-09-19
16:07:44
上传
评论
收藏 1.75MB GZ 举报
温馨提示
共106个文件
c:42个
h:39个
makefile:3个
RTL8712的LINUX驱动程序,版本2.6
资源推荐
资源详情
资源评论
收起资源包目录
rtl8192su_linux_2.6.0003.1021.2009.tar.gz_rtl8192_rtl8192 lin_rt (106个子文件)
all-wcprops 270B
authors 38B
rtl8192sfw.bin 67KB
r8192SU_HWImg.c 423KB
r8192U_core.c 331KB
r819xU_firmware_img.c 252KB
r8192U_dm.c 144KB
ieee80211_softmac.c 127KB
r8192S_phy.c 105KB
ieee80211_rx.c 103KB
ieee80211_tx.c 58KB
r8192SU_led.c 57KB
r8192u_mp.c 51KB
rtl819x_HTProc.c 46KB
r8192S_Efuse.c 44KB
r819xU_phy.c 43KB
r8192U_wx.c 38KB
ieee80211_wx.c 31KB
ieee80211_crypt_tkip.c 29KB
rtl819x_TSProc.c 18KB
rtl819x_BAProc.c 18KB
r819xU_firmware.c 17KB
r8192S_rtl6052.c 17KB
ieee80211_softmac_wx.c 16KB
r8192S_firmware.c 15KB
r819xU_cmdpkt.c 14KB
ieee80211_crypt_ccmp.c 13KB
ieee80211_module.c 12KB
aes.c 12KB
ieee80211_crypt_wep.c 10KB
r8190_rtl8256.c 9KB
cipher.c 8KB
ieee80211_crypt.c 6KB
dot11d.c 5KB
api.c 5KB
r8192S_rtl8225.c 5KB
r8180_93cx6.c 4KB
michael_mic.c 4KB
scatterwalk.c 3KB
r8192U_pm.c 3KB
digest.c 3KB
proc.c 3KB
arc4.c 2KB
compress.c 2KB
autoload.c 940B
changes 79B
wpa1.conf 338B
copying 18KB
entries 420B
wpa_supplicant-0.6.9.tar.gz 1.12MB
r8192S_FwImgDTM.h 270KB
ieee80211.h 117KB
r8192U.h 47KB
r8192S_phyreg.h 34KB
r819xU_phyreg.h 33KB
r8192S_hw.h 32KB
r8192U_hw.h 21KB
rtl819x_Qos.h 18KB
rtl_crypto.h 13KB
r8192u_mp.h 11KB
rtl819x_HT.h 11KB
r8192U_dm.h 8KB
r819xU_HTType.h 7KB
r8192S_firmware.h 5KB
EndianFree.h 5KB
r8192S_phy.h 5KB
r819xU_cmdpkt.h 5KB
r819xU_phy.h 4KB
dot11d.h 4KB
r8192S_rtl6052.h 3KB
dot11d.h 3KB
ieee80211_crypt.h 3KB
internal.h 3KB
r819xU_firmware.h 3KB
r8192SU_led.h 3KB
r8192S_Efuse.h 3KB
r8192SU_HWImg.h 3KB
crypto_compat.h 2KB
r819xU_HTGen.h 2KB
rtl819x_BA.h 2KB
rtl819x_TS.h 2KB
r819xU_firmware_img.h 2KB
scatterwalk.h 2KB
r8180_93cx6.h 2KB
r8192S_rtl8225.h 2KB
r8190_rtl8256.h 2KB
r8192U_pm.h 1KB
r8192U_wx.h 1KB
kmap_types.h 236B
ifcfg-wlan0 54B
license 18KB
license 18KB
Makefile 11KB
Makefile 6KB
Makefile 1KB
readme 8KB
release_note 359B
runwpa 423B
wireless-rtl-ac-dc-power.sh 3KB
RadioPower.sh 683B
共 106 条
- 1
- 2
资源评论
朱moyimi
- 粉丝: 61
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功