NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 09-22-2005   #61 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
Quote:
Originally Posted by theprez98
renderman,

I'm on step six of your guide.

When I try to run the drone, I get:


I'm guessing I messed up on step three where I was supposed to edit the kismet_drone.conf file?!

Step 3.2, you need to specify your source in the kismet.conf, depending on the version of your router
renderman is offline  
Old 09-22-2005   #62 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
I'm geeting a 3d lock with my Garmin Etrex Legend. I'm not with my simulator.

At any rate, the cyg-gpsd seems to be playing nice with my GPS. Maybe you guys have some oddball units. Do you get a 3d lock under linux native?

Of course, right now I'm testing with some really cool toys I was sent, and I'm impressed it's working at all. I'll hopefully be able to share in a couple weeks, and render alot of the hard work getting this stuff working un-nessecary (but the research is valuable)
renderman is offline  
Old 09-23-2005   #63 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,622
Quote:
Originally Posted by renderman
Step 3.2, you need to specify your source in the kismet.conf, depending on the version of your router
Ok, I'll have to re-check to make sure what version I have. I know it's the one with the "flashing" Cisco logo, probably the newest.

Edit: I think I have a v4. I'll have to check the serial # when I get home to be sure.
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..

Last edited by theprez98 : 09-23-2005 at 05:51 AM.
theprez98 is offline  
Old 09-23-2005   #64 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
Quote:
Originally Posted by theprez98
Ok, I'll have to re-check to make sure what version I have. I know it's the one with the "flashing" Cisco logo, probably the newest.

Edit: I think I have a v4. I'll have to check the serial # when I get home to be sure.
Hmm, I don't have V4 yet. guess who gets to be a guinea pig

I think the V3 method should work, let me know if it does;nt
renderman is offline  
Old 09-23-2005   #65 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,622
Quote:
Originally Posted by renderman
Hmm, I don't have V4 yet. guess who gets to be a guinea pig

I think the V3 method should work, let me know if it does;nt
I confirmed by serial number that I do in fact have a v4. I'll follow the v3 method tonight when I get home, and let you know how it goes.
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..
theprez98 is offline  
Old 09-23-2005   #66 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
Quote:
Originally Posted by Mark57
Long night. We lost cooling to our main data center. Had to scrounge fans, lots of them. I'm cooked. It was only 145 degrees in there. Good way to loose weight temporarily.

I now have GPSD running with Kismet under Cygwin. Good job guys!
Did you have to add any packages? Just trying to confirm I listed everything needed
renderman is offline  
Old 09-23-2005   #67 (permalink)
Mark57
What??
 
Mark57's Avatar
 
Join Date: May 2005
Location: OKC
Posts: 1,240
Quote:
Originally Posted by renderman
Did you have to add any packages? Just trying to confirm I listed everything needed
No. The list was good. Seems like one or two items were under different subcategories though. No biggie, just housekeeping.
Mark57 is offline  
Old 09-23-2005   #68 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
Ok, updated just about everything today to reflect all the crzy work that's been going on.

http://www.renderlab.net/projects/wr...onwindows.html - kismet on windows guide is up to V3

I've also published the GPSD guide at http://www.renderlab.net/projects/wr...onwindows.html
and linked it appropriately in the Kismet guide

I'm starting a new thread about GPSD on Cygwin to keep things seperate. Any chance someone can move posts around?
renderman is offline  
Old 09-24-2005   #69 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,622
I started over from scratch with the Kismet Drone How-to, following the steps for the v3 even though I have the v4. Everything appears to have worked correctly, when I start the drone, I am seeing all the expected information, and finally "Allowing connections..."

Once I get kismet running under cygwin on the laptop, I'll pass along any further info.

So far, v3 instructions appear to work for the v4 WRT54G.
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..
theprez98 is offline  
Old 09-24-2005   #70 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,622
Ok, Kismet runs under cygwin.

However, the card isn't scanning, so I guess that's a configuration issue. I'll keep working on that, as well as gpsd.

Edit: Ok, kismet is connecting to the drone successfully now, but still not scanning.
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..

Last edited by theprez98 : 09-24-2005 at 10:45 AM.
theprez98 is offline  
Old 09-24-2005   #71 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,622
Ok, here's the latest update.

1. I followed the setup procedure for WRT54G Kismet Drone, using the OpenWRT firmware. When I edited the kismet_drone.conf file, I used the settings for the v3.0 router:
PHP Code:
source=wrt54g,eth1:prism0,wrt54g 
2. Next, I followed the procedures for Kismet on Windows. Absolutely no isses here at all.

3. I also set up gpsd but I have not tested it yet.

4. I made two scripts, scanme.sh and rundrone.sh. I can log into the router just fine. At that point, I run the scanme script and then the rundrone script. The kismet_drone starts up.

5. I run kismet under cygwin on my laptop, and it connects to the drone as evidenced by the messenge from the drone telling me it has accepted an incoming connection.

6. Kismet finds my wireless network ("WOPR") but does not scan.

7. Finally, after rebooting, I cannot even run the kismet_drone. I am getting a FATAL: ioctl: No such device error:
PHP Code:
root@OpenWrt:/# sh rundrone.sh
eth1Invalid argument
disassoc
        Disassociate from the current BSS
/IBSS.

Using alternate config file: /etc/kismet_drone.conf
Suid priv
-dropping disabled.  This may not be secure.
No specific sources given to be enabledall will be enabled.
Enabling channel hopping.
Disabling channel splitting.
NOTICEDisabling channel hoppingno enabled sources are able to change channel.
Source 0 (wrt54g): Enabling monitor mode for wrt54g source interface eth1:prism0
 channel 0.
..
Source 0 (wrt54g): Opening wrt54g source interface eth1:prism0...
FATALioctlNo such device 
Any ideas?
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..

Last edited by theprez98 : 09-24-2005 at 05:46 PM.
theprez98 is offline  
Old 09-24-2005   #72 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
Quote:
Originally Posted by theprez98
Ok, here's the latest update.

1. I followed the setup procedure for WRT54G Kismet Drone, using the OpenWRT firmware. When I edited the kismet_drone.conf file, I used the settings for the v3.0 router:
PHP Code:
source=wrt54g,eth1:prism0,wrt54g 
2. Next, I followed the procedures for Kismet on Windows. Absolutely no isses here at all.

3. I also set up gpsd but I have not tested it yet.

4. I made two scripts, scanme.sh and rundrone.sh. I can log into the router just fine. At that point, I run the scanme script and then the rundrone script. The kismet_drone starts up.

5. I run kismet under cygwin on my laptop, and it connects to the drone as evidenced by the messenge from the drone telling me it has accepted an incoming connection.

6. Kismet finds my wireless network ("WOPR") but does not scan.

7. Finally, after rebooting, I cannot even run the kismet_drone. I am getting a FATAL: ioctl: No such device error.

Any ideas?

The ioctl is probobly related to the dynamic creation of the 'prism0' interface. Make sure your issuing the 'wl ap 0' command before you fire up the drone. The drone will only work if it's in Client mode.

My suggestion would be to step through the commands in the rundrone.sh script, then try running the drone with a '&' at the end, so that after you connect with kismet, run 'wl scan' and see if it scans.

The other thing to check is the indents in scanme.sh, make sure that the 2 lines after 'do' are indented
renderman is offline  
Old 09-24-2005   #73 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,622
Quote:
Originally Posted by renderman
The ioctl is probobly related to the dynamic creation of the 'prism0' interface. Make sure your issuing the 'wl ap 0' command before you fire up the drone. The drone will only work if it's in Client mode.

My suggestion would be to step through the commands in the rundrone.sh script, then try running the drone with a '&' at the end, so that after you connect with kismet, run 'wl scan' and see if it scans.

The other thing to check is the indents in scanme.sh, make sure that the 2 lines after 'do' are indented
Well, this is just weird because it worked before, and after rebooting the router I'm getting the error now.

When I run through the commands in the rundrone.sh script:
'wl ap 0'
'wl disassoc' returns "eth1: Invalid argument, Disassociate from the current BSS/IBSS."
'wl passive 1'
'wl promisc 1'
'chmod 777 /usr/bin/kismet*'
'usr/bin/./kismet_drone -f /etc/kismet_drone.conf &' returns the same FATAL: iotcl: No such device error.

It seems to me like I must be messing something up in the kismet_drone.conf file.

Edit: I started over from scratch with the kismet_drone install, but same results. So close...

Edit part 2: When I changed "eth1" to "eth0" the drone starts up (albeit with some errors) and I can connect to it from my laptop. It does see my wireless network. However, it is still not scanning. I ran the drone with &, and tried 'wl scan' but no luck there.
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..

Last edited by theprez98 : 09-24-2005 at 08:35 PM.
theprez98 is offline  
Old 09-24-2005   #74 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,792
Quote:
Originally Posted by theprez98
Edit: I started over from scratch with the kismet_drone install, but same results. So close...

Edit part 2: When I changed "eth1" to "eth0" the drone starts up (albeit with some errors) and I can connect to it from my laptop. It does see my wireless network. However, it is still not scanning. I ran the drone with &, and tried 'wl scan' but no luck there.

Hmm, might be an issue with the V4's. I have'nt got one so I can't test. No budget to go out and get one. Any way you could get me telnet/ssh access to it? Anyone want to send me one?
renderman is offline  
Old 09-25-2005   #75 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,622
Quote:
Originally Posted by renderman
Hmm, might be an issue with the V4's. I have'nt got one so I can't test. No budget to go out and get one. Any way you could get me telnet/ssh access to it? Anyone want to send me one?
I'll see if I can get it set up. I'm fairly convinced it is some sort of configuration file error on my part.
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..
theprez98 is offline  
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 11:28 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.