LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-05-2008, 04:16 AM   #1
D-NO86
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
Smile air crack


hello im using fedora 8 and have been trying to install aircrack im haveing a bit of truble
i know before you can install air crack you need to have patched the driver for injection and before you can do that you need to have installed the Kernel headers and source.
I have allready instaled the kernel headers im haveing a bit of trouble with the source
i have tryed a number of tutorials i seem to be falling at the same herald

1.Prepare a RPM package building environment in your home directory. Run the following command:

rpmdev-setuptree


2.Download the kernel-<version>.src.rpm file. Enable the appropriate source repositories with the --enablerepo switch.

yumdownloader --source kernel

3.Install build dependencies for the kernel source with the yum-builddep command (root is required to install these packages):

su -c 'yum-builddep kernel-<version>.src.rpm'


steps 1 and 2 went fine its step 3 where im having the problem
when i imput command 3 it says no surh folder

any help would be good
thanks
 
Old 04-05-2008, 04:51 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
su -c 'yum-builddep kernel-<version>.src.rpm'
You surely replaced the <version> above with the actual version number (that you can get by running uname -r in console)?

EDIT: that means, in short, that you should try to run
Code:
su -c "yum-builddep kernel-`uname -r`.src.rpm"
if I'm not mistaken. Not sure if sudo accepts the "" quotes instead of '' quotes, but have a try..if it does not, just run 'uname -r' and place the version from there into the sudo command manually.

p.s. you could install the kernel source just by downloading the .tar.gz and extracting it somewhere, but of course it's easier to upgrade along the real kernel trough yum if you go trough the steps you mentioned (I encourage doing so).

Last edited by b0uncer; 04-05-2008 at 04:54 AM.
 
Old 04-05-2008, 05:20 AM   #3
D-NO86
LQ Newbie
 
Registered: Apr 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Talking

thanks for the reply much appreciated
i tryed what you sead it worked but i got an error look:

[D-NO@localhost ~]$ uname -r
2.6.23.1-42.fc8
[D-NO@localhost ~]$ su -c "yum-builddep kernel-2.6.23.1-42.fc8.src.rpm"
Password:
updates 100% |=========================| 2.3 kB 00:00
Traceback (most recent call last):
File "/usr/bin/yum-builddep", line 139, in <module>
util = YumBuildDep()
File "/usr/bin/yum-builddep", line 41, in __init__
self.main()
File "/usr/bin/yum-builddep", line 66, in main
self.get_build_deps()
File "/usr/bin/yum-builddep", line 109, in get_build_deps
srpms.append(yum.packages.YumLocalPackage(self.ts, arg))
File "/usr/lib/python2.5/site-packages/yum/packages.py", line 777, in __init__
'Could not open local rpm file: %s' % self.localpath
yum.Errors.MiscError: Could not open local rpm file: kernel-2.6.23.1-42.fc8.src.rpm


any ideas?
 
Old 04-05-2008, 03:48 PM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
In Fedora, normally all I do is install kernel-devel package with yum which will also install all dependencies needed for compiling modules. It's a heck of a lot simpler and cleaner than what you're doing.
 
Old 04-05-2008, 04:24 PM   #5
BallsOfSteel
Member
 
Registered: Mar 2008
Location: Florida
Distribution: Fedora mainly, but I am open to others.
Posts: 273

Rep: Reputation: 34
I'm not completely positive, as I have no use for it, but I think aircrack-ng is available in the repositories. Try the command
Code:
yum -y install aircrack-ng
See what that returns.

Regards

edit: As far as getting a patched driver for your wireless card, you'd have to check that against what the aircrack-ng site says, or go to mad-wifi.org (I think that's the site).

Last edited by BallsOfSteel; 04-05-2008 at 04:26 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
here's the crack! a_c_g_t Fedora 2 10-20-2007 04:14 AM
Air Conditioner Wim Sturkenboom General 6 09-14-2007 10:21 AM
Who has crack? HackerBoy LinuxQuestions.org Member Success Stories 3 03-14-2007 07:03 AM
Does someone have a crack? CaptainSmall LinuxQuestions.org Member Success Stories 2 03-06-2007 07:30 AM
Urpmi on crack bluefire Linux - Software 5 10-06-2003 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration