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 07-20-2005   #1 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Orinoco 0.13e Fedora Core 4 FC4 Kismet Howto

Install FC4 using the packages and installation method listed here, however
I would reccomend using KDE instead of GNOME:
http://tipsybottle.com/technology/wi...HOWTO-v3.shtml


#yum update
#yum install glib-devel
#reboot

ORINOCO DRIVERS:
http://www.projectiwear.org/~plasmahh/orinoco.html
download orinoco-0.13e-SN-8.tar.bz2
#tar -xvjf orinoco-0.13e-SN-8.tar.bz2
#make
#make install
#cp -r /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/net/wireless wireless.bak/
#cd orinoco-0.13e-SN
#cp *.ko /lib/modules/2.6.12-1.1398_FC4/kernel/drivers/net/wireless/
#reboot
#iwpriv eth1
You should see monitor mode listed

IMAGEMAGICK
http://imagemagick.sourceforge.net/
ImageMagick-6.2.3-4.tar.gz
#tar -xzf ImageMagick-6.2.3-4.tar.gz
#./configure
#make
#make install

SUBVERSION
http://subversion.tigris.org
subversion-1.2.1.tar.gz
#tar -xzf subversion-1.2.1.tar.gz
#./configure
#make
#make install

ETHEREAL
#yum install pcre-devel
#yum install net-snmp-devel
#cd /usr/src
#tar -xzf ethereal-0.10.11.tar.gz
#./configure --with-ssl
#make
#make install
Edit the file "/etc/ld.so.conf" and add the path to "/usr/local/lib". This way Kismet can find the path to the "libwiretap.so.0" library.
#ldconfig

Gpsdrive
http://www.gpsdrive.cc/download.shtml
download gpsdrive-2.10pre2.tar.gz
tar -xzf gpsdrive-2.10pre2.tar.gz
download fix_gpssql_escape.patch.txt from http://netstumbler.org/showthread.php?t=16476 or from the gpsdrive mailing list

edit the file configure file for gpsdrive

on line 34 it shows this:

echo "Using $CC compiler"

if test "$CC" = "gcc" ; then

if $CC -dumpversion|egrep -q "^3\.*"; then
echo "GCC ok"
else
echo "*****************************************"
echo "You need a gcc >= 3.x to compile GpsDrive"


Change line 34 to look like this:

if test $CC -dumpversion|egrep -q "^[34]\.*"; then

#patch -p0 -l < newfixkismetescape.patch.txt
#./configure
#make
#make install
#mysql < create.sql
#gpsdrive
setup Gpsdrive Preferences, check Use MySql

Alternatively, you can use a recent CVS release of GpsDrive which already includes the MySQL patch and compiles using GCC 4.X


KISMET
#svn co http://svn.kismetwireless.net/code/trunk kismet-devel
#cd kismet-devel
#./configure --with-ethereal=/usr/src/ethereal-0.10.11
#make dep
#make
#make suidinstall

CONFIGURE KISMET
Configure Kismet according to Ritchie's Tipsybottle guide:
http://tipsybottle.com/technology/wi...HOWTO-v3.shtml
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."

Last edited by King_Ice_Flash : 05-18-2006 at 04:41 PM.
King_Ice_Flash is offline   Reply With Quote
Old 03-14-2006   #2 (permalink)
lord0815
Registered Member
 
Join Date: Mar 2006
Posts: 3
Talking

Thanks for the drivers!!

Wheres the problem with patching the original 0.13 drivers?
I´ve tried a long time before i´ve found your post!

Will you provide the next versions too??

Thanks!

bye
lord0815 is offline   Reply With Quote
Old 03-15-2006   #3 (permalink)
beakmyn
root\.workspace\.garbage.
 
Join Date: Aug 2003
Posts: 4,766
Quote:
Originally Posted by lord0815
Thanks for the drivers!!

Wheres the problem with patching the original 0.13 drivers?
I´ve tried a long time before i´ve found your post!

Will you provide the next versions too??

Thanks!

bye
I think you're a little confused. Dragorn the developer of Kismet has provided the patches for the drivers. These won't change. The 0.13e is the most stable of the current driver set for use with kismet. There isn't much development in the way of new drivers since the current ones are adequate. There is a 0.15rc2 out but it went in a new direction with respect to it's interaction with Kismet and I've never had any luck getting the new version to work.

There are current patches on the Kismet site for newer revisions of the linux kernel
__________________
It's not Intelligent Design, it's peer pressure.

┌──────────────────────────────┐
NS Icons Explained|et hoc genus omne
└──────────────────────────────┘
beakmyn is offline   Reply With Quote
Old 03-15-2006   #4 (permalink)
kimbell
Registered Member
 
Join Date: Jan 2005
Posts: 38
I am using 0.15 with a 2.6.15.6 kernel but signal reporting in kismet is not supported... I guess I am lucky just to have it working. Is 0.13 the last release to properly report signal strenghts?
__________________
kimbell is offline   Reply With Quote
Old 03-15-2006   #5 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
The .14 and .15 drivers suck. They removed signal reporting, and Dragorn has no intentions of making a patch until they release a more stable version of the drivers. He has been trying to get them to release a version of the drivers that include per packet signal reporting and monitor mode, but they will not do so. There was patches for the .15 drivers, but they no longer apply th the most recent CVS version of the drivers.

The link to the .13 drivers are already patched and ready to go And they are the most reliable.

Glad that my little mini-howto helped. FC5 is coming soon, so I will have to figure what they broke all over again.
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline   Reply With Quote
Old 03-20-2006   #6 (permalink)
lord0815
Registered Member
 
Join Date: Mar 2006
Posts: 3
@beakmyn ... sorry my post was a little bit abstruse...
I talked about FC4 and patching the kernel with the 0.13e dragorn patches.
I had no success - and was hookede about king_ice_flashs working drivers.
With FC3 the dragorn patches worked fine.

Have a nice day!
lord0815 is offline   Reply With Quote
Old 04-07-2006   #7 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Im having a lot of problems getting stuff to compile in FC5. I found information that says you have to recompile the kernel in FC5 without some option for module versions? (I think) However, I can not find this thread again. I think it was when I was trying to find more information about a GDAL error so I could install the CVS version of GPSDRIVE. If someone can find more information about this, that would be great. Other than trying to install the CVS version of GPSDrive (10Pre2 works fine), and the Orinoco Drivers, everything goes pretty simple.

The stock FC5 kernel comes with the .15rc3 Orinoco drivers, so you can probably use monitor mode by default if you have a card with older firmware on it.

The FC5 Orinoco review is probably going to be something to the extent of "Install Gentoo"
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline   Reply With Quote
Old 04-18-2006   #8 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Alright... check out the http://www.projectiwear.org/~plasmahh/orinoco.html R12 drivers now work!
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline   Reply With Quote
Old 04-18-2006   #9 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Also FC5 users, give this thread a look. http://www.wirelessdefence.org/Conte...ldHowtoFC5.htm
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline   Reply With Quote
Old 04-23-2006   #10 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Fedora users might find this information useful when trying to recompile their kernel to get it to boot faster

http://fedoranews.org/cms/node/414

It's for fc4, but it works with FC5
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline   Reply With Quote
Old 05-02-2006   #11 (permalink)
lord0815
Registered Member
 
Join Date: Mar 2006
Posts: 3
For me and my actual system 2.6.16-1.2096_FC5 the R12 drivers does not work.
I´ve posted you an PM with the make errors.

Maybe you have some hints for me? What else can i do?

I needed to update my system for the new gpsdrive devel version which needs a lot of new libs and some new gtk features :/

Thanks
lord0815 is offline   Reply With Quote
Old 05-02-2006   #12 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Quote:
Originally Posted by lord0815
For me and my actual system 2.6.16-1.2096_FC5 the R12 drivers does not work.
I´ve posted you an PM with the make errors.

Maybe you have some hints for me? What else can i do?

I needed to update my system for the new gpsdrive devel version which needs a lot of new libs and some new gtk features :/

Thanks
You need to use an older version of GCC (3.4)

Yeah, it's looks like you have to recompile the kernel with the following options:
General
Optimize for size NO

Loadable Module Support
Module Versioning Support NO
Module Signature Verification NO

Proc Type & Features
Use Reister Aruguments (REGPARM) NO

Here's the procedure for recompiling the kernel:
Quote:
fedora-buildrpmtree
rpm -ihv kernel-2.6.16-1.2080_FC5.src.rpm
rpmbuild -bp --target=noarch /root/rpmbuild/SPECS/kernel-2.6.spec
cp kernel-2.6.16.config /root/rpmbuild/BUILD/kernel-2.6.16/linux-2.6.16.noarch/.config
cd rpmbuild/BUILD/kernel-2.6.16/linux-2.6.16.noarch/
kedit Makefine (Add kernel suffex to -PREP line)
make oldconfig
rpmbuild --target i686 -ba /root/rpmbuild/SPECS/kernel-2.6.spec
install ~/rpmbuild/RPMS/i686/kernel-devel-2.6.16-1.2080
Funny, the first time I recompiled the kernel, it worked.

Anyways, if you really need a quick fix, just install an older version of the Orinoco firmware on your card (6.X) Then it will work right out of the box without mucking around with the modules.


Still having problems with the 0.13E modules:
pccard: card ejected from slot 0
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
orinoco_cs: falsely claims to have parameter irq_mask
orinoco_cs: falsely claims to have parameter irq_mask
pccard: card ejected from slot 0
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
orinoco_cs: falsely claims to have parameter irq_mask
orinoco_cs: falsely claims to have parameter irq_mask

I did so much stuff to get Kismet working correctly last time, I don't remember what I all did that is needed to get it working.
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."

Last edited by King_Ice_Flash : 05-03-2006 at 07:41 PM.
King_Ice_Flash is offline   Reply With Quote
Old 05-03-2006   #13 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Here's some FC5 RPMS for the GDAL Dependency of GPSDrive CVS:
http://ftp.gwdg.de/pub/misc/freegis/...fedora/5/RPMS/
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline   Reply With Quote
Old 07-11-2006   #14 (permalink)
dngrmous
Registered Member
 
Join Date: Jul 2006
Posts: 4
Quote:
Originally Posted by King_Ice_Flash

...

Anyways, if you really need a quick fix, just install an older version of the Orinoco firmware on your card (6.X) Then it will work right out of the box without mucking around with the modules.

...
Unfortunately, the .15 Orinoco driver included with FC5 (kernel 2.6.17-1.2145_FC5) does not appear to have "monitor" mode built into it afterall. I've got a Lucent 802.11b IEEE/WaveLAN Gold card (ie. a rebranded Orinoco card) running firmware v6.16, but "iwpriv" doesn't show a monitor mode for it (Kismet also complains that no 'monitor' mode is available).

I can't seem to get any of the drivers at http://www.projectiwear.org/~plasmahh/orinoco.html, to compile on my FC5 system either (tried R12 and R13).

Any ideas on how to get this working?
dngrmous is offline   Reply With Quote
Old 07-11-2006   #15 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Intresting. I will take a look at it when I get back from Alabama. I have not tried the 2.6.17 kernel yet and I don't have my Orinoco with me.

Do me a favor, and put your card in, type "dmesg" in a terminal, and tell me what it says (like the last 15 lines or so about the Orinoco card).

Punch in a "lspci" too.
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash 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:39 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.