File tree Expand file tree Collapse file tree 1 file changed +30
-3
lines changed Expand file tree Collapse file tree 1 file changed +30
-3
lines changed Original file line number Diff line number Diff 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+
1329Download hostapd
1430```
1531git clone git://w1.fi/hostap.git
32+ cd hostap
1633```
1734
1835Apply patch
@@ -21,10 +38,20 @@ git checkout hostap_2_10
2138git 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+ ```
50+
51+ Finally build hostapd:
52+
53+ ``` bash
54+ make build
2855```
2956
3057After 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:
You can’t perform that action at this time.
0 commit comments