Cardbus Atheros 5212 and Dell laptop(s)...

Andrew L. Gould algould at datawok.com
Wed Oct 20 09:47:47 PDT 2004


On Wednesday 20 October 2004 10:58 am, Eric Schuele wrote:
> On Wednesday 20 October 2004 10:22 am, Eric Schuele wrote:
> > Hello,
> >
> > I'm having difficulty getting my Atheros 5212 based card to work in
> > either of my dell laptops.  The card only has its power LED on for
> > about half a second when it is identified by the os (5.3BETA7),
> > then it goes off.  dhclient causes the link LED to blink in a very
> > consistent manner but it never aquires any info from DHCP server.
>
> I should also note that it will not associate with any WAP even when
> I force all settings (IP address, wepkey, etc..)...
>
> Thanks,

When I moved to FreeBSD 5*, I found that I had to remove certain 
wireless configuration options that worked in FreeBSD 4*.  That was 
with a wi device; but the later configuration works well with my new 
atheros devices.

I'm using the following atheros products successfully:

D-Link DWL-G520 (pci in a generic desktop running FreeBSD 5.3RC1)
D-Link DWL-G650 (pccard in a Dell Inspiron 8100 running FreeBSD 5.2.1)

FYI:  D-Link is displaying the Atheros logo on the retail boxes of its 
atheros chipset products; which should make purchasing these easier.

I use the script below, with a real wep code and different IP addresses, 
for each of these devices.  Other than setting hostname info 
in /etc/rc.conf and /etc/hosts, I haven't edited any other network 
configuration files.

(Beware the effects of email wordwrap.)


#!/bin/sh
# /usr/local/etc/rc.d/ath0

NIC=ath0

case $1 in
start)
	ifconfig ${NIC} inet 192.168.42.21 netmask 255.255.255.0 ssid datawok  
wepmode on wepkey 0x1111111111 
	route add default 192.168.42.1
	echo search cablelynx.com > /etc/resolv.conf
	echo nameserver 24.204.0.4 >> /etc/resolv.conf
	echo nameserver 24.204.0.5 >> /etc/resolv.conf
	echo ${NIC}
	;;
dyn)
	ifconfig ${NIC} ssid datawok wepmode on wepkey 0x1111111111
	dhclient ${NIC}
	echo ${NIC}
	;;
stop)
	[ -s /var/run/dhclient.pid ] && kill `cat /var/run/dhclient.pid` &&  
rm /var/run/dhclient.pid 
	ifconfig ${NIC} remove
	echo " ${NIC} removed"
	;;
status)
	ifconfig ${NIC}
	;;
*)
	echo "usage: /usr/local/etc/${NIC} [start|dyn|stop|status]"
	;;
esac

##end of script

Best of luck,

Andrew Gould


More information about the freebsd-questions mailing list