Wireless Extension Tools Porting Guide

Wireless_tools_porting_guide

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 2

DownloadWireless Extension Tools Porting Guide
Open PDF In BrowserView PDF
Wireless extension tools porting guide
export PATH=$PATH:/toolchain/bin/

(A) wpa_supplicant_hostapd-0.8_rtw_20111118.zip
(1) wpa_supplicant
(1-1)unzip wpa_supplicant_hostapd-0.8_rtw_20111118.zip
(1-2)cd wpa_supplicant_hostapd-0.8\wpa_supplicant
(1-3) vim Makefile
added:
CC = mipsel-linux-gcc
(1-4)make
(1-5)copy "wpa_supplicant" and "wpa_cli" to target platform
(1-6)copy "wpa_0_8.conf" file to target platform
(1-7)./wpa_supplicant -iwlan0 -Dwext -c wpa_0_8.conf -dd &
(1-8)./wps_cli (for wps in Interactive mode)
(1-9) > help
> wps_pbc
> wps_pin any 12345678

(2) hostapd
(1-1)unzip wpa_supplicant_hostapd-0.8_rtw_20111118.zip
(1-2)cd wpa_supplicant_hostapd-0.8\hostapd
(1-3) vim Makefile
added:
CC = mipsel-linux-gcc
(1-4)make
(1-5)copy "hostapd" and "hostapd_cli" to target platform
(1-6)copy "rtl_hostapd.conf" file to target platform
(1-7)start hostapd daemon:
./hostapd rtl_hostapd.conf -B

(B) wpa_supplicant-0.6.9_wps_patch_20100201_1.zip
(1)unzip wpa_supplicant-0.6.9_wps_patch_20100201_1.zip
(2)cd wpa_supplicant-0.6.9\wpa_supplicant
(3)cp defconfig .config

(4)vim .config
line 184:
#CONFIG_WPS=y (-)
CONFIG_WPS=y (+)
(5)vim Makefile
added:
CC = mipsel-linux-gcc
(6)make

(C)wireless_tools.30.rtl.tar.gz
For general linux:
(1)tar zxvf wireless_tools.30.rtl.tar.gz
(2)cd wireless_tools.30.rtl
(3)vim Makefile
line 12:
CC = mipsel-linux-gcc
line 14:
AR = mipsel-linux-ar
RANLIB = ranlib
(4)make
(5)copy "iwconfig" and "iwlist" to target platform \usr\bin
(6)copy "iwlib.so" to target platform \lib or \usr\lib

For Android:
(1)tar zxvf wireless_tools.30.rtl.tar.gz
(2)cp wireless_tools.30.rtl /external/
(3)cd 
(4)make iwconfig iwlist iwpriv



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 2
Language                        : zh-TW
Tagged PDF                      : Yes
Title                           : Wireless extension tools porting guide
Author                          : ox01ox01
Creator                         : Microsoft® Word 2010
Create Date                     : 2018:06:11 15:41:46+08:00
Modify Date                     : 2018:06:11 15:41:46+08:00
Producer                        : Microsoft® Word 2010
EXIF Metadata provided by EXIF.tools

Navigation menu