You are not logged in.

#1 2008-06-29 00:53:38

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

[SOLVED]Macbook wireless problem

I am completely new to arch linux. After installing arch linux on my Macbook I attempted to follow the wiki tutorial to set up the wireless with the madwifi method. At the end of the tutorial I did an Ifconfig and my eth0 and lo display correctly but there is no ath0/wirless display as it says in the tutorial that there should be. Any help would be appreciated.

Last edited by otacon (2008-07-04 07:14:36)


http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration

Offline

#2 2008-06-29 04:57:01

Factory
Member
Registered: 2008-02-24
Posts: 108

Re: [SOLVED]Macbook wireless problem

Is there a chance that the model of macbook that is described in the wiki is different than the model you have? Perhaps, if this is the case, the wireless card is different.

Are you sure you loaded the module correctly? Do `lsmod | grep ath`

Also post the output of `lspci`, please..

Offline

#3 2008-06-29 05:41:33

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Re: [SOLVED]Macbook wireless problem

ok here they are

[otacon@arch ~]$ lsmod | grep ath
ath_pci               184364  0
wlan                  238064  1 ath_pci
ath_hal               231136  1 ath_pci
ath5k                  92292  0
mac80211              130316  1 ath5k



[otacon@arch ~]$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:07.0 Performance counters: Intel Corporation Unknown device 27a3 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
01:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 22)
02:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
03:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)


http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration

Offline

#4 2008-06-29 05:49:42

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: [SOLVED]Macbook wireless problem

just a thought, I use nm-applet to connect wirelessly and it has never caused me any trouble. it takes a lot of the headache out of wireless connection. check the nm-applet page in the wiki for setup


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#5 2008-06-29 06:20:51

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Re: [SOLVED]Macbook wireless problem

I already have Knetwork Manager but that will only work if it can recognize my wireless card which it doesn't. I can look up the card specs through linux but i can't make the nm recognize it.


http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration

Offline

#6 2008-06-29 10:54:03

abstracity
Member
From: Houston, USA
Registered: 2007-08-08
Posts: 83

Re: [SOLVED]Macbook wireless problem

Looks like your MacBook is equipped with the Atheros AR5006EG chipset.  Here is a link to the section on your chipset at madwifi.org: http://madwifi.org/wiki/Compatibility/A … osAR5006EG.  Check out the note on the module insertion order.  It should work . . .


Without error there can be no brilliancy. ― Emanuel Lasker

Offline

#7 2008-06-29 13:02:57

Factory
Member
Registered: 2008-02-24
Posts: 108

Re: [SOLVED]Macbook wireless problem

It also looks like you have both ath_pci and ath5k loaded. If you look on the wiki, these are two different drivers, and they may be conflicting with one another. Decide which one you need for you wireless chipset (AR5006EG as abstracity explained) and modprobe that one only. Blacklist the other if need be.

Offline

#8 2008-06-30 04:26:13

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Re: [SOLVED]Macbook wireless problem

ok I am still having problems with this even after doing those things

First thing I did is change the list to
MODULES=(!ath5k ath_hal wlan_scan_sta wlan_wep ath_pci snd-mixer-oss
snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel
soundcore ndiswrapper)

This puts them in the order that the note on madwifi says. (I don't really know what modprobe is for)
also you can see I blacklisted ath5k.
with these changes I still can not connect wirelessl.

I am going to go through the wiki again to see if it will work with these changes. I will post if it works out.

Last edited by otacon (2008-06-30 04:27:26)


http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration

Offline

#9 2008-06-30 04:48:18

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Re: [SOLVED]Macbook wireless problem

ok still doesn't work after going through wiki again, but now when I check with Ifconfig ath0 shows up and wifi0 shows up.

[otacon@arch ~]$ ifconfig
ath0      Link encap:Ethernet  HWaddr 00:16:CB:BF:4B:8A
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

eth0      Link encap:Ethernet  HWaddr 00:16:CB:CC:81:CF
          inet addr:10.248.50.21  Bcast:255.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1160 (1.1 Kb)  TX bytes:684 (684.0 b)
          Interrupt:16

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          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:7834 (7.6 Kb)  TX bytes:7834 (7.6 Kb)

wifi0     Link encap:UNSPEC  HWaddr 00-16-CB-BF-4B-8A-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1459 errors:0 dropped:0 overruns:0 frame:7
          TX packets:305 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195
          RX bytes:271129 (264.7 Kb)  TX bytes:13202 (12.8 Kb)
          Interrupt:17


http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration

Offline

#10 2008-07-01 00:09:18

Factory
Member
Registered: 2008-02-24
Posts: 108

Re: [SOLVED]Macbook wireless problem

When you say it "doesn't work", what exactly doesn't work? Have you tried `iwlist scanning` ?

Offline

#11 2008-07-01 13:41:55

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Re: [SOLVED]Macbook wireless problem

oh I am sry I guess linux does now recognize my wirless card and with iwlist scanning I can see the networks I would like to connect to, but how do I connect to them? I am using Network manager and thought I installed it correctly. It works when I am using my ethernet cord but it doesn't want to search and connect to wireless devices.

Should I try using wirc or the config network managers instead?


http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration

Offline

#12 2008-07-01 13:45:28

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Re: [SOLVED]Macbook wireless problem

I have blacklisted network so and put fam after network manager


http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration

Offline

#13 2008-07-01 13:57:31

timetrap
Member
From: Here and There
Registered: 2008-06-05
Posts: 342
Website

Re: [SOLVED]Macbook wireless problem

Here is the manual way to bring up your wifi card:

Find your AP's essid with the first command then use it for the <essid name> in the second;

iwlist scan 
iwconfig wifi0 essid <essid name>
iwconfig wifi0 mode managed
iwconfig wifi0 key <wireless key>
ifconfig wifi0 up
dhcpcd wifi0

As far as network managers go, I use wicd, but I have heard that netcfg is nice too.

Last edited by timetrap (2008-07-01 14:02:46)

Offline

#14 2008-07-02 12:17:50

Factory
Member
Registered: 2008-02-24
Posts: 108

Re: [SOLVED]Macbook wireless problem

timetrap wrote:

As far as network managers go, I use wicd, but I have heard that netcfg is nice too.

This. I've been using wicd happily for a while now. Give it a go.

Network Manager has always given me troubles.

Offline

#15 2008-07-06 02:43:13

otacon
Member
From: USA
Registered: 2008-06-29
Posts: 170
Website

Re: [SOLVED]Macbook wireless problem

Sry I am pretty stupid. I thought it would auto connect but you have to right click lol


http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration

Offline

Board footer

Powered by FluxBB