Results 1 to 6 of 6

Thread: airsnarf and dhcpd3 problem

  1. #1
    Just burned his ISO
    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.

  2. #2
    Junior Member
    Join Date
    Jan 2010
    Posts
    76

    Default

    dhcpd3*
    failed to here...

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

    an sorry if I'm wrong

  3. #3
    Just burned his ISO
    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.

  4. #4
    Just burned his ISO
    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 :/

  5. #5
    Just burned his ISO
    Join Date
    Oct 2009
    Posts
    13

    Default

    so has anyone managed to make airsnarf work?

  6. #6
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •