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

📄 readme.txt

📁 WG111 -- Netgear网件公司无线usb网卡, Linux驱动源码
💻 TXT
字号:
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 &

⌨️ 快捷键说明

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