NetStumbler.org Forums

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

Reply
 
LinkBack Thread Tools Display Modes
Old 06-27-2002   #16 (permalink)
JimmyPopAli
Registered Member
 
JimmyPopAli's Avatar
 
Join Date: Apr 2002
Location: Washington the state
Posts: 242
If I had to guess, it would be you don't have pcap installed.
http://www.tcpdump.org/

How many weak packets are you finding, using Kismet I haven't seen a single one.

Last edited by JimmyPopAli : 06-27-2002 at 11:55 PM.
JimmyPopAli is offline   Reply With Quote
Old 06-28-2002   #17 (permalink)
lincomatic
Squaaawk! WiFi! WiFi!
 
lincomatic's Avatar
 
Join Date: Apr 2002
Location: Tinsel Town
Posts: 1,682
Quote:
Originally posted by JimmyPopAli
How many weak packets are you finding, using Kismet I haven't seen a single one.
same here. even after sending 500MB back & forth across my network as well as when stumbling with kismet. seems to me that cracking WEP isn't as easy as it's cracked up to be.
__________________
~lincomatic
lincomatic is offline   Reply With Quote
Old 06-28-2002   #18 (permalink)
rambopfc
Cowboy Stumbler!
 
rambopfc's Avatar
 
Join Date: Apr 2002
Location: Quebec, Canada
Posts: 211
Unhappy WOOHOO! kinda...

well, i got pcap and followed your HOWTO and got it installed, (even got monitor mode running, very cool)
but... when i go to run it, i can't connect to the GUI server. i know you said that soething had to be changed but i don't understand what to change in the .conf file? here is the error i get when i try to run kismet.

[root@localhost bin]# kismet
Server options: none
Client options: none
Starting server...
Using pcap to capture packets from eth1
bind: Network is down
Starting UI...
FATAL: Could not connect to localhost:2501.
/usr/local/bin/kismet: kill: (6848) - No such process
Terminating...
[root@localhost bin]#

what line in the conf file do i have to change so it will listen on the right port?

RAMBO
rambopfc is offline   Reply With Quote
Old 06-28-2002   #19 (permalink)
mentat
Registered Member
 
mentat's Avatar
 
Join Date: May 2002
Location: CT
Posts: 476
Any chance of posting hermes.o, orinoco.o, and orinoco_cs.o for common distributions such as RH 7.2 and 7.3? If someone has them built please PM me, particularly 7.3. I've had no luck building wlan-ng from scratch so I'm using the RPMS from http://prism2.unixguru.raleigh.nc.us Perhaps he'd even be willing to make a modded package to save people the trouble. That would be way too cool.
mentat is offline   Reply With Quote
Old 06-28-2002   #20 (permalink)
JimmyPopAli
Registered Member
 
JimmyPopAli's Avatar
 
Join Date: Apr 2002
Location: Washington the state
Posts: 242
That's a mistake you don't have to change anything in the config.

Rambo type "ifconfig -a" and see what 'lo' says if the first word in the second line says LOOPBACK type
"ifconfig lo 127.0.0.1" it should then say 'inet addr: 127.0.0.1'

If you don't have a 'lo' then you'll have to add it to the /etc/hosts file.

Last edited by JimmyPopAli : 06-28-2002 at 10:29 AM.
JimmyPopAli is offline   Reply With Quote
Old 06-28-2002   #21 (permalink)
JimmyPopAli
Registered Member
 
JimmyPopAli's Avatar
 
Join Date: Apr 2002
Location: Washington the state
Posts: 242
The hermes.o, orinoco.o and orinoco_cs.o are in the pcmcia-cs source. Just untar it to /usr/src/ switch to the directory and run the patch and type "./configure" then cd to the wireless directory and type "make".
JimmyPopAli is offline   Reply With Quote
Old 06-28-2002   #22 (permalink)
mentat
Registered Member
 
mentat's Avatar
 
Join Date: May 2002
Location: CT
Posts: 476
Quote:
Originally posted by JimmyPopAli
The hermes.o, orinoco.o and orinoco_cs.o are in the pcmcia-cs source. Just untar it to /usr/src/ switch to the directory and run the patch and type "./configure" then cd to the wireless directory and type "make".
I've used the standard RPMs to build everything, I don't have the source with the matching patches currently. I was just wondering if anyone had built it with the RedHat source and patches for 7.3 and had the files handy.
mentat is offline   Reply With Quote
Old 06-28-2002   #23 (permalink)
rambopfc
Cowboy Stumbler!
 
rambopfc's Avatar
 
Join Date: Apr 2002
Location: Quebec, Canada
Posts: 211
Quote:
Originally posted by JimmyPopAli
That's a mistake you don't have to change anything in the config.

Rambo type "ifconfig -a" and see what 'lo' says if the first word in the second line says LOOPBACK type
"ifconfig lo 127.0.0.1" it should then say 'inet addr: 127.0.0.1'

If you don't have a 'lo' then you'll have to add it to the /etc/hosts file.
did what you said... still not working..
this is what i get when i do "ifconfig -a"
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)

i was just thinking, do i have to change it w/ the "ifconfig lo 127.0.0.1" after i put it in monitor mode, or does it not make a difference...

RAMBO
rambopfc is offline   Reply With Quote
Old 06-28-2002   #24 (permalink)
JimmyPopAli
Registered Member
 
JimmyPopAli's Avatar
 
Join Date: Apr 2002
Location: Washington the state
Posts: 242
Re: WOOHOO! kinda...

Quote:
Originally posted by rambopfc
bind: Network is down
Starting UI...
FATAL: Could not connect to localhost:2501.
/usr/local/bin/kismet: kill: (6848) - No such process
The problem is the bind:Network is down so try “ifconfig eth1 up”

You don’t have to worry about the ‘ifconfig lo 127.0.0.1’ because yours is set up correct.
JimmyPopAli is offline   Reply With Quote
Old 06-28-2002   #25 (permalink)
rambopfc
Cowboy Stumbler!
 
rambopfc's Avatar
 
Join Date: Apr 2002
Location: Quebec, Canada
Posts: 211
Talking WOOHOO!

Quote:
Originally posted by JimmyPopAli


The problem is the bind:Network is down so try ?ifconfig eth1 up?
WOOHOO!!!! that last command got it working.. i'm lookin at it running right now! !!!!!!

thanks Jimmy, you've been a HUGE help!
thanks again,

RAMBO
rambopfc is offline   Reply With Quote
Old 07-05-2002   #26 (permalink)
mentat
Registered Member
 
mentat's Avatar
 
Join Date: May 2002
Location: CT
Posts: 476
Arrow Specific HOWTO for RH 7.3

Here's much shorter and to the point HOWTO for RedHat 7.3 which I might post as a seperate thread once comments are made here. (I still have at least one question)

1. Install RH Linux 7.3 for "Laptop".

2. When selecting packages, select Software Development (at least), I also selected GNOME and Games ().

3. Then select the "choose individual packages option." (on the same page)

4. Unselect ImageMagick, ImageMagick-c++, ImageMagick-devel, and ImageMagick-c++-devel.

5. Select kernel-source.

6. Proceed with the installation.

7. Configure your Internet connections, download the orinoco-0.12 driver (http://www.ozlabs.com/people/dgibson...co-0.12.tar.gz) and the RF_MON patch (http://airsnort.shmoo.com/orinoco-0.12-patch.diff) and the orinoco_hopper program (http://airsnort.shmoo.com/orinoco_hopper.c) to /usr/src.

8. cd /usr/src; tar zxvf orinoco-0.12.tar.gz; cd orinoco-0.12; patch -p 1 < ../orinoco-0.12-patch.diff; make; make install; cd ..; gcc -o orinoco_hopper orinoco_hopper.c; cp orinoco_hopper /usr/local/bin

9. /etc/rc.d/init.d/pcmcia restart

10 Download the Kismet source (http://www.kismetwireless.net/code/kismet-2.2.2.tar.gz) to /usr/src

11. cd /usr/src; tar zxvf kismet-2.2.2.tar.gz; cd kismet-2.2.2; ./configure; make dep; make; make install

12. iwpriv eth<n> monitor 1 6

13. orinoco_hopper eth<n> -p

14. ifconfig eth<n> up

15. kismet -i eth<n>

16. Look at all the pretty networks

In the above <n> is the number (0,1,2,...) of the orinoco card as it is assigned by pcmcia.

This is the shortest line to a working kismet. This does not include gps or the mapping functionalities. I will update this with those steps in the near future as well as making the installation of RH more specific.

My main question is, on the installation, choosing kernel-source puts the correct source in /usr/src. Everything works peachy. Installing the SRPM with rpm -ivh does not work. What options is the installation using to put the source there?

Last edited by mentat : 07-08-2002 at 07:18 PM.
mentat is offline   Reply With Quote
Old 07-05-2002   #27 (permalink)
rambopfc
Cowboy Stumbler!
 
rambopfc's Avatar
 
Join Date: Apr 2002
Location: Quebec, Canada
Posts: 211
Exclamation very nice.

hmm, i will really have to try this one too. eventhough the one by jimmy did work (kinda) (sorry jim, it did get it running but i wan't picking up any networks even though i was sitting right next to the AP, literarly..) this one in combination w/ jim's seems like it might do the trick.
good show!

RAMBO

Last edited by rambopfc : 07-05-2002 at 10:04 AM.
rambopfc is offline   Reply With Quote
Old 07-05-2002   #28 (permalink)
lincomatic
Squaaawk! WiFi! WiFi!
 
lincomatic's Avatar
 
Join Date: Apr 2002
Location: Tinsel Town
Posts: 1,682
Re: Specific HOWTO for RH 7.3

Quote:
Originally posted by mentat
My main question is, on the installation, choosing kernel-source puts the correct source in /usr/src. Everything works peachy. Installing the SRPM with rpm -ivh does not work. What options is the installation using to put the source there? [/b]
this is the part that was really pissing me off...took me longer to figure out than the whole rest of the installation! my memory is kind of foggy at the moment, but after the -ivh it created a .spec file. then i did

rpm -ba /usr/src/redhat/SPEC/kernel-2.4.spec

i think it was either -ba or -bs which did the trick. afterwards it creates a file in the /usr/src/redhat/RPMS dir...kernel-source-xxxx-.rpm or something like that (my wife's using my computer right now so i can't check it)...then u extract the source from THAT. thing that makes me so mad is the redhat docs for extracting the kernel src are completely outdated and wrong.
__________________
~lincomatic

Last edited by lincomatic : 07-05-2002 at 11:55 AM.
lincomatic is offline   Reply With Quote
Old 07-08-2002   #29 (permalink)
mentat
Registered Member
 
mentat's Avatar
 
Join Date: May 2002
Location: CT
Posts: 476
Update

Changed above to reflect necessity of -p argument to orinoco_hopper.
mentat is offline   Reply With Quote
Old 07-14-2002   #30 (permalink)
trs004
Registered Member
 
trs004's Avatar
 
Join Date: Jun 2002
Location: San Diego
Posts: 40
Only works if F*ckin' RH 7.3 will actually boot (you know what issue I'm having!)

Seriously though, if you want to enable all the bells and whistles;

Install 7.3 - laptop - select individual packages - GNOME
GRAB kernel source
WHACK ALL ImageMagick packages

Download libpcap/tcpdump/ethereal from http://tcpdump.org
Download orinoco-12 driver & patch from http://airsnort.shmoo.com/orinocoinfo.html
Download ImageMagick from http://imagemagick.sourceforge.net/http/
Download GpsDrive from http://www.kraftvoll.at/software/
( Has a Festival build as well for talking Kismet )

Read the README files for ALL of the above!
Compile/install all of the above.

Then make sure your drivers are working!
Easiest way;
iwpriv eth(x) monitor 1 1
ifconfig eth(x) should show a long MAC address w/ bunch zeros @ the end. If you get errors or no monitor try again.

When you're confident all is well download/compile/install Kismet 2.4.
Edit your config files for your card. READ the docs, and enjoy!
The new kismet_hopper works VERY well so no need to download orinoco_hopper (if using an Orinoco card).

trs004 is offline   Reply With Quote
Reply


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 10:58 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.