LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-29-2008, 11:43 PM   #16
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15

I could barely make out what it said at boot, something about wlan does not seem to be present, and ath0 something
And it said theres is something wrong with variables in modprobe.conf

/var/log/messages (searched with 'ath')

Jul 30 00:35:03 localhost kernel: ath_hal: module license 'Proprietary' taints kernel.
Jul 30 00:35:03 localhost kernel: AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)


wow what a headache!

Do you know anything about external or 'plug in' wifi adapters that are pretty good?
 
Old 07-29-2008, 11:44 PM   #17
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
is bluetooth included in the wifi card or is it diferent? cuz bluetooth works.
 
Old 08-02-2008, 05:45 PM   #18
KarlW
LQ Newbie
 
Registered: Aug 2008
Posts: 6

Rep: Reputation: 0
@ webaware
I found my self in the same situation mentioned here.
Eth1 works fine, whereas the atheros gives nothing but trouble!

# cat modprobe.conf
alias scsi_hostadapter libata
alias scsi_hostadapter1 pata_atiixp
alias scsi_hostadapter2 ahci
alias scsi_hostadapter3 usb-storage
alias snd-card-0 snd-hda-intel
options snd-card-0 index=0
options snd-hda-intel index=0
alias eth1 atl2
alias wifi0 ath_pci
alias ath0 ath_pci


last two added according to your post (i have fc8)

# lspci -v
02:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Unknown device 1a3b:1026
Flags: fast devsel, IRQ 16
Memory at fa9f0000 (64-bit, non-prefetchable) [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1

I have uninstalled anything related to madwifi, in order to get a
beta of Madwifi. However, once i go to the site you mentioned (svn.madwifi.org/madwifi/trunk), it seems down! There is another place where i can download and build it?

Thank you anticipately
 
Old 08-02-2008, 11:43 PM   #19
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
Angry

http://madwifi.org/wiki/UserDocs/GettingMadwifi

You want to be Root,
goto a folder where you want to keep the madwifi source at,

type svn checkout http://svn.madwifi.org/madwifi/trunk madwifi

then it will get the files

Look at the link at the top for instructions.

BTW it did not work for me at all.
 
Old 08-03-2008, 02:57 AM   #20
KarlW
LQ Newbie
 
Registered: Aug 2008
Posts: 6

Rep: Reputation: 0
After a "make clean" i did a "make" andthis is the output

# make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.25.11-60.fc8/build SUBDIRS=/madwifi modules
make[1]: Entering directory `/usr/src/kernels/2.6.25.11-60.fc8-i686'
CC [M] /madwifi/ath/if_ath.o
CC [M] /madwifi/ath/if_ath_radar.o
CC [M] /madwifi/ath/if_ath_hal_extensions.o
CC [M] /madwifi/ath/if_ath_pci.o
LD [M] /madwifi/ath/ath_pci.o
CC [M] /madwifi/ath_hal/ah_os.o
HOSTCC /madwifi/ath_hal/uudecode
/madwifi/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/madwifi/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/madwifi/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/madwifi/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/madwifi/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/madwifi/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/madwifi/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/madwifi/ath_hal/uudecode.c: In function 'uudecode_usage':
/madwifi/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/madwifi/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/madwifi/ath_hal/uudecode.c: At top level:
/madwifi/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/madwifi/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/madwifi/ath_hal/uudecode.c: In function 'main':
/madwifi/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/madwifi/ath_hal/uudecode.c:121: error: for each function it appears in.)
/madwifi/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/madwifi/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/madwifi/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/madwifi/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/madwifi/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/madwifi/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/madwifi/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/madwifi/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/madwifi/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/madwifi/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/madwifi/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/madwifi/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/madwifi/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/madwifi/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/madwifi/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/madwifi/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/madwifi/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/madwifi/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/madwifi/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/madwifi/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/madwifi/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/madwifi/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/madwifi/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/madwifi/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/madwifi/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/madwifi/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/madwifi/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/madwifi/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/madwifi/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/madwifi/ath_hal/uudecode] Error 1
make[2]: *** [/madwifi/ath_hal] Error 2
make[1]: *** [_module_/madwifi] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.25.11-60.fc8-i686'
make: *** [modules] Error 2


Does anybody can tell me what is missing?
 
Old 08-04-2008, 01:03 AM   #21
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
well, now that my thread is your thread also (you really should of made your own thread)
i really think we are both screwed anyway
everyone on linux wants to get there wifi working - with no avail.
You need it that bad
Use vista bullshit.
 
Old 08-05-2008, 03:23 AM   #22
tomtomjkw
Member
 
Registered: Jan 2008
Distribution: Slackware64-current
Posts: 146

Rep: Reputation: 33
hi
did you try openhal version? :
http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/
 
Old 08-07-2008, 02:22 PM   #23
KarlW
LQ Newbie
 
Registered: Aug 2008
Posts: 6

Rep: Reputation: 0
Lostdj, i installed on another PC with fedora 8 the package downloaded from madwifi's site and this time all went smooth. I dont know why it worked on a desktop whereas not on the laptop, although they have same kernels, compilers etc. etc

Anyway, after having spent lots of hours on this frigging atheros on fedora 8 without any result, i installed fedora 9.
Again, the wireless wasnt recognized, however this time, after a first update following the installation of fedora, the package from madwifi (http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/) was compiled with no trouble.
Then, after the required reboot, with /sbin/lspci -v i saw the kernel loaded the ath_pci driver. I configured then SSID and related stuff for the wireless LAN and saw in the end that the wireless card was finally active.

Blacklisting the ath5k wasnt necessary
 
Old 08-10-2008, 09:42 AM   #24
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
Talking Final - - - Succsess

i just kept on downloading the latest devel from the MADWIFI SVN. the last one i tried was (revision 3844).
it still did not work, then tomtomjkw posted something about openhal version of madwifi. so i
downloaded that and tried it out. IT WORKED! i have no idea why it worked, or what i did right, but its awesome!
--------------------------------------------------
I will go back through the steps i took just in case anyone else has this problem
--------------------------------------------------

-remove all madwifi packages via package manager

-in console goto a dir to keep the files and type:

svn checkout http://svn.madwifi.org/madwifi/trunk

-type 'make'

-type 'make install'

-type 'make clean'

-open /etc/modprobe.conf

-add the lines

alias wifi0 ath_pci
alias ath0 ath_pci
options ath_pci autocreate=sta

-type modprobe ath_pci

---------------------------------------------------------------------------------
that was what i was trying the first time this is what i did that worked:
--------------------------------------------------------------------------------

-goto http://snapshots.madwifi.org/madwifi-hal-0.10.5.6/

-un-tar it into a folder

-make

-make install

-make clean

-REBOOT


-----------------------------------------------------------
this is just what worked for me, i can not say it will work for everone else but i am very very thankfull to all thoes that helped me.

Last edited by lostdj; 08-10-2008 at 10:11 AM.
 
Old 08-13-2008, 07:40 PM   #25
lostdj
Member
 
Registered: Nov 2007
Location: Michigan
Distribution: Mandriva 2008.1
Posts: 38

Original Poster
Rep: Reputation: 15
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 137a
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at f6000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [140] Virtual Channel <?>
Kernel driver in use: ath_pci
Kernel modules: ath_pci
 
  


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
wireless wont work -Atheros AR242x 802.11abg tac90 Linux - Laptop and Netbook 15 09-10-2009 06:15 PM
Lan Express IEEE 802.11 PCI Adapter configuration bytesurfer Linux - Wireless Networking 4 03-28-2009 11:02 PM
Fedora8 does not recognize my Atheros AR5006EG 802.11 b/g Wireless PCI Express Adapte phantom157 Linux - Hardware 2 07-09-2008 04:25 PM
Atheros AR5007 802.11b/g wireless won't work in OpenSUSE 10.3 justin23lee Linux - Wireless Networking 12 06-01-2008 11:41 AM
driver for atheros 802.11 wireless 57210788 Linux - Laptop and Netbook 1 01-14-2006 03:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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