Skip to content

Commit f938ccf

Browse files
committed
Create README
1 parent c4e01e6 commit f938ccf

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Statically linked Wi-Fi tools for Linux/Android
2+
This repository contains scripts for building statically linked **iw** and **wpa_supplicant** tools for Linux, which probably work on any Linux/Android distribution/version.
3+
### Tested build environments:
4+
* Alpine Linux edge armhf (running on Android under Linux Deploy)
5+
* Alpine Linux edge aarch64 (running on Android under Linux Deploy)
6+
## How to build
7+
### Install requirements (Alpine Linux edge)
8+
```
9+
apk add build-base bison flex gawk linux-headers pkgconf readline-static perl
10+
```
11+
### Build
12+
#### iw
13+
`make iw`
14+
15+
#### wpa_supplicant
16+
`wpa_supplicant_build_config` file contains minimal wpa_supplicant build configuration with built-in cryptographic engine (does not depend on OpenSSL). Edit this file according to your needs, then run:
17+
`make wpa_supplicant`
18+
Note: if you want to use OpenSSL, firstly build it with `make openssl` then add to the wpa_supplicant config following (change the path to prefix directory):
19+
`CFLAGS += -I/the/absolute/path/to/the/prefix/include`
20+
#### iw and wpa_supplicant both (excluding openssl)
21+
`make`
22+
### Once built, the executables will be located in the `binaries/` folder

0 commit comments

Comments
 (0)