Page 1 of 3

Orinoco 0.13e Fedora Core 4 FC4 Kismet Howto

PostPosted: Wed Jul 20, 2005 4:55 pm
by King_Ice_Flash
Install FC4 using the packages and installation method listed here, however
I would reccomend using KDE instead of GNOME:
http://tipsybottle.com/technology/wireless/Fedora-Kismet-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/wireless/Fedora-Kismet-HOWTO-v3.shtml

PostPosted: Tue Mar 14, 2006 10:14 pm
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

PostPosted: Wed Mar 15, 2006 3:43 am
by beakmyn
lord0815 wrote: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

PostPosted: Wed Mar 15, 2006 4:45 pm
by kimbell
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?

PostPosted: Wed Mar 15, 2006 5:55 pm
by King_Ice_Flash
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 :D 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.

PostPosted: Mon Mar 20, 2006 2:21 am
by lord0815
@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!

PostPosted: Sun Mar 26, 2006 6:41 am
by King_Ice_Flash
FC5 is in progress... right after I ghost my Gentoo that I finaly got working with the ATI drivers and Cedega: D Yeah that's right, MOHAAS rocks...

I was having a lot of problems with using the Ethereal from source, so I may try to get the RPMs working with the SSL correctly.

PostPosted: Fri Apr 07, 2006 7:05 pm
by King_Ice_Flash
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"

PostPosted: Mon Apr 10, 2006 3:04 pm
by King_Ice_Flash
Ok, I got the .13e drivers to compile. They would not even work with the gcc 3.2 compatibility used. I had to remove GCC 4.2 or whatever they used, and installed an older version of gcc, 3.2 should work.

Someone could probably edit the makefile to get it to work under gcc 4.2, but I don't have the motivation.

PostPosted: Tue Apr 18, 2006 3:27 pm
by King_Ice_Flash
Alright... check out the http://www.projectiwear.org/~plasmahh/orinoco.html R12 drivers now work!

PostPosted: Tue Apr 18, 2006 3:31 pm
by King_Ice_Flash

PostPosted: Sun Apr 23, 2006 2:19 am
by King_Ice_Flash
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

PostPosted: Tue May 02, 2006 5:00 am
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

PostPosted: Tue May 02, 2006 3:52 pm
by King_Ice_Flash
lord0815 wrote:For me and my actual system 2.6.16-1.2096_FC5 the R12 drivers does not work.
I´]

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

PostPosted: Wed May 03, 2006 6:38 pm
by King_Ice_Flash
Here's some FC5 RPMS for the GDAL Dependency of GPSDrive CVS:
http://ftp.gwdg.de/pub/misc/freegis/intevation/freegis/fedora/5/RPMS/