Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > [SOLVED] hey, madwifi prob. please help after two days of digging the net for solutio

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Closed Thread
 
Thread Tools Display Modes
Old 10-15-2008   #1 (permalink)
Just Joined!
 
Test For Echo's Avatar
 
Join Date: May 2008
Location: Israel
Posts: 37
Send a message via MSN to Test For Echo
Unhappy [SOLVED] hey, madwifi prob. please help after two days of digging the net for solutio

i have toshiba satelite laptop with atheros wifi

here are some general info about my system:
Quote:
[root@85 ~]# lspci | grep -i ath
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
[root@85 ~]# uname -r
2.6.26.5-45.fc9.i686
[root@85 ~]# ifconfig
eth0 Link encap:Ethernet HWaddr xxxxxxxxxxx
inet addrxxxxxxxxxxxxxxxxxx Bcastxxxxxxxxxxxxx Mask:255.255.255.0
inet6 addr: fe80::21a:92ff:feaa:a36b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4059 errors:0 dropped:0 overruns:0 frame:0
TX packets:3197 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1328715 (1.2 MiB) TX bytes:447607 (437.1 KiB)
Interrupt:16 Base address:0x2c00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:124 errors:0 dropped:0 overruns:0 frame:0
TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6360 (6.2 KiB) TX bytes:6360 (6.2 KiB)

[root@85 ~]#
after downloading the kernel above i had to install to it the madwifi driver.

ive tried to yum it with yum install madwifi (from livna) and compile it from source.

yum install completed with success but still no wifi.
compiling it from source didnt help either, i used the /madwifi*/scripts and the make, it returend with lot of errors.

things ive checked:
kernel headers , kernel devel , gcc python etc, blacklisted ath5 and edited modropbe.conf for aliasing ath0.


ive tried anything i know for the last two days and im completely helpless.

PLZ help

thanks
Test For Echo is offline  


Old 10-15-2008   #2 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,954
Most have reported the best results from downloading and compiling the latest developmental version of the MadWifi driver. You can download it using Subversion, or download the latest Snapshot.

UserDocs/GettingMadwifi - madwifi.org - Trac

It also appears that you may need the latest version of madwifi-hal. This ticket is concerning your wireless chip.:
http://madwifi.org/ticket/1192
__________________
Paul

Please do not PM me with requests for help. I will not reply.

Last edited by waterhead; 10-15-2008 at 02:33 AM..
waterhead is offline  
Old 10-15-2008   #3 (permalink)
Just Joined!
 
Test For Echo's Avatar
 
Join Date: May 2008
Location: Israel
Posts: 37
Send a message via MSN to Test For Echo
ive tried almost every madwifi hal version from that ticket. still nothing.
Test For Echo is offline  
Old 10-15-2008   #4 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,954
You said that when you compiled from source, that you got a lot of errors. Did you ever find a solution to those errors? Do you have all of the prerequisites installed?

If you post the errors that you get, I can help you work them out.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline  
Old 10-16-2008   #5 (permalink)
Just Joined!
 
Test For Echo's Avatar
 
Join Date: May 2008
Location: Israel
Posts: 37
Send a message via MSN to Test For Echo
this is what i get

Quote:
[root@localhost scripts]# ./madwifi-unload
[root@localhost scripts]# ./find-madwifi-modules.sh `uname -r`
[root@localhost scripts]# cd ..
[root@localhost madwifi-hal-0.10.5.6-r3861-20080903]# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.26.5-45.fc9.i686/build SUBDIRS=/root/madwifi-hal-0.10.5.6-r3861-20080903 modules
make[1]: Entering directory `/usr/src/kernels/2.6.26.5-45.fc9.i686'
CC [M] /root/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath.o
CC [M] /root/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath_radar.o
CC [M] /root/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath_hal_extensions.o
CC [M] /root/madwifi-hal-0.10.5.6-r3861-20080903/ath/if_ath_pci.o
LD [M] /root/madwifi-hal-0.10.5.6-r3861-20080903/ath/ath_pci.o
CC [M] /root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/ah_os.o
HOSTCC /root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: In function 'uudecode_usage':
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: At top level:
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c: In function 'main':
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: for each function it appears in.)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal/uudecode] Error 1
make[2]: *** [/root/madwifi-hal-0.10.5.6-r3861-20080903/ath_hal] Error 2
make[1]: *** [_module_/root/madwifi-hal-0.10.5.6-r3861-20080903] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.26.5-45.fc9.i686'
make: *** [modules] Error 2
[root@localhost madwifi-hal-0.10.5.6-r3861-20080903]#
ive followed the instruction from here:
Fedora and wpa_supplicant
Test For Echo is offline  
Old 10-16-2008   #6 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,954
Well, I just downloaded and ran "make", and it ran without errors. I am using Fedora 8 with a 2.6.26 kernel that I compiled from source.

The first thing that I notice is that you are logged in as root. This is considered a no-no, and is not required. It may even be the problem, as you shouldn't be root when running make, only for "make install".

The other thing, you ran two scripts before running make. I don't see them anywhere in the instructions, so where did they come from?

Since I compiled my own kernel. I have the kernel source installed. Do you have the source, or only the headers? If you have kernel-devel-`uname -r`, then I guess you do.

If you look at where the error first occurred, that should be the clue. It happened when compiling the uudecode file. the first error was this:
Code:
stdio.h: No such file or directory
So, you need to find out where that file should be. I have it in several locations:

/usr/include/stdio.h
/usr/include/bits/stdio.h

There is also a man page for it
Code:
man stdio.h
If you don't have it, I'm not sure how to install it. More research is needed on that. I would first start over with a fresh source file, and run make as a regular user. Then gain root privileges with the su command, and run make install.
__________________
Paul

Please do not PM me with requests for help. I will not reply.

Last edited by waterhead; 10-16-2008 at 02:02 AM..
waterhead is offline  
Old 10-16-2008   #7 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,954
OK, the missing files are installed with the glibc-headers package. Install it with YUM.
Code:
yum install glibc-headers
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline  
Old 10-16-2008   #8 (permalink)
Just Joined!
 
Test For Echo's Avatar
 
Join Date: May 2008
Location: Israel
Posts: 37
Send a message via MSN to Test For Echo
ok, i dependency error:

Quote:
Resolving Dependencies
--> Running transaction check
---> Package glibc-headers.i386 0:2.8-3 set to be updated
--> Processing Dependency: glibc = 2.8-3 for package: glibc-headers
--> Running transaction check
---> Package glibc.i386 0:2.8-3 set to be updated
--> Processing Dependency: glibc-common = 2.8-3 for package: glibc
--> Finished Dependency Resolution
glibc-2.8-3.i386 from fedora has depsolving problems
--> Missing Dependency: glibc-common = 2.8-3 is needed by package glibc-2.8-3.i386 (fedora)
Error: Missing Dependency: glibc-common = 2.8-3 is needed by package glibc-2.8-3.i386 (fedora)
i checked and i have glibc 2.8-8 :

Quote:
yum list installed | grep -i "glibc"
Existing lock /var/run/yum.pid: another copy is running as pid 11299.
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
Another app is currently holding the yum lock; waiting for it to exit...
glibc.i686 2.8-8 installed
glibc-common.i386 2.8-8 installed
glibc-devel.i386 2.8-8 installed
i tried to yum search glibc and -8 is the only version it finds.......
Test For Echo is offline  
Old 10-16-2008   #9 (permalink)
Just Joined!
 
Test For Echo's Avatar
 
Join Date: May 2008
Location: Israel
Posts: 37
Send a message via MSN to Test For Echo
weird.... i ran locate stdio

Quote:
[root@localhost madwifi-hal-0.10.5.6-r3861-20080903]# locate stdio
/usr/include/c++/4.3.0/cstdio
/usr/include/c++/4.3.0/ext/stdio_filebuf.h
/usr/include/c++/4.3.0/ext/stdio_sync_filebuf.h
/usr/include/c++/4.3.0/tr1/cstdio
/usr/include/c++/4.3.0/tr1/stdio.h
/usr/include/c++/4.3.0/tr1_impl/cstdio
/usr/include/glib-2.0/glib/gstdio.h
/usr/include/libgsf-1/gsf/gsf-infile-stdio.h
/usr/include/libgsf-1/gsf/gsf-input-stdio.h
/usr/include/libgsf-1/gsf/gsf-outfile-stdio.h
/usr/include/libgsf-1/gsf/gsf-output-stdio.h
/usr/include/xulrunner-sdk-1.9/system_wrappers/cstdio
/usr/include/xulrunner-sdk-1.9/system_wrappers/stdio.h
/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/nostdio.h
also about the root thing, according to madwifi and the link above in fedora you have to compile it with a root login user (su -)

anyway i tried to run make as a regular user, it didnt work either :-\
Test For Echo is offline  
Old 10-16-2008   #10 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,954
Did you try specifying the version of glibc-headers-2.8-8. You could also try to first do a system upgrade, to update all of the sytem packages.
Code:
 yum -y upgrade
This will take a while, so don't be in any hurry before you start it.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:36 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2