wifiphisher / roguehostapd

Hostapd fork including Wi-Fi attacks and providing Python bindings with ctypes.
BSD 3-Clause "New" or "Revised" License
175 stars 67 forks source link

I have a problem installing hostapd --need help-- #6

Open bingoabdulla opened 6 years ago

bingoabdulla commented 6 years ago

I am using kali linux 2.0, i have dell latitude e6410.. I am haing touble to install hostapdfile:///root/Pictures/Screenshot%20from%202018-05-12%2015:54:53.png

bingoabdulla commented 6 years ago

root@kali:~/Desktop/roguehostapd-master# python setup.py install /tmp/tmp_netlink_MR3VY0/test_netlink.c:2:29: fatal error: netlink/netlink.h: No such file or directory

include <netlink/netlink.h>

                         ^

compilation terminated. [!] The development package for netlink is missing. Please download it and restart the compilation.If you are on Debian-based system: 'apt-get install libnl-3-dev libnl-genl-3-dev'. warning: no files found matching '*' under directory 'roguehostapd/'

anakin1028 commented 6 years ago

Hi can you follow the instructions to install libnl?

bingoabdulla commented 6 years ago

i tried apt-get install libnl-3-dev and apt-get install libnl-genl-3-dev

and then i tried to install roguehostapd and i get this=

root@kali:~/Desktop/roguehostapd-master# python setup.py install /tmp/tmp_openssl_2XHNaZ/test_openssl.c:2:25: fatal error: openssl/ssl.h: No such file or directory

include <openssl/ssl.h>

                     ^

compilation terminated. [!] The development package for openssl is missing. Please download it and restart the compilation.If you are on Debian-based system: 'apt-get install libssl-dev'. warning: no files found matching '*' under directory 'roguehostapd/'

then i tried= apt-get install libssl-dev ..i got this

root@kali:~/Desktop/roguehostapd-master# apt-get install libssl-dev Reading package lists... Done Building dependency tree
Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: libssl-dev : Depends: libssl1.0.0 (= 1.0.1k-3) but 1.0.1k-3+deb8u1 is to be installed E: Unable to correct problems, you have held broken packages.

--please help--

bingoabdulla commented 6 years ago

i checked

root@kali:~/Desktop/roguehostapd-master# apt-cache policy libssl1.0.0 libssl1.0.0: Installed: 1.0.1k-3+deb8u1 Candidate: 1.0.1k-3+deb8u1 Version table: *** 1.0.1k-3+deb8u1 0 100 /var/lib/dpkg/status 1.0.1k-3 0 500 http://old.kali.org/kali/ sana/main i386 Packages root@kali:~/Desktop/roguehostapd-master# apt-cache policy libssl-dev libssl-dev: Installed: (none) Candidate: 1.0.1k-3 Version table: 1.0.1k-3 0 500 http://old.kali.org/kali/ sana/main i386 Packages

and then i installed

root@kali:~/Desktop/roguehostapd-master# apt-get install libssl1.0.0=1.0.1k-3 Reading package lists... Done Building dependency tree
Reading state information... Done The following packages will be DOWNGRADED: libssl1.0.0 0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 60 not upgraded. Need to get 2,120 kB of archives. After this operation, 8,192 B disk space will be freed. Do you want to continue? [Y/n] y WARNING: The following packages cannot be authenticated! libssl1.0.0 Install these packages without verification? [y/N] y Get:1 http://old.kali.org/kali/ sana/main libssl1.0.0 i386 1.0.1k-3 [2,120 kB] Fetched 2,120 kB in 7s (266 kB/s)
Preconfiguring packages ... dpkg: warning: downgrading libssl1.0.0:i386 from 1.0.1k-3+deb8u1 to 1.0.1k-3 (Reading database ... 325236 files and directories currently installed.) Preparing to unpack .../libssl1.0.0_1.0.1k-3_i386.deb ... Unpacking libssl1.0.0:i386 (1.0.1k-3) over (1.0.1k-3+deb8u1) ... Setting up libssl1.0.0:i386 (1.0.1k-3) ... Processing triggers for libc-bin (2.19-18) ... root@kali:~/Desktop/roguehostapd-master#

and

root@kali:~/Desktop/roguehostapd-master# apt-get install libssl-dev=1.0.1k-3 Reading package lists... Done Building dependency tree
Reading state information... Done The following NEW packages will be installed: libssl-dev 0 upgraded, 1 newly installed, 0 to remove and 60 not upgraded. Need to get 1,249 kB of archives. After this operation, 5,347 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! libssl-dev Install these packages without verification? [y/N] y Get:1 http://old.kali.org/kali/ sana/main libssl-dev i386 1.0.1k-3 [1,249 kB] Fetched 1,249 kB in 10s (117 kB/s)
Selecting previously unselected package libssl-dev:i386. (Reading database ... 325236 files and directories currently installed.) Preparing to unpack .../libssl-dev_1.0.1k-3_i386.deb ... Unpacking libssl-dev:i386 (1.0.1k-3) ... Setting up libssl-dev:i386 (1.0.1k-3) ... root@kali:~/Desktop/roguehostapd-master# python setup.py install warning: no files found matching '*' under directory 'roguehostapd/' root@kali:~/Desktop/roguehostapd-master#

root@kali:~/Desktop/roguehostapd-master# apt-get install libssl-dev Reading package lists... Done Building dependency tree
Reading state information... Done libssl-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 60 not upgraded.

root@kali:~/Desktop/roguehostapd-master# python setup.py install warning: no files found matching '*' under directory 'roguehostapd/' root@kali:~/Desktop/roguehostapd-master#

--Still cant install roguehostapd-- --have i done something wrong ?. Please help--

LuckManger commented 4 years ago

brother you question sloution?