⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 rtl8187的源码
💻 TXT
字号:
Release Date: 2006-01-24, ver 1.1
RTL8187 Linux driver version 1.1

--This driver supports RealTek RTL8187 Wireless LAN driver for Linux Debian3.1 kernel 2.6.13

//-----------------------------------------------------------------------------
// Files description.
//-----------------------------------------------------------------------------
1. Include ko files
        module_DB31.tar.gz

2. Script to load/unload modules
	./load
	./unload 

3. Supplicant source code:
	./wpa_supplicant-0.3.8.tar.gz

4. Example of supplicant configuration file:
	./wpa1.conf

//-----------------------------------------------------------------------------
// Insert modules.
//-----------------------------------------------------------------------------
1. Insert modules:
	
	insmod ieee80211_crypt-rtl.ko
	insmod ieee80211_crypt_wep-rtl.ko
	insmod ieee80211_crypt_tkip-rtl.ko
	insmod ieee80211_crypt_ccmp-rtl.ko
	insmod ieee80211-rtl.ko	
	insmod r8187.ko


//-----------------------------------------------------------------------------
// Remove modules.
//-----------------------------------------------------------------------------
1. Remove related modules:
	rmmod r8187.ko
	rmmod ieee80211-rtl.ko
	rmmod ieee80211_crypt_ccmp-rtl.ko
	rmmod ieee80211_crypt_tkip-rtl.ko
	rmmod ieee80211_crypt_wep-rtl.ko
	rmmod ieee80211_crypt-rtl.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 &

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -