LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kismet configuration (https://www.linuxquestions.org/questions/linux-newbie-8/kismet-configuration-534545/)

DexterPC 03-04-2007 03:23 PM

kismet configuration
 
I trying to run Kismet, but I having problem with configuration.
I installed Kismet - An 802.11 Wireless Network Sniffer with Yast.
I follow instruction by http://www.kismetwireless.net/docume...n.shtml#readme

I running
Intel centrino
Susie 10.2 OS

My
wireless card is
802.11b
Intel Pro/wireles 3945ABG Network Connection,
Driver: ipw3945

kismet.conf
kismet_drone.conf
kismet_ui.conf
krb5.conf
located at '/etc/kismet...

source=type,interface,name
source=ipw3945,eth1,ipw3945

when I type kismet in terminal this what I get
DexterPC@linux-x55n:~> su
Password:
linux-x55n:/home/DexterPC # kismet
Server options: none
Client options: none
Starting server...
Waiting for server to start before starting UI...
Suid priv-dropping disabled. This may not be secure.
No specific sources given to be enabled, all will be enabled.
Enabling channel hopping.
Enabling channel splitting.
NOTICE: Disabling channel hopping, no enabled sources are able to change channel.
Source 0 (addme): Opening none source interface none...
FATAL: Please configure at least one packet source. Kismet will not function if no packet sources are defined in kismet.conf or on the command line. Please read the README for more information about configuring Kismet.
Kismet exiting.

DexterPC@linux-x55n:~> '/etc/kismet.conf'
bash: /etc/kismet.conf: Permission denied

so how I need to configurate Kismet?

MS3FGX 03-04-2007 06:12 PM

I'm not sure what you are looking for. Editing the "source=" line is essentially all you have to do to get Kismet started up.

Do you get an error when trying to start Kismet? Are you making sure to start it with root privileges (and have properly configured which user it should drop privileges down to after it starts)?

DexterPC 03-07-2007 07:26 AM

Sorry MS3FGX I founded what I was looking? at my own I did not finished edting the post because I was too lazy.
Steel need help how configurate kismet?

MS3FGX 03-07-2007 02:15 PM

I am a bit confused here. When you run Kismet, it is saying that you don't have any sources configured, but in the first half of your post you list your "source=" line. Are you able to open up the kismet.conf file and get the line written?

DexterPC 03-07-2007 04:41 PM

Yes, I do not have any sources configured, because when I try to run Kismet.conf I get permission denied even I in with su in terminal.
In first post I was looking how to find out source after reading "kismet read me" article I found out how to find source and after that I edited first post and wrote second. i will be online until 8.00pm now is 4.39pm will try couple things, look more post online and hopely this evening will be able to run kismet.

MS3FGX 03-07-2007 08:17 PM

You don't run the kismet.conf file, you need to open it in a text editor and add that line to it.

DexterPC 03-10-2007 05:41 PM

I do not have access to kismet.conf, when I click properties>permissions it shows:
owner: root
access: read and write
group: root
access: read and write
other:
access: read only
execute: blank
context: unknown

how to get access to file?
I read suse help (f1) but it explained what I could do if I would have access.

MS3FGX 03-10-2007 06:35 PM

As with almost all system-wide configuration files, kismet.conf can only be modified by the root user or a user with root privileges.

To edit the file, either log in as root or use the "sudo" command.

DexterPC 03-11-2007 12:09 PM

yeasturday I read about permissions, so I tryed, next morning I did:
chmod ugoa+rw /etc/kismet.conf
I putted permission for all groups later will fix it (it seems to work at list now I can save, replace file)
today will read about monitor mode and will try to run kismet

Axo 03-11-2007 08:59 PM

Quote:

Originally Posted by DexterPC
yeasturday I read about permissions, so I tryed, next morning I did:
chmod ugoa+rw /etc/kismet.conf
I putted permission for all groups later will fix it (it seems to work at list now I can save, replace file)

You will have a long hard journey with Linux if you continue to use chmod just to edit a file.:tisk:

As MS3FGX stated, to edit system-wide configuration files you need to gain root privileges .

Code:

su
password:

nano is very easy text editor to use.

Code:

nano /etc/kismet.conf
Use the arrow keys to scroll down to the line that needs to be edited.

Code:

Ctrl o
the letter "o" not zero, will overwrite the file once you have finished, press 'enter' to confirm overwrite.

Code:

Ctrl x
will exit the editor.

You will still have root privileges so its just a matter of running kismet.

Code:

#kismet
Once you have exited kismet don't forget to use 'exit' to bring you back to your user account.

Good Luck

DexterPC 03-16-2007 07:45 PM

thank you AXO for advice absolutely will try and you MS3FGX thanks for huge helps.
I want to ask how you put wireless card in monitor mode? I looked at internet and I found only iwpriv eth1 | monitor mode command, but when i press enter in terminal it shows command not found, maybe you know were is a mistake in command?

Axo 03-16-2007 08:08 PM

Code:

iwconfig eth1 mode monitor


All times are GMT -5. The time now is 09:01 AM.