Jump to content

MK1: Step-By-Step Unlocking / Install guide (with pictures)


Recommended Posts

http://10.168.1.254:1471 <---this should be the address of jasager web interface if you followed my post.

what is the IP address of your NIC connected to the fon?

can you ping 10.168.1.254?

what is the output of "route print" (assuming you're running windows)

I was setting my NIC to 10.168.1.1 that was the only way I could SSH into it. I've tried 10.168.1.254:1471 and it didn't work.

Here's the output from ping and route print.

http://img.skitch.com/20091209-myg66enqkj7...7nxfkc1d2mu.jpg

Link to comment
Share on other sites

  • Replies 172
  • Created
  • Last Reply

Top Posters In This Topic

I was setting my NIC to 10.168.1.1 that was the only way I could SSH into it. I've tried 10.168.1.254:1471 and it didn't work.

Here's the output from ping and route print.

http://img.skitch.com/20091209-myg66enqkj7...7nxfkc1d2mu.jpg

ssh into the fon and run this command: ps aux |grep httpd what do you get? similar to this:

root@OpenWrt:~# ps aux |grep httpd
  853 root      1956 S    /usr/sbin/httpd -p 80 -h /www -r OpenWrt
  864 root      1960 S    httpd -p 1471 -h /karma/www -r karma -c /karma/etc/ht

if you don't get any output try this:

root@OpenWrt:~# /etc/init.d/httpd start

then try hitting the web interface.

Link to comment
Share on other sites

I got this and that's it
728  root      1956 S        /user/sbin/httpd -p 80 -h /www -r Openwrt

I tried the command anyways, (Didn't think it would) and it says "Address already in use"

it looks like Jasager web interfaces isn't running. try running /etc/init.d/httpd stop (this stops the web server running on port 80) and then /etc/init.d/jasager start (this starts Jasager web server running on 1471)

ps. what that error "Address already in use" is telling you, is that there is an http server already running on port 80.

pps. if /etc/init.d/jasager start works for you, then enable jasager to run on boot: /etc/init.d/jasager enable now reboot the fon.

Link to comment
Share on other sites

I'm getting a
/etc/init.d/jasager: line19: syntax error:EOF in backqoute substitution

:|

Sounds like there is an issue with start up script. this is the one i have.

#!/bin/sh /etc/rc.common
# Copyright (C) 2008 dninja@gmail.com
START=50

start() {
        include /lib/network
        scan_interfaces
        /karma/bin/create_option_list.rb
        [ -d /karma/www -a -f /karma/etc/httpd.conf ] &amp;&amp; httpd -p 1471 -h /karma/www -r karma -c /karma/etc/ht
        iptables -I FORWARD -i ath0 -o br-lan -j ACCEPT

        logread -f | awk '{if ($0 ~ /(KARMA: |DHCPACK|DHCPDISCOVER|DHCPOFFER|DHCPREQUEST)/) {sub (/ \(.*\).*:
        tail -f /tmp/status.log | /karma/bin/logwatch &amp;
        iwpriv ath0 karma 1
}

stop() {
        killall httpd
}

Link to comment
Share on other sites

Ha, wow. I got it. Here was my problem.

#!/bin/sh /etc/rc.common
# Copyright (C) 2008 dninja@gmail.com
START=50

start() {
        include /lib/network
        scan_interfaces
        /karma/bin/create_option_list.rb
        [ -d /karma/www -a -f /karma/etc/httpd.conf ] &amp;&amp; httpd -p 1471 -h /karma/www -r karma -c /karma/etc/ht
        iptables -I FORWARD -i ath0 -o br-lan -j ACCEPT

        logread -f | awk '{if ($0 ~ /(KARMA: |DHCPACK|DHCPDISCOVER|DHCPOFFER|DHCPREQUEST)/) {sub (/ \(.*\).*:
        tail -f /tmp/status.log | /karma/bin/logwatch &amp; iwpriv ath0 karma 1 &lt;------- Same line -----------
        
}

stop() {
        killall httpd
}

Your tut says "Add iwpriv ath0 karma 1 to the last line of the start() function in" So I added it to the last line. :P Maybe re word it or add a screen shot of what it should look like so other people don't have this problem.

Well thanks for sticking with me and helping. :D

Link to comment
Share on other sites

  • 5 weeks later...
  • 2 weeks later...

Just bought a replacement Fon from eBay and guess what?!?! It came with DD-WRT installed on it! Presumably I can just go ahead and flash with OpenWRT and follow the instructions?

On a related note, I suspect the Jasager is the way forward in pen testing in the UK... as it seems most networks are WPA these days and these that arent have very little traffic.

Link to comment
Share on other sites

Sussed it! Never rush things! I had put the wrong clips in on a 5V FTDI. Took some time to create a 3.3V FTDI cable with some croc clips (from good old Maplins and RS Components) and managed to figure out what was going on. Reflashed with OpenWRT and hey-presto! The fon is back! :D Should mention its probably worth keeping hold of an RS232 cable as they are dead handy. Also, the timing does seem very important with the Fon. Waiting for the +, the redboot etc. Never appreciated that.

I now have 2 Fons. Could sell one but they dont half seem handy! :D Any thoughts? I was thinking Wifi remote control or something since it has an RS232 output.... hmmm

Link to comment
Share on other sites

  • 1 month later...
No, you can install Jasager on Fon, Fon+ and Fon2 but not Fon2n

At first:Sorry; Im a N00b...

Does it work also with the Fon2.0g???

Or is the version "g" not important?

Do I have to downgrade the Firmware before installing the jasager???

Thx a lot

Link to comment
Share on other sites

Question on the setup. Digininja has a setup at http://www.digininja.org/jasager/installation.php and there is this one. The question is which one is the newer way to do the install? Just questioning it because I see this was posted in 2008.

Link to comment
Share on other sites

umm im about to buy this but the version II and if i buy it from the hak5 store dose it come installed with every thing and ready to use right out of the package. and if so what are the wares need to get this going on Linux? p.s. Linux is awesome. p.p.s. im sorry im really tired so sorry for spelling errors or not making sense.

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.

Guest
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...