Skip to content

Commit 3521f8c

Browse files
committed
Merge remote-tracking branch 'origin/master' into v2.11-patch-changes
2 parents 0b283d2 + 81cafc1 commit 3521f8c

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

README.md

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,26 @@ Patch: for hostapd v2.10/2.11
1010

1111
## Instructions
1212

13+
You will require a few packeges in order to compile hostapd, you can build them yourself or install the binary
14+
15+
``` bash
16+
apt install pkgconf libnl-genl-3-dev
17+
```
18+
19+
For openssl it will be a bit more involving
20+
21+
``` bash
22+
git clone https://github.com/openssl/openssl.git
23+
cd openssl
24+
./Configure
25+
make -j8
26+
make install
27+
```
28+
1329
Download hostapd
1430
```
1531
git clone git://w1.fi/hostap.git
32+
cd hostap
1633
```
1734

1835
Apply patch
@@ -21,10 +38,24 @@ git checkout hostap_2_10
2138
git apply For_intel_Wi-Fi_cards_v2_10.patch
2239
```
2340

24-
Build
41+
``` bash
42+
cd ./hostapd
43+
cp defconfig .config
2544
```
26-
cd src
27-
make -j8
45+
46+
Edit .config file and add:
47+
``` bash
48+
CFLAGS += -I/usr/include/libnl3
49+
CONFIG_IEEE80211AC=y
50+
CONFIG_IEEE80211AX=y
51+
CONFIG_SAE=y
52+
CONFIG_SAE_PK=y
53+
```
54+
55+
Finally build hostapd:
56+
57+
```bash
58+
make build
2859
```
2960

3061
After copying the modifyed version to your system, run the command bellow so that the file doesn't get replaced or delete in case of system updates:

0 commit comments

Comments
 (0)