PDA

View Full Version : Problem with Mana



dead19
2016-03-10, 06:57
When i start mana from kali nethunter app and i set the interface wlan1 that's my tp-link and it is work and start mana there is error massage

-- wlan1: flushing interface -- Device "wlan1" does not exist.
-- wlan1: setting ip --
Cannot find device "wlan1"
-- wlan1: starting the interface --
Cannot find device "wlan1"
-- wlan1: setting route --
Cannot find device "wlan1"
Configuration file: /sdcard/nh_files/configs/hostapd-karma.conf
Could not read interface wlan1 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
Could not read interface wlan1 flags: No such device
nl80211 driver initialization failed.
hostapd_free_hapd_data: Interface wlan1 wasn't started
Internet Systems Consortium DHCP Server 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/mana-toolkit/dhcpd.conf
Database file: /var/lib/dhcp/dhcpd.leases
PID file: /var/run/dhcpd.pid
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory --
check for failed database rewrite attempt!
Please read the dhcpd.leases manual page if you
don't know what to do about this.

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Cannot find device "wlan1"
Hit enter to kill me

Device "wlan1" does not exist.
Cannot find device "wlan1"
root@WRT54G:/#


Even i run it from terminal there is an error and i edit hostapd-karam and set my wlan1 nothing happend


Sorry for bad english

zerocool
2016-03-30, 14:32
I manage to fix the interface issue by changing both interface options in /etc/mana-toolkit/hostapd-karma.conf and the startup script.

My only issue now is


Config file: /etc/mana-toolkit/dhcpd.conf
Database file: /var/lib/dhcp/dhcpd.leases
PID file: /var/run/dhcpd.pid
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory --
check for failed database rewrite attempt!


running latest kali 4.4.0-kali1-686-pae #1 SMP Debian 4.4.6-1kali1 (2016-03-18) i686 GNU/Linux


EDIT
After doing some research i created an file called dhcpd.leases in the location /var/lib/dhcp/ i added a # saved file then restart man and you should be all good to go.