LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2005, 04:59 PM   #16
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30

You can remove modules with
Code:
rmmod module
then reinsert it with
Code:
modprobe module
Kernel headers use same versioning convention as their kernel, however there are some BIG CAVEATS involved here. What the error is really talking abut is making sure you're compiling madwifi with the same headers that your kernel was compiled with. The difference is subtle, but important, and best illustrated with an example:

Slack 10.1 came with the 2.4.29 kernel as the default. All the binaries making up Slack 10.1 were compiled with the 2.4.29 kernel headers. When I upgraded to the 2.6.x kernel, I did not install the 2.6.x headers (long story short, because doing so will break gcc. Google or search this site for more information about headers if you want to know why.), so I'm using the 2.4.29 headers with the 2.6.13 kernel. We know you're ok there, unless you've installed new headers, in which case, remove them and put the old ones back in, as you won't be able to compile until you do.

BTW,
Quote:
The authors of such articles always make it sound like any moron with 20 mins of Windows XP experience can crack a WEP code whilst juggling chainsaws, the angst thus generated leads to greater readership.
was referring to journalistic scare tactics; specifically, their tendency to imply that we're all in IMMINANT danger of being cracked by the kid down the street, and not a criticism of your decision to try to test the security of your networks. I believe in knowing AS MUCH AS POSSIBLE about your system, especially security. My in-law's XP box has been cracked twice ("But Windows XP has a firewall built in!" ), and it's caused no end of trouble for them (and, by extension, my brother-in-law and me, as we're the ones who get to clean up the mess).

Last edited by Charred; 09-27-2005 at 05:01 PM.
 
Old 09-27-2005, 07:00 PM   #17
xxsubz78x
Member
 
Registered: Sep 2005
Posts: 44

Original Poster
Rep: Reputation: 15
I did a kernel upgrade from 2.4.21-27 to 2.4.21-32. I just downloaded the RPM from Red Hat and ran RPM -Uvh kernel-2.4.21-32.rpm

I didn't update anything else. Are the kernel headers different between .27 and .32??

I've tried to upgrade other rpm packages but I get a lot of dependency errors. I don't use Yum. (not sure how to install/use it). I've downloaded the tarball and the rpm files but I haven't played around with it yet.
 
Old 09-27-2005, 08:36 PM   #18
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Yes, they are. I don't know HOW different, but they WILL be different.
 
Old 09-28-2005, 06:33 PM   #19
xxsubz78x
Member
 
Registered: Sep 2005
Posts: 44

Original Poster
Rep: Reputation: 15
One problem leads to another....

I've downloaded the RPM update packages from Red Hat and I was getting lots of dependency errors. I was told in another forum to use YUM as it will solve that problem. So that brings me to the Yum installation.

I've done numerous google searches to try and get a step by step on how to INSTALL and USE it.

I'm getting errors when trying to install it. I've downloaded different packages:

yum-2.4.0.tar, yum-2.4.0-1.src.rpm, yum-2.2.0.tar, yum-2-2.2.0-1.src.rpm,
yum-2.2.0-1.noarch.rpm

I finally got the noarch rpm to kind of install. I don't think it's installed properly though.

I get this when I type YUM:

Traceback (most recent call last):
File "/usr/bin/yum", line 6, in ?
import yummain
File "/usr/share/yum-cli/yummain.py", line 23, in ?
import yum
ImportError: No module named Yum


When I typed:

rpm -ivh yum-2.2.0-1.src.rpm I get:

warning: yum-2.2.0-1.src.rpm: V3 DSA Signature: NOKEY, key id 69886cc7
1: yum warning: user skvidal does not exist - using root
warning: group skvidal does not exist - using root
warning: user skvidal does not exist - using root
warning: group skvidal does not exist - using root
##################################[100%]



What am I doing wrong???
 
Old 09-28-2005, 08:04 PM   #20
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Hmmm...
I don't know, as I don't use RPM or yum. I suspect it's a syntax error. Lemme look around a bit, or perhaps someone who does use yum could offer an opinion.

I see you've downloaded a couple of yum source files (*.src.rpm). Have you considered compiling from source?

Edit:
Code:
yum --help
should produce a list of options and a syntax guide.

It could also be a permissions problem. Are you trying to run yum as root or as a user?

Last edited by Charred; 09-28-2005 at 08:10 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
madwifi drivers for HL W400 wireless PCI ftorcal Linux - Hardware 0 01-20-2005 09:03 AM
MadWifi drivers Nashu Linux - Newbie 1 01-16-2005 02:19 PM
madwifi wireless NIC drivers quit after kernel upgrade m_a_b Linux - Laptop and Netbook 5 08-16-2004 11:35 AM
install wireless drivers from CD alechi Linux - Wireless Networking 2 06-30-2004 07:10 PM
Loaded madwifi drivers but still can't use wireless card hecresper Fedora 7 01-28-2004 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:21 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