How to install hostapd-wpe on Raspberry Pi
Opened this issue · 7 comments
I want to study airgeddon on Raspberry Pi 4 OS, but it says hostapd-wpe is missing. I found that hostapd dependency is installed by default on Raspberry Pi system. Is hostapd not equivalent to hostapd-wpe? How can I install hostapd-wpe successfully? Thank you.
System version: Debian GNU/Linux 11 (bullseye)
You won't be able to apt install hostapd-wpe itself since it is a patch to hostapd. Unless you are using Kali Linux.
To address your screenshot of missing "libnl-dev", I'd try to instead install "libnl-3-dev".
The rest of your screenshots don't seem to be showing that you're following the "Building" instructions in the readme.
If you would rather avoid manually building I suggest installing Kali Linux on your Pi, which does contain a hostapd-wpe package.
Hope that helps!
You won't be able to apt install hostapd-wpe itself since it is a patch to hostapd. Unless you are using Kali Linux.
To address your screenshot of missing "libnl-dev", I'd try to instead install "libnl-3-dev".
The rest of your screenshots don't seem to be showing that you're following the "Building" instructions in the readme.
If you would rather avoid manually building I suggest installing Kali Linux on your Pi, which does contain a hostapd-wpe package.
Hope that helps!
I just want to build it manually but it didn't work. I don't want to use kali linux, so I use the Raspberry Pi system. libnl-3-dev is installed. How should I build it? I don't understand the documentation.
I'm not sure how I can help without more specific errors from the docs.
Basically I would set up a space to install/build:
$ sudo -i
$ cd /opt/
Then I'd follow the docs:
General
Now apply the hostapd-wpe.patch:
$ git clone https://github.com/OpenSecurityResearch/hostapd-wpe
$ wget http://hostap.epitest.fi/releases/hostapd-2.6.tar.gz
$ tar -zxf hostapd-2.6.tar.gz
$ cd hostapd-2.6
$ patch -p1 < ../hostapd-wpe/hostapd-wpe.patch
$ cd hostapd
If you're using Kali 2.0 edit .config file and uncomment:
CONFIG_LIBNL32=y
$ make
I copied the certs directory and scripts from FreeRADIUS to ease that
portion of things. You should just be able to:
$ cd ../../hostapd-wpe/certs
$ ./bootstrap
then finally just:
$ cd ../../hostapd-2.6/hostapd
$ sudo ./hostapd-wpe hostapd-wpe.conf
I'm not sure how I can help without more specific errors from the docs.
Basically I would set up a space to install/build:
$ sudo -i $ cd /opt/
Then I'd follow the docs:
General
Now apply the hostapd-wpe.patch: $ git clone https://github.com/OpenSecurityResearch/hostapd-wpe $ wget http://hostap.epitest.fi/releases/hostapd-2.6.tar.gz $ tar -zxf hostapd-2.6.tar.gz $ cd hostapd-2.6 $ patch -p1 < ../hostapd-wpe/hostapd-wpe.patch $ cd hostapd If you're using Kali 2.0 edit .config file and uncomment: CONFIG_LIBNL32=y $ make I copied the certs directory and scripts from FreeRADIUS to ease that portion of things. You should just be able to: $ cd ../../hostapd-wpe/certs $ ./bootstrap then finally just: $ cd ../../hostapd-2.6/hostapd $ sudo ./hostapd-wpe hostapd-wpe.conf
What does hostapd-2.6.tar.gz do here? Doesn't my Raspberry Pi come with hostapd by default? The version is newer than 2.6 Why do I need to install and compile it? wget http://hostap.epitest.fi/releases/hostapd-2.6.tar.gz is a dead link http code 404 I have downloaded hostapd-2.6.tar.gz using another link I am trying again It is 03:55 AM I got up late at night and turned on my computer but it still doesn't work Error message It is frustrating
I read the issue #1 which mentioned installing Solved by apt-get install libssl1.0-dev but it doesn't work for me
I'm not sure how I can help without more specific errors from the docs.
Basically I would set up a space to install/build:
$ sudo -i
$ cd /opt/Then I'd follow the docs:
General
Now apply the hostapd-wpe.patch: $ git clone https://github.com/OpenSecurityResearch/hostapd-wpe $ wget http://hostap.epitest.fi/releases/hostapd-2.6.tar.gz $ tar -zxf hostapd-2.6.tar.gz $ cd hostapd-2.6 $ patch -p1 < ../hostapd-wpe/hostapd-wpe.patch $ cd hostapd If you're using Kali 2.0 edit .config file and uncomment: CONFIG_LIBNL32=y $ make I copied the certs directory and scripts from FreeRADIUS to ease that portion of things. You should just be able to: $ cd ../../hostapd-wpe/certs $ ./bootstrap then finally just: $ cd ../../hostapd-2.6/hostapd $ sudo ./hostapd-wpe hostapd-wpe.conf
@decidedlygray So what is the reason for this? Thank you. What should I do?
I'm not sure how I can help without more specific errors from the docs.
Basically I would set up a space to install/build:
$ sudo -i
$ cd /opt/Then I'd follow the docs:
General
Now apply the hostapd-wpe.patch: $ git clone https://github.com/OpenSecurityResearch/hostapd-wpe $ wget http://hostap.epitest.fi/releases/hostapd-2.6.tar.gz $ tar -zxf hostapd-2.6.tar.gz $ cd hostapd-2.6 $ patch -p1 < ../hostapd-wpe/hostapd-wpe.patch $ cd hostapd If you're using Kali 2.0 edit .config file and uncomment: CONFIG_LIBNL32=y $ make I copied the certs directory and scripts from FreeRADIUS to ease that portion of things. You should just be able to: $ cd ../../hostapd-wpe/certs $ ./bootstrap then finally just: $ cd ../../hostapd-2.6/hostapd $ sudo ./hostapd-wpe hostapd-wpe.conf
I have provided the error information. What should I do? Thank you.
@decidedlygray Hi, brother, I have uploaded the compilation error message why is there no message? What should I do with this error? I look forward to your help. Thank you.