rtl8187_linuxdrv_V1.0
所属分类:驱动编程
开发工具:Unix_Linux
文件大小:426KB
下载次数:56
上传日期:2006-12-02 11:32:18
上 传 者:
wanghun
说明: WG111 -- Netgear网件公司无线usb网卡, Linux驱动源码
(WG111-- Netgear NETGEAR wireless usb card companies, the source Linux Drivers)
文件列表:
build (93, 2005-10-03)
drv.tar.gz (57337, 2005-10-25)
load (228, 2005-10-21)
stack.tar.gz (70936, 2005-10-21)
unload (187, 2005-10-21)
wpa1.conf (19784, 2005-10-20)
wpa_supplicant-0.3.8.tar.gz (301163, 2005-02-14)
Release Date: 2005-10-21, ver 1.0
//-----------------------------------------------------------------------------
// Files description.
//-----------------------------------------------------------------------------
1. Module source code:
./stack.tar.gz
./drv.tar.gz
2. Script ot build the modules
./build
3. Script to load/unload modules
./load
./unload
4. Supplicant source code:
./wpa_supplicant-0.3.8.tar.gz
5. Example of supplicant configuration file:
./wpa1.conf
//-----------------------------------------------------------------------------
// Build source code and insert modules.
//-----------------------------------------------------------------------------
1. Unpack source code:
tar -zxvf stack.tar.gz
tar -zxvf drv.tar.gz
2. Build and insert modules:
cd ieee80211/
make clean;make
insmod ieee80211_crypt.ko
insmod ieee80211_crypt_wep.ko
insmod ieee80211_crypt_tkip.ko
insmod ieee80211_crypt_ccmp.ko
insmod ieee80211-r8180.ko
cd -
cd beta-8187/
make clean;make
insmod r8187.ko
//-----------------------------------------------------------------------------
// Remove modules.
//-----------------------------------------------------------------------------
1. Remove related modules:
rmmod r8187.ko
rmmod ieee80211-r8180.ko
rmmod ieee80211_crypt_ccmp.ko
rmmod ieee80211_crypt_tkip.ko
rmmod ieee80211_crypt_wep.ko
rmmod ieee80211_crypt.ko
//-----------------------------------------------------------------------------
// Enable the device.
//-----------------------------------------------------------------------------
1. Make sure RTL8187 dongle is plugged.
2. Enalbe the device:
ifconfig wlan0 up
//-----------------------------------------------------------------------------
// Disable the device.
//-----------------------------------------------------------------------------
1. Disable the device:
ifconfig wlan0 down
//-----------------------------------------------------------------------------
// Join a BSS and set up IP address.
//-----------------------------------------------------------------------------
1. Scan BSS available:
iwlist wlan0 scan
2. Join a BSS:
iwconfig wlan0 essid SSID_TO_JOIN
3. Set up IP address of the device:
ifconfig wlan0 IP_ADDRESS
//-----------------------------------------------------------------------------
// WPA supplicant
//-----------------------------------------------------------------------------
1. Unpack source code of WPA supplicant:
tar -zxvf wpa_supplicant-0.3.8.tar.gz
cd wpa_supplicant-0.3.8
2. Create .config file:
cp defconfig .config
3. Edit .config file, uncomment the following line:
#CONFIG_DRIVER_IPW=y.
4. Build WPA supplicant:
make
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".
network={
ssid="BufAG54_Ch6"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="87654321"
priority=2
}
6. Execute WPA supplicant (Assume 8187 and related modules had been loaded):
./wpa_supplicant -D ipw -c wpa1.conf -i wlan0 &
近期下载者:
相关文件:
收藏者: