Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 06-30-2007, 04:20 PM   #1
LQ Newbie
Registered: Mar 2006
Location: Devon
Distribution: Suse 10.1
Posts: 11

Rep: Reputation: 0
Atheros wireless card on macBook - problems with madwifi and ndiswrapper


I've got SuSE 10.2 working on my shiny new macBook, and am trying to get wireless going - an Atheros wireless card.

I've tried ndiswrapper with the only windows drivers I can find (also mentioned in the ndiswrapper list) and they install but then fail with the following in dmesg:

ndiswrapper version 1.47 loaded (smp=yes)
ndiswrapper (check_nt_hdr:150): kernel is 64-bit, but Windows driver is not 64-bit;bad magic: 010B
ndiswrapper (load_sys_files:216): couldn't prepare driver 'net5416'
ndiswrapper (load_wrap_driver:118): couldn't load driver net5416; check system log for messages from 'loadndisdriver'

Everything I've found seems to say there are no 64bit drivers yet, so I'll pass on that bit...

Also tried with madwifi. I got it installed and then after modprobe'ing it appeared in the list of loaded modules with lsmod, but iwconfig and ifconfig only show the ethernet adapter, not the wireless:

lo no wireless extensions.

eth0 no wireless extensions.

sit0 no wireless extensions.

eth0 Link encap:Ethernet HWaddr 00:19:E3:3D:18:A9
inet addr: Bcast: Mask:
inet6 addr: fe80::219:e3ff:fe3d:18a9/64 Scope:Link
RX packets:14500 errors:0 dropped:0 overruns:0 frame:0
TX packets:10957 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:17800812 (16.9 Mb) TX bytes:1203170 (1.1 Mb)

lo Link encap:Local Loopback
inet addr: Mask:
inet6 addr: ::1/128 Scope:Host
RX packets:23 errors:0 dropped:0 overruns:0 frame:0
TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1988 (1.9 Kb) TX bytes:1988 (1.9 Kb)

In Yast, hardware info, Apple Network Controller, which I'm taking to be the wireless, is shown under network cards but not network interfaces. Once I've loaded the madwifi driver (modprobe ath_pci), if I try and create an interface (wlanconfig ath0 create wlandev wifi0 wlanmode sta) I get 'wlanconfig: ioctl: No such device'. dmesg'ing after that gives:

ath_hal: module license 'Proprietary' taints kernel.
ath_hal: (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ath_pci: (

Any ideas? I've read loads of posts about this thing but nothings worked yet..

Old 06-30-2007, 04:52 PM   #2
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Usually when a module is loaded for a NIC, it will not show the list when doing ifconfig. You have to find out the device node and do ifconfig [device_node] up. Since ath0 is the device, type ifconfig ath0 up as root or sudo. Make sure the ndiswrapper is not running when using madwifi.

Please post the complete logs instead of truncating them.

My experience with Wifi is poor, so you may have to wait longer until an wifi expert comes.
Old 07-01-2007, 05:01 AM   #3
LQ Newbie
Registered: Mar 2006
Location: Devon
Distribution: Suse 10.1
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks. I tried ifconfig ath0 up but got ath0: unknown interface: No such device. The untruncated dmesg show:

ath_pci: driver unloaded
ath_hal: driver unloaded
wlan: driver unloaded
ath_hal: (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: (
ath_pci: (

Any ideas?


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/ndiswrapper on Atheros AR5004G biggjimmy7 Linux - Wireless Networking 7 01-05-2008 01:11 PM
MacBook - WPA using ndiswrapper on Atheros chipID 0x0024 (rev 01) Kvetch Linux - Wireless Networking 3 01-25-2007 02:42 PM
fc5 madwifi atheros ar5005g wireless network mike_morley Linux - Wireless Networking 0 10-27-2006 05:08 PM
Atheros AR5004G and madwifi/ndiswrapper biggjimmy7 Linux - Wireless Networking 1 05-03-2005 03:17 PM
Atheros Ar5004g Wireless Card Problems CLOSETGEEK Linux - Wireless Networking 0 03-30-2005 06:21 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration