0% found this document useful (0 votes)
76 views2 pages

Wireless Tools Porting Guide

This document provides instructions for porting wireless extension tools to a target platform. It describes how to compile and install wpa_supplicant, hostapd, and wireless tools. For wpa_supplicant and hostapd, it involves unzipping files, editing Makefiles to set the compiler, compiling, and copying files to the target. For wireless tools, it describes compiling after extracting files and editing the Makefile, and copying executables and libraries to the target. For Android, it specifies copying the wireless tools files to the Android SDK and running make.

Uploaded by

vijay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views2 pages

Wireless Tools Porting Guide

This document provides instructions for porting wireless extension tools to a target platform. It describes how to compile and install wpa_supplicant, hostapd, and wireless tools. For wpa_supplicant and hostapd, it involves unzipping files, editing Makefiles to set the compiler, compiling, and copying files to the target. For wireless tools, it describes compiling after extracting files and editing the Makefile, and copying executables and libraries to the target. For Android, it specifies copying the wireless tools files to the Android SDK and running make.

Uploaded by

vijay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

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 <ANDROID_SDK>/external/
(3)cd <ANDROID_SDK>
(4)make iwconfig iwlist iwpriv

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy