Jump to content

phlewpy

Active Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by phlewpy

  1. Ok so I decided to run hostapd manually to better understand whats actually going on.

    hostapd -dd -t -K /etc/hostapd/karma.conf.old
    

    The /etc/hostapd/karma.conf.old looks like:

    # config file to use with the Karma'd version of hostapd
    # created by Robin Wood - robin@digininja.org - www.digininja.org
    # This file is currently outdated but may become useful in the future
    
    interface=wlan0
    driver=nl80211
    ssid=internet
    channel=1
    hw_mode=g
    
    # both open and shared auth
    auth_algs=3
    
    # no SSID cloaking
    ignore_broadcast_ssid=0
    
    logger_syslog=-1
    logger_stdout=-1
    logger_syslog_level=3
    logger_stdout_level=3
    dump_file=/tmp/hostapd.dump
    ctrl_interface=/var/run/hostapd
    ctrl_interface_group=0
    
    # 0 = accept unless in deny list
    macaddr_acl=0
    
    # only used if you want to do filter by MAC address
    #accept_mac_file=/etc/hostapd/hostapd.accept
    #deny_mac_file=/etc/hostapd/hostapd.deny
    
    # enable karma
    enable_karma=1
    

    So now I can see that Pineapple actually sees a lot of probes:

    1336372606.882698: KARMA CTRL_IFACE Requested ESSID is PTC_Wifi
    1336372606.882747: KARMA: Probe Request from 40:30:04:15:10:04 for SSID 'PTC_Wifi'
    1336372606.882938: KARMA ssid malloc'd so free it
    
    1336372606.884085: KARMA CTRL_IFACE Karam is enabled for handling probe request
    
    1336372606.884192: KARMA CTRL_IFACE Requested ESSID is Bezeq-n_512A
    1336372606.884247: KARMA: Probe Request from 40:30:04:15:10:04 for SSID 'Bezeq-n_512A'
    1336372606.884459: KARMA ssid malloc'd so free it
    
    1336372606.885472: KARMA CTRL_IFACE Karam is enabled for handling probe request
    
    1336372606.885577: KARMA CTRL_IFACE Requested ESSID is Helix
    1336372606.885627: KARMA: Probe Request from 40:30:04:15:10:04 for SSID 'Helix'
    1336372606.885988: KARMA ssid malloc'd so free it
    
    1336372606.886355: KARMA CTRL_IFACE Karam is enabled for handling probe request
    
    1336372606.886421: KARMA CTRL_IFACE Requested ESSID is Aroma.co.il
    1336372606.886470: KARMA: Probe Request from 40:30:04:15:10:04 for SSID 'Aroma.co.il'
    1336372606.886659: KARMA ssid malloc'd so free it
    
    1336372606.887549: KARMA CTRL_IFACE Karam is enabled for handling probe request
    

    However none of those clients is connected to the Pineapple.

    How do I know that answers are actually sent??

    Where do I get the source of hostapd with karma module?

  2. I went to another location today. Again no luck.

    Do you think that the channel hopping issues is related?

    How do I resolve it?

    iwconfig:

    wlan0     IEEE 802.11bgn  Mode:Master  Frequency:2.462 GHz  Tx-Power=18 dBm
              RTS thr:off   Fragment thr:off
              Power Management:on
    
    mon.wlan0  IEEE 802.11bgn  Mode:Monitor  Frequency:2.462 GHz  Tx-Power=18 dBm
              RTS thr:off   Fragment thr:off
              Power Management:on
    

    airmon-ng

    
    root@Pineapple:~# airmon-ng
    
    
    Interface       Chipset         Driver
    
    wlan0           Atheros         ath9k - [phy0]
    mon.wlan0               Atheros         ath9k - [phy0]
    IEEE            Unknown         Unknown (MONITOR MODE NOT SUPPORTED)
    802.11bgn               Unknown         Unknown (MONITOR MODE NOT SUPPORTED)
    Mode:Monitor            Unknown         Unknown (MONITOR MODE NOT SUPPORTED)
    Frequency:2.462         Unknown         Unknown (MONITOR MODE NOT SUPPORTED)
    GHz             Unknown         Unknown (MONITOR MODE NOT SUPPORTED)
    Tx-Power=18             Unknown         Unknown (MONITOR MODE NOT SUPPORTED)
    dBm             Unknown         Unknown (MONITOR MODE NOT SUPPORTED)
    

    Ideas?

  3. Have you connected to 172.16.42.1/pineapple ? and turned on karma? the feature that is the special sauce.

    Sure.

    channel hopping is a known thing to change channels you have to bring down the interface and back up but when you do that karma and wifi will most likely not be functioning anymore.

    Is the channel hopping what's stopping Karma from working?

    How do I fix it exactly?

    I am waiting until someone figures how to get a usb wifi card working on the pineapple:-)

    It's kind disappointing you need a usb wifi card on pineapple, the whole idea is to have small evil packed box :)

  4. Hi Guys,

    Just got my MK4 a few days ago.

    I have set it up with version 2.0. and made it route to the Internet via my Laptop.

    Routing works just fine. I have started Karma.

    I was able to manually add a wireless AP RandomNonExisten3876 and connect to it on my Android smarthone.

    The Pineapple answered 'Ja' and the smartphone routed it's data via the Pineapple.

    However:

    1) I'm unable to find any clients that would connect to my pineapple. This is very strange - I'm located in a very Wifi dense place (More then 10 APs around me). Any ideas o n what's going on?

    2) When I connected via ssh and run airodump-ng -i mon.wlan0 i see that the pineapple is locked on channel 11 and not doing any channel hopping.

    So i'm thinking maybe the channel lock causes my pineapple not to pick up client requests?

    What do you think?

    P.

×
×
  • Create New...