LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-31-2007, 12:45 AM   #1
Pete89
Member
 
Registered: Jan 2007
Location: Granada Spain
Distribution: Ubuntu, Slackware, Debian, OpenWRT
Posts: 35

Rep: Reputation: 15
Madwifi Driver Install


Hello,

I am pretty new to all this so please be patient. I am trying to install Wireless Drivers on my Laptop. I am running Fedora Core 6. Part of the install doc I got from Wirelessdefence.org calls for a patch to be installed. The following is the output of that patch:

[root@ratiaa madwifi-0.9.2.1]# patch -Np1 -i ../madwifi-ng-r1886.patch
(Stripping trailing CRs from patch.)
patching file ath/if_ath.c
Hunk #1 succeeded at 2248 (offset -41 lines).
patch unexpectedly ends in middle of line
Hunk #2 succeeded at 2306 with fuzz 1.
[root@ratiaa madwifi-0.9.2.1]#

I would assume that this patch did not install properly because afterwards the make gave me errors and the make install also gave me errors and not the expected output.

My questions:

1. Can I unpatch the patch and try again? I think I saved the patch improperly.
2. When I get errors in my make command where do I look to see what went wrong?
3. If I fix what went wrong can I feel sure that when I do a make again without errors the install is good or:
4. Do I need to uninstall something and begin all over again?

Like I said I am almost a newbie wth LINUX but I am determined to get this working.

Thanks for any help you can give me,

Pete
 
Old 01-31-2007, 03:47 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,987
Blog Entries: 54

Rep: Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742
1. Can I unpatch the patch and try again? I think I saved the patch improperly.
If you run patch again it will notice it's patched and ask you if you want to reverse it.


2. When I get errors in my make command where do I look to see what went wrong?
Nowhere except onscreen, unless you did something like "make 2>&1 | tee logfile".


3. If I fix what went wrong can I feel sure that when I do a make again without errors the install is good or do I need to uninstall something and begin all over again?
If everything is "fixed", yes, probably. However, if you run a "regular" Fedora Core 6 kernel there is no need to. Atrpm's has Madwifi RPM's (madwifi-hal-kmdl and madwifi-kmdl, watch your kernel version) and those are all you need to get the ath_ kernel modules loaded. No source compile or dkms necessary.

Last edited by unSpawn; 01-31-2007 at 04:01 AM.
 
Old 01-31-2007, 08:09 AM   #3
Pete89
Member
 
Registered: Jan 2007
Location: Granada Spain
Distribution: Ubuntu, Slackware, Debian, OpenWRT
Posts: 35

Original Poster
Rep: Reputation: 15
Ok

OK thats good to know. I appreciate your help.

Maybe someone can point me in the direccion of a good source/book for getting started with error messages when using the make command. I did save the errors but I wont post them until I am asked to.

As far as I know I have a regular installacion of Fedora. I got the 5 cds off thier site and followed the install described at wirelessdefence.org

1. How do we define regular?
2. Also if my install already has these modules installed why would I get errors when I did the make?

Thanks so much because I know these questions must sound stupid for experts like you. And if anyone wants to know why I am getting into LINUX I would love to explain.

Pedro
Madrid
 
Old 01-31-2007, 03:56 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,987
Blog Entries: 54

Rep: Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742Reputation: 2742
I did save the errors but I wont post them until I am asked to.
No, not here. The more information the better. As long as you cut out repetitive messages.


1. How do we define regular?
In this context I'd say "a kernel that was released by Fedora Core".


2. Also if my install already has these modules installed why would I get errors when I did the make?
Modules are a just the compiled product so unless you had the source installed (Madwifi .src.rpm or CVS tarball from Madwifi site), there's nothing to use "make" on that would "make sense" :-] BTW, I don't remember Madwifi being a patch of sorts. I always got it as the Madwifi CVS tarball to build outside the kernel source tree...


if anyone wants to know why I am getting into LINUX I would love to explain.
If you don't go into Mockerysoft bashing mode but emphasise GNU/Linux' strenghts, yeah, then I'm willing to listen....
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 install question for Altheros driver samplelin Linux - Newbie 5 05-17-2006 07:24 AM
Newbie Trying To Install Madwifi Driver... inVINCEable667 Linux - Software 9 04-01-2006 12:31 PM
madwifi driver link BROKEN...need driver usfhunk Linux - Networking 2 01-12-2006 11:22 AM


All times are GMT -5. The time now is 11:51 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration