Jump to content
Sign in to follow this  
Giraffe

Can't make

Recommended Posts

Just Installed Ubuntu 6.06LTS, from a downloaded ISO. was connected to the net during install and all looks good, I have used "Synaptic package manager" to add some bizzo and ticked all the repository boxes so I could get Aircrack and Kismet instaled. That much was surprisingly easy for someone who has only ever installed fedora and red hat, but never been able to do much with them, however Ubuntu has my interest and I want to do more.

I intend to do some security checking of Wlans, my own first, I am told these two apps (Aircrack and Kismet) can crack a wpa-psk in under an hour. I have downloaded the Atheros drivers for the Cisco-CB21AG pcmcia card I intend to use but am a bit stumped as to how to get them into the notebook (IBM thinkpad R52). Following the newbie guide at aircrack-ng. I would get an error message in the terminal telling me that "make" was an unknown command, so I went back into synaptic and found "make", "makedev" and "makedepend". I installed these and now make tries to run but gives me...

 

tsp10402@SN-GHG:~/Desktop/madwifi-0.9.2$ make

/bin/sh: line 0: cd: /lib/modules/2.6.15-27-386/build: No such file or directoryMakefile.inc:89: *** /lib/modules/2.6.15-27-386/build is missing, please set KERNELPATH. Stop.

tsp10402@SN-GHG:~/Desktop/madwifi-0.9.2$

 

I assume I am missing some of the kernel files but don't know what they are or how to get them installed.

 

Thanks for any assistance.

G.

Share this post


Link to post
Share on other sites
Just Installed Ubuntu 6.06LTS, from a downloaded ISO. was connected to the net during install and all looks good, I have used "Synaptic package manager" to add some bizzo and ticked all the repository boxes so I could get Aircrack and Kismet instaled. That much was surprisingly easy for someone who has only ever installed fedora and red hat, but never been able to do much with them, however Ubuntu has my interest and I want to do more.

I intend to do some security checking of Wlans, my own first, I am told these two apps (Aircrack and Kismet) can crack a wpa-psk in under an hour. I have downloaded the Atheros drivers for the Cisco-CB21AG pcmcia card I intend to use but am a bit stumped as to how to get them into the notebook (IBM thinkpad R52). Following the newbie guide at aircrack-ng. I would get an error message in the terminal telling me that "make" was an unknown command, so I went back into synaptic and found "make", "makedev" and "makedepend". I installed these and now make tries to run but gives me...

 

tsp10402@SN-GHG:~/Desktop/madwifi-0.9.2$ make

/bin/sh: line 0: cd: /lib/modules/2.6.15-27-386/build: No such file or directoryMakefile.inc:89: *** /lib/modules/2.6.15-27-386/build is missing, please set KERNELPATH. Stop.

tsp10402@SN-GHG:~/Desktop/madwifi-0.9.2$

 

I assume I am missing some of the kernel files but don't know what they are or how to get them installed.

 

Thanks for any assistance.

G.

 

Did you try and run ./configure before trying to run make?

Share this post


Link to post
Share on other sites

I'm having trouble with this too.

 

I enter the command

 

make KERNELPATH=/usr/src/linux-headers-2.6.15-25/

 

but the response i get is

 

Checking if all requirements are met... FAILED

Please enable wireless extensions.

make: *** [configcheck] Error 1

 

 

any ideas?

 

thanks

Share this post


Link to post
Share on other sites
I'm having trouble with this too.

 

I enter the command

 

make KERNELPATH=/usr/src/linux-headers-2.6.15-25/

 

but the response i get is

 

Checking if all requirements are met... FAILED

Please enable wireless extensions.

make: *** [configcheck] Error 1

 

 

any ideas?

 

thanks

Ok, well I managed to sort out that problem by enabling it in the ./configure file in the linux-headers directory, but now i get this error when i perform the make

 

make[2]: Entering directory `/usr/src/linux-headers-2.6.15-26'

 

WARNING: Symbol version dump /usr/src/linux-headers-2.6.15-26/Module.symvers

is missing; modules will have no dependencies and modversions.

 

CC [M] /usr/src/madwifi-cvs-20051025/ath_hal/ah_osdep.o

/bin/sh: scripts/genksyms/genksyms: No such file or directory

make[3]: *** [/usr/src/madwifi-cvs-20051025/ath_hal/ah_osdep.o] Error 1

make[2]: *** [_module_/usr/src/madwifi-cvs-20051025/ath_hal] Error 2

make[2]: Leaving directory `/usr/src/linux-headers-2.6.15-26'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/usr/src/madwifi-cvs-20051025/ath_hal'

make: *** [all] Error 1

 

 

I can't find any help at the madwifi site

 

thanks

 

czk

Share this post


Link to post
Share on other sites
KERNELPATH=/usr/src/linux-headers-2.6.15-25/

 

That is the kernel headers, not the kernel itself, hence its missing what it needs still. Something like:

 

apt-get install kernel-source

 

Should make it download and install the source of the running kernel. Then you will have a directory like:

 

/usr/src/linux-2.6.15-27-386

 

Thats where the source will be.

Share this post


Link to post
Share on other sites

I ran apt-get install kernel source, and i've also run apt-get install linux-source aswell, but i dont get a directory in /usr/src for either after they've installed, just the tarball fo each.

 

root@czk-laptop:/usr/src# ls

kernel-source-2.4.27.tar.bz2 madwifi-cvs-20051025

linux-headers-2.6.15-26 madwifi-cvs-20051025.patch

linux-source-2.6.15.tar.bz2 madwifi-cvs-20051025.tgz

root@czk-laptop:/usr/src#

 

could the source have installed itself to directory somewhere else?

 

thanks

Share this post


Link to post
Share on other sites
root@czk-laptop:/usr/src# ls
kernel-source-2.4.27.tar.bz2  madwifi-cvs-20051025
linux-headers-2.6.15-26	   madwifi-cvs-20051025.patch
linux-source-2.6.15.tar.bz2   madwifi-cvs-20051025.tgz

 

Ah interesting, I thought it would have unpacked the source. What you want to do now is this:

tar -xzf kernel-source-2.4.27.tar.bz2

 

That should extract the archive to a folder called: /usr/src/linux-2.4.27 or maybe just /usr/src/linux this is the normal place for the kernel source to sit. That should then work, however you might (I'm not sure what madwifi requires) need to build the kernel (you won't need to install it just build the source). If so go into the /usr/src/linux (or whatever) and type make in there to begin the process.

 

I hope that does what you need.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...