Tuesday, September 29, 2020

Building hostapd application for Linux Platform

Building hostapd (Native Compilation)

Below are the Steps to build hostapd source code.

1. Download the hostapd latest release source code from below link 

https://w1.fi/hostapd/

2. Extract the hostapd source code using below command 

$tar -xzvf hostapd-2.9.tar.gz

3. install the dependent tools

Installing Net-link library

$sudo apt-get install libnl-genl-3-dev

Installing SSL library

$sudo apt-get install libssl-dev

4. Build hostapd source code 

$cd hostapd-2.9/hostapd

$cp defconfig .config

$cd ../

$make

 

Now you will be able to find out hostapd and hostapd_cli application binary 

No comments:

Post a Comment