Wednesday, October 22, 2008

How to: Configure Kismet on Ubuntu Hardy Heron (8.04) on Lenovo T60

This guide is quite generic and can be used for any laptop/wireless card.

It is anyway oriented mostly on my personal experience on my Lenovo T60.


I am running currently Ubuntu 8.04 Hardy Heron (with a custom kernel I have compiled which do not impact anyway the current topic).

First step, determine which wireless card you have installed on your PC.

Being a centrino solution from Intel you don't have to waste so much time to find which one it is but, anyway, do the following:

On a shell prompt, type the command:

lspci

or, if you prefer:

lspci | grep wireless

In the first case you will get a dump of all the devices seen by your OS, in the second case you should just receive something like the following:


03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)



Ok, checking the Kismet readme file (http://www.kismetwireless.net/documentation.shtml#readme)
you can easily determine that your wireless card is:

iwl3945 Intel/Centrino Linux iwl3945 Intel's new IPW drivers using the mac80211 kernel layer.


Ok, now we need to know how the interface is seen in your OS, to do this operation, type the following command:

iwconfig


lo no wireless extensions.

eth0 no wireless extensions.

irda0 no wireless extensions.

wmaster0 no wireless extensions.

eth1 IEEE 802.11g ESSID:"" Nickname:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0



Ok, in my case it is evident that the interface is the eth1, it could be eth2, eth3 etc depending on how many interfaces you have on your PC.




OK, at this point, talking about Lenovo T60, we know that the card is an iwl3945 and the interface is an eth1.

Time to install Kismet.

Open a shell console:


1. sudo apt-get install kismet [To install the Kismet package]

2. sudo gedit /etc/kismet/kismet.conf [to open gedit on the Kismet configuration file]

3. Search the line "source=none,none,addme"

4. Modify it with the following line

source=YourCardModel, YourInterfaceName, wifi

In the case of a T60:

source=iwl3945,eth1,wifi


5. sudo kismet [To start the application]

Enjoy your wardriving expirience!!!


Cheers,
Mao

Tuesday, September 9, 2008

mmm troubles using GTK+ on UBUNTU 8.04

mmmm ok guys, I started to use the GTK+ libraries to develop a C application on my GNOME platform running on UBUNTU 8.0.4.


I have started the installation process.

As you know, it is composed of 3 different steps.
The first one, the creation of the Makefile:

./configure

and....up until here everything was ok.

The second one, the compile of the source files:

make


Ok, after several steps I got the following errors:

======================================================+
mkdir .libs
gcc -g -O2 -Wall -o .libs/autotestfilechooser autotestfilechooser.o ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so -L/usr/local/lib ../gdk/.libs/libgdk-x11-2.0.so ../gtk/.libs/libgtk-x11-2.0.so /home//gtk+-2.12.6/gdk/.libs/libgdk-x11-2.0.so -lXext /home//gtk+-2.12.6/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so /usr/local/lib/libpangocairo-1.0.so /usr/local/lib/libpangoft2-1.0.so /usr/local/lib/libpango-1.0.so /usr/local/lib/libatk-1.0.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so /usr/lib/libcairo.so /usr/local/lib/libfreetype.so -lz -lfontconfig -lpng12 -lXrender -lX11 -lm
creating autotestfilechooser
/bin/bash ../libtool --mode=link -o autotestkeywords
libtool: unrecognized option `-o'
Try `libtool --help' for more information.
make[2]: *** [autotestkeywords] Error 1
make[2]: Leaving directory `/home//gtk+-2.12.6/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home//gtk+-2.12.6'
make: *** [all] Error 2

======================================================+


mmmm, now, I tried different solutions:

- Upgrade the version of the libtool system to the lastest version.
- Review the generated Makefile
- Review all the installed libraries.


After several checks and hours spent googling for a solution, I found that a temporary workaround to the problem is to disable the compiling of the tests projects stored under the test folder.

To do this, open the generated MakeFile (from a shell you can you whatever program you prefer, vi, gedit or what you prefer).

Go to the line starting with SRC_SUBDIRS and remove the word tests.

from:

SRC_SUBDIRS = gdk-pixbuf gdk gtk modules demos tests perf contrib

to:

SRC_SUBDIRS = gdk-pixbuf gdk gtk modules demos perf contrib


Start again with the make of the project! that's all!

Enjoy your GTK+ programming experience!

Wednesday, August 6, 2008

Mmmm the power of Linux.....still surprising

mmmm need to pass a file to one of your friends....

you don't have a web space.....
you don't have samba installed nor you are in the same network.....


mmm you have linux! WOW great.

All you need is to have netcat installed (available easily on most of Linux distros...) and use this command:

Open a shell, move to root (su command) and use the following command:

while true; do nc -l -p 80 < thefileyouwanttoshare; done


Now, just provide your IP address to your friend and ask your friend to open a browser to your just provided IP address...and woila'!

I was so surprised by this simple, obvious command that I love it.

Cheers guys.

Maurizio

Monday, July 14, 2008

The Linux Prodigy

Another video from IBM about Linux.

Actually this new platform is really awesome.

I work with Linux workstations from years now (I am writing this post using UBUNTU running on an IBM Thinkpad laptop) and I can tell you that now this product reached a point of excellence.

I am running UBUNTU 64 bit at home and it is rock solid, faster than light.

I still can't understand how people can like microsoft OS, pay for applications, crack everything they need (yeah you do it!) and have an operating system which does not offer more than a linux OS.

Try and enjoy the cause. It is easy!

http://www.ubuntu.com/



IBM Servers consolidation using Linux

A nice video from IBM about servers consolidation over Linux.

I simply love that guy.

Friday, July 11, 2008

Drag Behind....finally a change in this trend from IBM?

Thinking about the trend of IBM products compared to MS and Opensource solutions, I have had always this feeling. IBM is dragging behind the market.

It's now 10 years I am working professionally with IBM products and very ofter I had the feeling to excuse IBM for the lacks of his products. Sometimes they offered excellent backbones but they lacked on the user interfaces or on fancies things.

Now, I think the trend is changing, with Quickr 8.1 and I finally feel like IBM is ahead the competitors, with integrated solutions for corporate users.

I can finally propose to my users community a solution very well integrated with the existing infrastructure, easy to be used, easy to be maintained.

Nice, great job IBM,

IBM, I dedicate this song to you, hoping that it won't happen again in the future.




Placebo - Drag

You're always ahead of the game
I drag behind
You never get caught in the rain
When I'm drenched to the bone every time
You're the first one to swim across the Seine
I lag behind
You're always ahead of the game
While I drag behind

I drag behind
I drag behind
I drag behind
I drag behind

You're always ahead of the pack
I drag behind
You posses every trait that I lack
By coincidence or by design
You're the monkey I've got on my back
That tells me to shine
You're always ahead of the pack
While I drag behind

I drag behind
I drag behind
I drag behind
I drag behind
I drag behind
I drag behind
I drag behind
I drag behind

You're always ahead of the rest
When I'm always on time
You got As on your algebra tests
I failed and they kept me behind
I just gotta get off my chest
That I think you're divine
You're always ahead of the rest
While I drag behind

I drag behind
I drag behind
I drag behind
I drag behind
I drag behind
I drag behind
I drag behind
I drag behind

Thursday, July 10, 2008

Ed Brill's presentation about Social Networking software

This presentation illustrates the evolution of the business from the traditional hierarchies to networked hierarchies illustrating the advantages of the usage of Blogs, Wikis and other collaboration tools (see the presentation!).

See you guys!

New sametime video

Here we are.

A new video from IBM about Sametime chat system.

I find this video awesome, let me know your opinion on this.

Finally online!

Hi guys
finally this new blog, it was since a very long time ago that I was thinking about creating a new blog about my work.

Let me introduce myself.

My name is Maurizio Benedetti and I am from Rome, I am 31 years old and in the last 16 years I love computer programming.

I am a professional Lotus Notes administrator and I intend to share as much information I can about the professional world of IBM Lotus products.