Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2004 09:18:44 +0100
From:      "jcazor@ya.com " <jcazor@ya.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Atheros PCMCIA wireless card
Message-ID:  <E1Ce7tM-0006y9-00@smtp.ya.com>

next in thread | raw e-mail | index | archive | help

hi, 

im trying to automaticaly load on boot my atheros wireless card. 
i have a laptop and the card is a pcmcia.
when the machine boots y doesn't recognice the card because 
it doesnt know what driver to atach. but if i put
"ifconfig ath0 <address>"
it loads without problems
ive found out that to fix the problem i should edit the 
file /etc/pccard.conf but i dont know what string i must use to 
identify my card. 
i've tried to put the string of the output of "pciconf" but it 
doesnt work.
here you have some information:

/* this is the information of the card */

thinkpad#pciconf -lv

none4@pci2:0:0:0: class=3D0x020000 card=3D0x3a941186 
chip=3D0x0013168c rev=3D0x01 hdr=3D0x00

vendor =3D 'Atheros Communications Inc.'
device =3D 'AR5213 802.11a/b/g Wireless Adapter'
class =3D network
subclass =3D ethernet

/*****************************************/

/* this is what ive filled in /etc/defaults/pccard.conf. what is 
wrong here? */

card "/Atheros */" "/ */"
config auto "ath" ?
insert /etc/pccard_ether $device start
remove /etc/pccard_ether $device stop

/******************************************/ 

/* and this is the message that appears when i put in the 
pcmcia card. */

cardbus0: <network, ethernet> at device 0.0 (no driver 
attached)
cbb0: Cardbus card activation failed

/******************************************/

The last thing i want tell you is that after ifconfig ath0, if i 
remove the card and i put in again, the driver loads 
automatically. do you know how remember the driver to atach? 
is there any file that has this information?

thank you in advance.

Juan

 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Ce7tM-0006y9-00>