![]() |
|
|||||||
| Register | Search | Today's Posts | Mark Forums Read |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Digital Stumbler
Join Date: Jul 2002
Location: Pacific Northwest
Posts: 236
|
Kismet make error - Linux Gurus???
Hi gang,
I've followed everyones postings and have the Kismet make process up to the 'make' command... when I run make I get the following error. airsnortdump.cc: In method 'int AirsnortDumpFile::OpenDump(const char *)': airsnortdump.cc:28: parse error before ';' make: ***[airsnortdump.o] error 1 I'm a Windows guy and a VB guy, so I have two strikes already in a Linux environment trying to make something that looks like C. Can anyone offer some help with this cryptic code? Thank you very much! -Jay |
|
|
|
|
|
#2 (permalink) |
|
Registered Member
Join Date: Jul 2002
Posts: 38
|
I would suggest opening that file with VI, go to line 28, and see if you can see anything that is a blatent error between the beginning of the line and the ;. Maybe you will get lucky and it will be obvious like a information line that has somehow got the comment # removed orso.
|
|
|
|
|
|
#3 (permalink) | |
|
Digital Stumbler
Join Date: Jul 2002
Location: Pacific Northwest
Posts: 236
|
Quote:
remember I'm a VB guy... everything looks like a blatent error in this file... ![]() Here is line 28: dumper = new WtapDumpFile; Here are the few lines above that line down to line 28 #include "airsnortdump.h" #include "packetracker.h" int AirsnortDumpFile::OpenDump(const char *file) { snprintf(type, 64, "airsnort (weak packet) dump"); snprintf(filename, 1024, "%s",file); num_dumped = 0; dumper = new WtapDumpFile; Thank you for your reply -Jay |
|
|
|
|
|
|
#7 (permalink) | |
|
Digital Stumbler
Join Date: Jul 2002
Location: Pacific Northwest
Posts: 236
|
Quote:
Thank you again for your reply! -Jay |
|
|
|
|
|
|
#9 (permalink) | |
|
Digital Stumbler
Join Date: Jul 2002
Location: Pacific Northwest
Posts: 236
|
Quote:
bash: ./kismet: Permission denied I did all the make stuff from the root shell... Thanks again for all your help... I'm hoping for some foreign language credits after messing with this Linux stuff -Jay |
|
|
|
|
|
|
#11 (permalink) | |
|
Digital Stumbler
Join Date: Jul 2002
Location: Pacific Northwest
Posts: 236
|
Quote:
Here are my thoughts... I'm running Knoppix 3.1 (the bootable all in one Linix Boot CD). I'm thinking that perhaps Kismet at its launch is trying to write to some? directory that it can't because of the CD? I'll keep digging around on this end and see what I can discover... Another thought... in the Kismet.conf file there is a line that reads: # User to setid to (should be your normal user) suiduser=knoppix I put the "knoppix" in there... how can I tell (in Linux) what my "normal user" is or should be? and would this possibly cause the above problem? I'm always open to more suggestions. Thanks again for all your help!!! -Jay Last edited by DigitalMDX : 09-11-2002 at 02:05 PM. |
|
|
|
|
|
|
#12 (permalink) |
|
Registered Member
Join Date: Apr 2002
Location: Washington the state
Posts: 242
|
Go to the directory Kismet is in and type " ls -l kismet" to see what the permissions are.
For the suiduser= use the name that you login with. If there isn't a login type "whoami" and use that name. |
|
|
|
|
|
#13 (permalink) | |
|
Digital Stumbler
Join Date: Jul 2002
Location: Pacific Northwest
Posts: 236
|
Quote:
-rw-r--r-- 1 root root 2028 Sep 11 11:32 kismet (looks like I need to set the year on this thing eh? )whoami shows "root" so I've changed the kismet.conf suiduser=root Still shows: bash: ./kismet: Permission denied Thank you for your time and assistance, Jay |
|
|
|
|
|
|
#15 (permalink) | |
|
Digital Stumbler
Join Date: Jul 2002
Location: Pacific Northwest
Posts: 236
|
Quote:
I'm now getting: grep: /usr/local/etc/kismet_ui.conf: No such file or directory No gui specified in /usr/local/etc/kismet.conf. Please specity one! Thank you! Just quickly I tried adding a "etc" directory to the /KNOPPIX/usr/local/ directory but I get "could not make directory /knoppix/usr/local/etc/ Looking at the permissions to that directory (using the GUI) all the options are greyed out... I don't beleive this directory is on the CDROM because when I look at the CDROM I get a patch that looks like "file:/mnt/cdrom/KNOPPIX" using the root shell, I can "cd .." several times until I get to "/" at which point I see KNOPPIX boot dev home mnt proc sbin usr bin cdrom etc lib opt ramdisk tmp and var. When I get home, I'm going to try to copy the kismet_ui.conf while in the etc directory from the shell, once I get the path figured out. Send me a private msg with your address in it... I need to send you some beer. Thank you again, -Jay |
|
|
|
|