Jump to content

Auto start Karma and DNS spoof on MK3

Recommended Posts

Hello guys,

I got a Pineapple MK2 and i flashed it with the MK3 software today.

Now im wondering how to get Karma and DNS Spoof to run on start.

found 2 topics with the same question but no answer:


Link to comment
Share on other sites

You will want to add the start commands to your /etc/rc.local file:

hostapd_cli -p /var/run/hostapd-phy0 karma_enable
dnsspoof -i br-lan -f /pineapple/config/spoofhost > /dev/null 2>/pineapple/logs/dnsspoof.log 

You may have to edit the dnsspoof parameters but otherwise this will work.

Link to comment
Share on other sites

hi Sebkinne,

thx for your reply. i olmost got it to work,

i looked at the php file's of the webinterface and i changed the lines in rc.local to this:


that worked for karma.

i changed your line for dnsspoof to this:

dnsspoof -i br-lan -f /www/pineapple/spoofhost > /dev/null 2>/www/pineapple/dnsspoof.log

this works from the cli line but not when put in the rc.local file and rebooting the device.

i also tried putting /www/pineapple/dnsspoof.sh in the rc.local file but also no luck.

when running ps aux | grep dns after booting it does not show a proces running

Edited by Arsenius
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...