OESF Portables Forum

General Forums => General Discussion => Topic started by: terrorphile on May 15, 2004, 08:53:00 pm

Title: scanning for access points with kismet & connecting to t
Post by: terrorphile on May 15, 2004, 08:53:00 pm
i wanted to start this thread as a good idea of how to do the forementioned,

i myself have had some problems doing this or i probably wouldnt have started this thread
searching for \"connect access point\" & variations seems to do nothing but give hundreds of none related threads.

so with that said.

using a sl 5500 sharp rom 3.10 w/ WCF12

the network settings

ip 0.0.0.0
sn 000.000.000.000
gw 0.0.0.1

i only get 4:11 miutes of scanning until i have to reconnect

it would be nice to have an unlimited amount of scanning time
since it halts up for 30s upon connect & 30s upon disconnect

i have tried using :
ip 1.1.1.1
sn 255.255.255.255
gw 1.1.1.0

but only yields about 30 seconds of scanning time
although it does not halt up like the first one



i still have yet to be able to connect to an access point
but when i do i will post how i did it
Title: scanning for access points with kismet & connecting to t
Post by: terrorphile on May 16, 2004, 06:05:50 pm
any suggestions?
Title: scanning for access points with kismet & connecting to t
Post by: tz on May 16, 2004, 09:37:06 pm
You might need to remove the suspend line from /etc/pcmcia/network or such.  It wants to power-down the card if there is no connection after a time.
Title: scanning for access points with kismet & connecting to t
Post by: doseas on May 18, 2004, 04:06:36 pm
I\'ve had good results by creating a WLAN entry called \"Kismet\" with the following attributes:
Non-specific ESSID (\"ANY\")
WEP disabled
IPaddr 10.0.0.2
Subnet mask 255.0.0.0
Gateway 10.0.0.1
Primary DNS 10.0.0.1
No proxies

I have a script to start Kismet as follows (must run as root):
#!/bin/sh
/sbin/cardctl scheme CardResume
/sbin/cardctl scheme Kismet
/usr/bin/kismet_server
/sbin/cardctl scheme default

I can wardrive until my battery runs out, or, if I\'m in the car & using the cigarette lighter adapter, until I fill memory.  No need to remove the suspend line.
Title: scanning for access points with kismet & connecting to t
Post by: terrorphile on May 27, 2004, 02:54:09 am
how do you write scripts? an where do they go?
Title: scanning for access points with kismet & connecting to t
Post by: DrWily on May 27, 2004, 01:05:05 pm
I found this link to be most helpful when I tried doing this:
http://www.timekiller.org/howtos/kismet-5600.html (http://www.timekiller.org/howtos/kismet-5600.html)

Now the only thing I want to figure out is how to get back to Kismet when I switch to another program, it\'s like it disappears since it\'s never on the system tray.
Title: scanning for access points with kismet & connecting to t
Post by: doseas on May 27, 2004, 02:41:24 pm
Quote
how do you write scripts? an where do they go?

You need to use a text editor that won\'t add CR/LF to the end of lines (the Sharp Text Editor therefore can\'t be used).  I happen to use vi, since there is a copy of vi on just about every Unix-like system I\'ve ever seen.

The script needs to be put in one of the directories that are in your PATH.  In a console (terminal) window, type the following to see which ones are there:
echo $PATH

I find that /usr/local/bin is a convenient (and fairly standard) location for such scripts.
Title: scanning for access points with kismet & connecting to t
Post by: terrorphile on May 30, 2004, 01:28:16 am
it seems the thing about this is for a user who has no experience in this sort of thing
this is what makes it hard
i was able to open vi but it wouldnt let me write anything
it had something at the bottom that basically said this is the new file
but wouldnt let me input anything
i tried lots of different key combinations but still no avail
Title: scanning for access points with kismet & connecting to t
Post by: terrorphile on May 30, 2004, 01:31:01 am
i know alot of these tricks and documents dont give you the very basics and i think thats what gets me hung up
Title: scanning for access points with kismet & connecting to t
Post by: terrorphile on May 30, 2004, 04:52:53 am
ah finally f*kin right

i got vi workin an maing is it hard to figure out

i finally realized in order to get it to leave command mode which is the mode it was in

i only had to press a

and when i wrote somethin i didnt want to, i pressed function key + backspace/del
an then more of the backspace to delete the typo

then a to get back in to finish

finally i pressed fuction key an typed wq to save an get out
then fixed the permissions with chmod 4755 on both the script and the gui
used the tab settings to point to the script
then made the icon run with root permission
by pressing it for a few secs

well now i got the scanning goin
and scripting somewhat understood
time to find out how to connect..............
Title: scanning for access points with kismet & connecting to t
Post by: terrorphile on June 11, 2004, 11:32:18 pm
i finally connected to an ap woohoo!!!
it was a default linksys
i even went into the ap to see the dhcp client list
i saw myself which looked really weird and i saw the owner of the ap (tho i have no idea who it was)

i was half tempted to turn on the wep encryption
until i realized who ever the owner was might have problems and reset it once they figure out how
so i opted to just change the password from the default admin :]
i figure whoever owns it will never see the inside of it
and the firmware hasnt been updated -of course
thought i\'d try kmerlin to connect to msn messenger but had problems connecting and i could not see the right side of the screen so it made it difficult to use
i\'ll have to do some research


also i noticed while using the script from the llink posted above
it runs kismet whikkidly even makes it beep when it finds an ap which makes it really nice
but..........
when i goto do anything else
the gui is GONE!!!!!!!!!
processes are still there
but no more gui
anyone know how to fix that?
would be really nice to figure that one out
Title: scanning for access points with kismet & connecting to t
Post by: Anonymous on June 13, 2004, 04:57:15 pm
Quote
when i goto do anything else
the gui is GONE!!!!!!!!!
processes are still there
but no more gui
anyone know how to fix that?
would be really nice to figure that one out

Yes this is a major distraction, is there a fix or is there a key combo to cycle between apps like alt tab in xwindows?
Title: scanning for access points with kismet & connecting to t
Post by: doseas on June 16, 2004, 09:18:06 pm
In general, running an app a second time on the Z will bring to the front the already running process...
Title: scanning for access points with kismet & connecting to t
Post by: whit on June 18, 2004, 01:47:16 pm
For what it\'s worth, there\'s a newer ARM binary package (2004-04-r1 - ipk inside the tar.gz) than most of the Zauri seem to be using at http://kismetwireless.net/download.shtml (http://kismetwireless.net/download.shtml) - down the page under ARM. Author claims it should work on all ARM systems - certainly does under pdaXrom.
Title: scanning for access points with kismet & connecting to t
Post by: charlesa on June 18, 2004, 02:09:35 pm
Terror, which version of kismet are you running?
Title: scanning for access points with kismet & connecting to t
Post by: Anonymous on June 18, 2004, 05:02:27 pm
Quote
it seems the thing about this is for a user who has no experience in this sort of thing  
this is what makes it hard
i was able to open vi but it wouldnt let me write anything
it had something at the bottom that basically said this is the new file
but wouldnt let me input anything  
i tried lots of different key combinations but still no avail


Kismet isn\'t really for the newbie in some ways.  If you don\'t know how to do the basics   that are required to run the application (as complicated as it is), you probably aren\'t ready to run it.  

Kismet is probably THE best wireless scanner out there because it is passive.  Most of the others are active which means that they leave a footprint when they scan AND more importantly they are susceptible to wireless attacks when running.  Being a passive scanner, Kismet leaves no footprint and it isn\'t susceptible to these attacks.

That is to say, the time spent learning how to accomplish the component parts such as using the console (update the console to the qt-embedded-console for a better version by the way), learning the underlying linux commands to manipulate a file, learning a bit about scripting and working with the vi text editor, and then putting it all together with these clues will all pay off in the end.

This information isn\'t hidden either.  Do some searches on the component parts are you will find more than enough to get you through.

The information that has been offered more than answers the question.  Yes, it is hard to set up kismet, but that information has been provided.  If the background to follow those steps is the problem, those steps have been answered as well.

For starters, there is an excellent vi tutorial here: http://www.cs.bsu.edu/homepages/gjjones/ad.../12/09.html#a49 (http://www.cs.bsu.edu/homepages/gjjones/administrivia/categories/techToolbox/2003/12/09.html#a49)  Remember that the Cancel Key is the same as the ESC key for vi and you should be fine.

Good luck.