Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (Not For Questions)
FedoraForum Search

Forgot Password? Join Us!
Register All Albums FAQ Today's Posts Search

Guides & Solutions (Not For Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th May 2004, 12:21 AM
Picomp314 Offline
Registered User
 
Join Date: May 2004
Posts: 532
HOWTO: madwifi in FC2 (& FC2T3)

First off, I spent many many hours trying to get this to work on my friend's Fujitsu Laptop with his WPC55AG based on the atheros (5212?) chipset. It took a lot of tinkering but I got it to work, and I think those results are reproduceable.

1) (This is extremely crucial and took me awhile to figure out) download and install the sharutils rpm (check to see if you have it installed with rpm -qa | grep shar)

2) Install the kernel-source rpm for your particular kernel

3) Do a cvs checkout of madwifi with the command
Code:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi
4) cd /usr/src/linux-2.6.5-1.358 (adjust for your particular kernel

5)make oldconfig
make all

6) ln -s /usr/src/linux-2.6.5-1.358/vmlinux /lib/modules/2.6.5-1.358/build/vmlinux

7)cd into the directory that you did the cvs checkout of madwifi

8)make
make install

9)insmod wlan/wlan.ko
insmod ath_hal/ath_hal.ko
insmod driver/ath_pci.ko

10)ifconfig ath0 up

EDIT:
11)create a file named ifcfg-ath0 in /etc/sysconfig/network-scripts
with the contents:
STARTMODE=hotplug
DEVICE=ath0
BOOTPROTO=dhcp
WIRELESS=yes
MODE=Managed
ESSID=any
KEY=

12)type ifup ath0

13) good luck...


Hopefully everything is correct

Last edited by Picomp314; 17th November 2004 at 12:31 AM. Reason: smilies are making me angry
Reply With Quote
  #2  
Old 20th May 2004, 09:27 PM
blahrus Offline
Registered User
 
Join Date: May 2004
Location: IL
Age: 33
Posts: 44
try this for the cvs build

Code:
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/madwifi co madwifi
wierd I guess that is the same thing . . . .
__________________
Clint

http://www.winterinalaska.net
clint@winterinalaska.net

Last edited by blahrus; 20th May 2004 at 09:44 PM.
Reply With Quote
  #3  
Old 21st May 2004, 12:14 AM
blahrus Offline
Registered User
 
Join Date: May 2004
Location: IL
Age: 33
Posts: 44
WAY TO GO Picomp314 IT WORKS
__________________
Clint

http://www.winterinalaska.net
clint@winterinalaska.net
Reply With Quote
  #4  
Old 21st May 2004, 01:58 PM
STiAT Offline
Registered User
 
Join Date: May 2004
Location: Austria, Vienna
Age: 33
Posts: 57
Thank you

It doesn't work here ...

I've problems compiling madwifi, and get that the opt_ah.h was not found. in compile time. Seems to be incomplete on the CVS at the moment.

I've tried to compile then with the version of madwifi-20030802. This one exits with a Memory Access violation. It seems as some guys have been able to compile this version with gcc32, which is not included in Fedora Core2 anymore...

Not my day

// STi
__________________
Ability is nothing without opportunity.
Reply With Quote
  #5  
Old 21st May 2004, 11:50 PM
Picomp314 Offline
Registered User
 
Join Date: May 2004
Posts: 532
download and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmdownload and install the sharutils rpmv
Reply With Quote
  #6  
Old 22nd May 2004, 12:01 PM
STiAT Offline
Registered User
 
Join Date: May 2004
Location: Austria, Vienna
Age: 33
Posts: 57
I personally installed the sharutils from the FC2 CD3 ...

// STi
__________________
Ability is nothing without opportunity.
Reply With Quote
  #7  
Old 22nd May 2004, 02:36 PM
Picomp314 Offline
Registered User
 
Join Date: May 2004
Posts: 532
alright then, can you give the entire output after you issued 'make'??
Reply With Quote
  #8  
Old 22nd May 2004, 08:34 PM
STiAT Offline
Registered User
 
Join Date: May 2004
Location: Austria, Vienna
Age: 33
Posts: 57
Well, here is the output i get from the compile:

Code:
for i in ./ath_hal ./wlan ./driver; do \
	(cd $i; make); \
done
make[1]: Entering directory `/root/madwifi-cvs/ath_hal'
uudecode ./../hal/linux/i386-elf.hal.o.uu
make[1]: Leaving directory `/root/madwifi-cvs/ath_hal'
make[1]: Entering directory `/root/madwifi-cvs/wlan'
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/root/madwifi-cvs/wlan modules
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
  Building modules, stage 2.
  MODPOST
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make[1]: Leaving directory `/root/madwifi-cvs/wlan'
make[1]: Entering directory `/root/madwifi-cvs/driver'
make -C /lib/modules/2.6.5-1.358/build SUBDIRS=/root/madwifi-cvs/driver modules
make[2]: Entering directory `/lib/modules/2.6.5-1.358/build'
  CC [M]  /root/madwifi-cvs/driver/if_ath_module.o
make[2]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make[1]: Leaving directory `/root/madwifi-cvs/driver'
uudecode: ./../hal/linux/i386-elf.hal.o.uu: No `end' line
make[1]: *** [hal.o] Error 1
/root/madwifi-cvs/driver/if_ath_module.c:39:20: opt_ah.h: No such file or directory
make[3]: *** [/root/madwifi-cvs/driver/if_ath_module.o] Error 1
make[2]: *** [/root/madwifi-cvs/driver] Error 2
make[1]: *** [all] Error 2
make: *** [all] Fehler 2
Thank you for your help, Picomp314 ... really nice there are people as you around.

// STi
__________________
Ability is nothing without opportunity.
Reply With Quote
  #9  
Old 23rd May 2004, 05:03 AM
Picomp314 Offline
Registered User
 
Join Date: May 2004
Posts: 532
This is extremely unusual, i also tried a cvs checkout on one of my desktops, and it failed with the same error...
I think this must be a bug in the code, hopefully it will be resolved in a couple of days
Reply With Quote
  #10  
Old 23rd May 2004, 12:44 PM
STiAT Offline
Registered User
 
Join Date: May 2004
Location: Austria, Vienna
Age: 33
Posts: 57
Thank you, Picomp314. At least i know now that it definitely is what i already thought ... an error in the code itself.

Hopefully it will be solved soon

// STi
__________________
Ability is nothing without opportunity.
Reply With Quote
  #11  
Old 25th May 2004, 01:12 AM
blahrus Offline
Registered User
 
Join Date: May 2004
Location: IL
Age: 33
Posts: 44
yayayayay thanks again,

now I just have to ifup ath0 and it goes and does all the work
__________________
Clint

http://www.winterinalaska.net
clint@winterinalaska.net
Reply With Quote
  #12  
Old 25th May 2004, 08:52 PM
STiAT Offline
Registered User
 
Join Date: May 2004
Location: Austria, Vienna
Age: 33
Posts: 57
hmm blahrus, you still got the files you downloaded from CVS? May you can tar them and put them somewhere? Because the current CVS-Version seems to be broken, and i'd need the files...´

I'd be very thankful...

// STi
__________________
Ability is nothing without opportunity.
Reply With Quote
  #13  
Old 26th May 2004, 01:09 AM
danacook Offline
Registered User
 
Join Date: May 2004
Posts: 1
Looks like you checked out the code on windows...

try doing a dos2unix on all the files, otherwise
the newlines are screwed up.
Reply With Quote
  #14  
Old 26th May 2004, 08:41 PM
Picomp314 Offline
Registered User
 
Join Date: May 2004
Posts: 532
i just did a new cvs checkout, and i am not getting the problem any longer; also, try doing a make clean just to make sure that you are doing a clean compile

oh yeah
BTW: http://atrpms.net/dist/fc2/madwifi/

Last edited by Picomp314; 26th May 2004 at 09:06 PM.
Reply With Quote
  #15  
Old 26th May 2004, 10:02 PM
STiAT Offline
Registered User
 
Join Date: May 2004
Location: Austria, Vienna
Age: 33
Posts: 57
I just did a checkout and still get the same error.

I also tried to install the modules from atrpms, some days ago..

The problem there is that i got 3 *.o files in /lib/modules/<kernelverson/updates
but when i insmod them it says "invalid module format".

I dont know how to handle them anyways.

Any further suggestions?

// STi
__________________
Ability is nothing without opportunity.
Reply With Quote
Reply

Tags
fc2, fc2t3, howto, madwifi


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Madwifi wireless for Asus Eee PC on Fedora 9 HowTo Valent Guides & Solutions (Not For Questions) 16 15th November 2008 06:18 PM
Madwifi HOWTO for Systems With Internet Access hollywoodb Guides & Solutions (Not For Questions) 21 12th February 2007 05:04 AM
Madwifi HOWTO for Systems Without Internet Access hollywoodb Guides & Solutions (Not For Questions) 0 21st September 2006 03:04 PM
Fc2t3 + Xp Gr3yh0und Installation, Upgrades and Live Media 5 15th May 2004 07:47 AM
Let's develop a howto to upgrade from fc2t3 to fc2 ilja Guides & Solutions (Not For Questions) 20 14th May 2004 03:39 PM


Current GMT-time: 11:19 (Tuesday, 27-06-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat