| Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-31-2007, 12:45 AM
|
#1
|
|
Member
Registered: Jan 2007
Location: Granada Spain
Distribution: Ubuntu, Slackware, Debian, OpenWRT
Posts: 35
Rep:
|
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
|
|
|
|
01-31-2007, 03:47 AM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,786
|
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.
|
|
|
|
01-31-2007, 08:09 AM
|
#3
|
|
Member
Registered: Jan 2007
Location: Granada Spain
Distribution: Ubuntu, Slackware, Debian, OpenWRT
Posts: 35
Original Poster
Rep:
|
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
|
|
|
|
01-31-2007, 03:56 PM
|
#4
|
|
Moderator
Registered: May 2001
Posts: 24,786
|
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....
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:51 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|