Jump to content

MK2: Step By Step Open Mesh Jasager V2


Recommended Posts

Links to the files you'll need:

Open Mesh Flash Util

http://dev.open-mesh.com/downloads/stable/...-mesh-flash.exe

Jasagar v2 Firmware

http://www.digininja.org/files/jasager_firmware_1.0.tar.bz2

Haserl Package

http://downloads.openwrt.org/kamikaze/8.09...9.24-1_mips.ipk

Webif Package

http://downloads.x-wrt.org/xwrt/kamikaze/8...3-4838_mips.ipk

1. Extract the jasager firmware.

2. From a command prompt run the open-mesh-flash.exe, it will return your interfaces.

2.5 Set your interface IP to 192.168.1.99

3. Using the interface 'x' you will plug your Open Mesh Router (OMR), from your command prompt run:

open-mesh-flash.exe x openwrt-atheros-root.squashfs openwrt-atheros-vmlinux.lzma

4. From a command prompt telnet to the OMR:

telnet 192.168.1.1

5. Change the password and turn on wireless:

passwd

pineapplesareyummy

pineapplesareyummy

uci set wireless.wifi0.disabled=0

uci commit wireless && wifi

6. Copy packages over to the OMR.

6.5. For WinSCP:

http://sourceforge.net/projects/winscp/fil...up.exe/download

192.168.1.1 for the host name

SCP for the File protocol

Check the advanced options

Select SCP/Shell

Uncheck "Ignore LS warnings"

Uncheck "Try to get full timestamp"

Uncheck "Lookup user groups"

Login

go to the /tmp dir

copy ipk files

7. SSH into the OMR

7.5. Use putty.

http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe

7.9. Navigate to the /tmp

cd /tmp

8. Install ipk packages.

opkg install *.ipk

9. Move the web interfaces. Then reboot.

mv /www/index.html /www/webif.html

cp -R /karma/www/* /www/

reboot

10. Login and have fun.

Setup for ICS:

1. Edit /etc/config/dhcp

1.5. From the web interface http://192.168.1.1/webif.html select System then File Editor, then navigate to: /etc/config/dhcp

config 'dnsmasq'
      option 'domainneeded' '1'
      option 'boguspriv' '1'
      option 'filterwin2k' '0'
      option 'localise_queries' '1'
      option 'local' '/lan/'
      option 'domain' 'lan'
      option 'expandhosts' '1'
      option 'nonegcache' '0'
      option 'authoritative' '1'
      option 'readethers' '1'
      option 'leasefile' '/tmp/dhcp.leases'
      option 'resolvfile' '/tmp/resolv.conf.auto'

config 'dhcp' 'lan'
      option 'interface' 'lan'
      option 'start' '100'
      option 'limit' '150'
      option 'leasetime' '720m'
      option 'ignore' '0'
      list 'dhcp_option' '3,10.110.0.1' 
      # This is the IP address of . .
      #.  . The Host Laptop's Net-Interface acting as GW
      list 'dhcp_option' '6,10.110.0.2,8.8.8.8' 
      # This is Option 6 define the DNS server, . .
      # .  . Then IP of Pineapple, Then Googles DNS IP

config 'dhcp' 'wan'
      option 'interface' 'wan'
      option 'ignore' '1'
      option 'start' '100'
      option 'limit' '150'
      option 'leasetime' '720m'

* if someone can tell me how to make that copy and paste correctly it would be appreciated.

Save Changes

2. Go to Network change IP Address.

From the connection type drop down select PPTP

Remove root from PPTP Server IP

2.5. From the connection type drop down select Static IP. Change IP info to desired IP range.

IP Address: 10.110. 0.2

Mask: 255.255.255.0

Gateway: 10.110.0.1

2.6. Add a DNS server.

Lan DNS: 4.2.2.2

Save Changes. Apply Changes.

Wait 5 minutes for changes and reboot.

3. Enable ICS

*note this will change the IP of the other interface.

4. Change system IP to gateway IP.

5. Enjoy

This was done with Windows 7 and an Open Mesh Mini-Router:

https://www.open-mesh.com/store/products.ph...Mini%252dRouter

References:

http://www.hak5.org/forums/index.php?showtopic=9908

http://www.digininja.org/jasager/

http://www.hak5.org/forums/index.php?showtopic=15200

Edited by gaud
Link to comment
Share on other sites

Can you ping?

Have you set your ip to 192.168.1.99 or something other than 1.1?

Do you have more than one interface, like a wireless connection?

No, I cannot ping it.

Yes, I have set my interface to 192.168.1.99, 1.2, 0.2, 2.2, 3.2.

Yes, I have multiple interfaces. I have attempted to telnet/ssh/ftp/sftp/etc etc with and without my wireless enabled.

I have connected it to another router and run scans to try and find it's IP. I have run scans to ping all possibilities on subnets 0-10

I cannot access the router no matter what I try.

Any other suggestions.

Link to comment
Share on other sites

You successfully flashed a open-mesh OM1P with the Jasager package??

What steps did you take?

Have you tried the steps in this thread?

Download everything you'll need, disable wireless and ensure that your only interface is the ethernet you're using to connect to.

Using Windows 7, you'll need to install telnet.

I couldn't get the flash utility from Darren's thread to work, but I've flashed 4 different OM1P multiple times using their utility.

Edited by gaud
Link to comment
Share on other sites

Rather than discuss the same issues in a bunch of different threads, please see this:

http://www.hak5.org/forums/index.php?showt...mp;#entry156132

EDIT: To answer your question. Yes, I followed the steps above, but once I flash, my router only stays on for 4 second, on 192.168.0.1. - I have been able to ping it in that time slot, but I have not been able to access it by any other means. Certainly not telneting to port 23.

Edited by MTCONE
Link to comment
Share on other sites

  • 2 weeks later...

any body have manual wit pictures? like install jasager on fonera from daren? I dont understand this part:

2. Go to Network change IP Address.

From the connection type drop down select PPTP

Remove root from PPTP Server IP

2.5. From the connection type drop down select Static IP. Change IP info to desired IP range.

IP Address: 10.110. 0.2

Mask: 255.255.255.0

Gateway: 10.110.0.1

2.6. Add a DNS server.

Lan DNS: 4.2.2.2

Save Changes. Apply Changes.

Wait 5 minutes for changes and reboot.

3. Enable ICS

*note this will change the IP of the other interface.

4. Change system IP to gateway IP.

Link to comment
Share on other sites

Encrypted Soldier:

ICS = Internet Connection Sharing. It is not necessary, but if you want to become the man in the middle you will want to serve your 'victims' some bandwidth from something.

Jakub

Steps 2: You are setting those settings from the web interface on the Jasagar. So you will likely start from http://192.168.1.1 then navigate to the network settings and find those settings there.

Steps 3-4 This is done on your computer. So if you followed those settings exactly and are on a windows system you will go to your network interface settings on your computer and change the TCP/IP information to match the instructions. IP: 10.110.0.1 MASK: 255.255.255.0 no gateway.

Those steps are not necessary to use the Jasager, only if you want to put your 'customers' on a different subnet, which I prefer to do to easily read capture traffic.

I don't have access to a Jasager at the moment.

Link to comment
Share on other sites

I went through all of the steps, and it appears to be working (I can access the Jasager web interface at least).

however, it was my understanding that computers would automatically connect? the only SSID I see is "OpenWrt", which my computer doesn't automatically connect. when I do try to connect, the computer says it was unable to connect.

Link to comment
Share on other sites

I can connect to OpenWrt, although I have to actually select it.

I can go into the web interface, add a SSID, however, on the log file it will have the name of the SSID, along with "not found in whitelist so rejecting".

Link to comment
Share on other sites

Thanks, I'll give that a try...

I noticed also, if I switch from Whitelist to Blacklist, or vice versa....I can't switch back, no matter how many times I push the button. not just with that button, but also the Karma button to enable or disable. once I click them for the first time, I cannot click them again (to give any result anyway).

anyone else have that issue?

Edited by Pward
Link to comment
Share on other sites

Hi ppl :)

am new her btw *waves to ppl*

i have the open source Dlink dap-1160 router

the default ip adress was 192.168.0.50

computer: 192.168.0.99

255.255.255.0

and gateway was 192.168.0.50

i followed your guide

downloaded the firmware

jasager_firmware_1.0

exstracted it

did not work so i googled and got my hands on

ap51-flash-fonera-gui-1.0-38.exe

openwrt-atheros-root.squashfs

openwrt-ar531x-2.4-vmlinux-CAMICIA.lzma

it gave me peer ip 192.168.0.50

and my computer ip was 192.168.0.0

so now i should have jasager firmware on the router?

but can't fined it

can't get in with telnet

and i tryed the othere steeps to nothing work for me

plz help me

ps. sorry for my crapy spelling

Link to comment
Share on other sites

You will want to turn karma on, and switch to blacklist mode.

I turned on Blacklist (as well as Karma). if I take a laptop and connect to the "OpenWrt" SSID, only then do I see it as a client. I was hoping for it to work as the video and instructions said where, if for instance, a stored network on the laptop was "Netgear", the computer would broadcast looking for "Netgear", and the Jasager open-mesh router would pick it up automatically.

I can at least see browser sessions using Hamster and Ferrett, but it would work a lot better if it would auto-connect clients searching for stored network SSIDs.

Edited by Pward
Link to comment
Share on other sites

When you are testing this, is the network your target is a member of also accessible? It may have a stronger signal and the Jasager doesn't pick it up before it joins the first AP.

Setup your target laptop to join a network, then turn off that laptop and AP, turn on the Jasager, then turn on the target and see if it associates with the Jasager.

Link to comment
Share on other sites

  • 2 months later...

Hey im just wondering. And this is a really stupid question but, does Jasagar v2 Firmware have the web interface for managing the karma part of it?

I only ask this because i heard from a friend that the Jasagar v2 Firmware does not have that really nice web interface like in the original version.

Sorry for being such a n00b. :huh:

Link to comment
Share on other sites

  • 2 weeks later...

gaud, Great stuff Thanks!..

One question... when you write up the editing of the DHCP Config file for ICS... I see the ' character around some of the words... while in my config I do not see that character... What is the ' charcter used for...not a comment or anything correct?

Also.. if I am in the X-Wrt DHCP configuration screen. does this edit that file from the interface or is that a different beast all together??

Thanks

R

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