Remote Exploit Forums

Go Back   Remote Exploit Forums > BackTrack 4 (pre) Final > BackTrack 4 Bugs and Fixes


BackTrack 4 Bugs and Fixes Post bugs here. Even better, post FIXES here !

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-07-2009, 11:53 PM
Junior Member
 
Join Date: Oct 2009
Posts: 13
Default airsnarf and dhcpd3 problem

hi! after the last updates dhcpd3 has a problem starting.

it appears on startup and even when i restart it the problem still remains! for example when i start airsnarf (which btw doesn't work properly - is it because of dhcpd3?) this is the output:
Code:
root@k0niek-laptop:/pentest/wireless/airsnarf# ./airsnarf
Airsnarf - A rogue AP setup utility.
0.2
The Shmoo Group
------------------------------------
Creating dhcpd.conf...Done.
Building the captive portal...chmod: cannot access `/var/www/cgi-bin/*': Not a directory
Done.
Setting the wireless parameters...Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.
Done.
Setting the ip address and default route...Done.
Stopping DHCP server: dhcpd3 failed!
Starting DHCP server: dhcpd3* check syslog for diagnostics.
 failed!
Restarting web server: apache2apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
 failed!
Restarting Mail Transport Agent (MTA): sendmail
Setting up firewall to redirect DNS...Done.
Starting local DNS resolver...

Creating TCP socket 0#53 - done.
Creating UDP socket 0#53 - done.
Waiting for connections...
sendmail also takes more than a minute to start but i will work on fixing that. i know that i should change my /etc/hosts but i'll let you know as soon as i figure out the exact fix.
Reply With Quote
  #2 (permalink)  
Old 10-08-2009, 09:30 AM
Member
 
Join Date: Sep 2009
Posts: 44
Default

Quote:
dhcpd3*
failed to here...

don't remember but i saw an error related with firefox 3.5

an sorry if I'm wrong
Reply With Quote
  #3 (permalink)  
Old 10-12-2009, 06:37 PM
Junior Member
 
Join Date: Oct 2009
Posts: 13
Default

sorry I posted the same topic again by mistake but i guess it is not going to be uploaded. in the new topic i also included the fix for sendmail. here it is just in case:


edit /etc/hosts to

Code:
127.0.0.1       localhost
127.0.1.1       k0niek-laptop.local k0niek-laptop

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
and of course change k0niek-laptop to your local domain things will work much much faster.
Reply With Quote
  #4 (permalink)  
Old 10-12-2009, 06:42 PM
Junior Member
 
Join Date: Oct 2009
Posts: 13
Default

Quote:
Originally Posted by manulu View Post
failed to here...

don't remember but i saw an error related with firefox 3.5

an sorry if I'm wrong
yeah i saw that too but after an update things seem to be working and during startup i get no errors from dhcpd3. it only appears when i start airsnarf. also airsnarf only loads an apache index.html so if i connect to localhost i can see it but it does not create a "hotspot" or does not send to my root mail the info i enter as username and password. is it a dhcpd3 fault? i think so :/
Reply With Quote
  #5 (permalink)  
Old 10-17-2009, 04:23 AM
Junior Member
 
Join Date: Oct 2009
Posts: 13
Default

so has anyone managed to make airsnarf work?
Reply With Quote
  #6 (permalink)  
Old 10-20-2009, 11:26 PM
Just burned his ISO
 
Join Date: Oct 2009
Posts: 4
Default

I don't know about airsnarf but when I run airmon I get a message that "one or more procceses may cause arirmon to fail <pid> dhcpd3 ". I just run kill <pid> (for dhcpd3)
and restart airmon and everything seems to work.
__________________
'To comprehend what mathematicians mean by infinity is to contemplate the extent of human stupidity.' --Voltaire
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2