Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 11:47:53 -0500
From:      "Andrew L. Gould" <algould@datawok.com>
To:        freebsd-questions@freebsd.org, e.schuele@computer.org
Subject:   Re: Cardbus Atheros 5212 and Dell laptop(s)...
Message-ID:  <200410201147.53705.algould@datawok.com>
In-Reply-To: <200410201058.08112.e.schuele@comcast.net>
References:  <200410201022.26723.e.schuele@comcast.net> <200410201058.08112.e.schuele@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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. =A0The 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. =A0dhclient 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=20
wireless configuration options that worked in FreeBSD 4*.  That was=20
with a wi device; but the later configuration works well with my new=20
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)

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

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

(Beware the effects of email wordwrap.)


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

NIC=3Dath0

case $1 in
start)
	ifconfig ${NIC} inet 192.168.42.21 netmask 255.255.255.0 ssid datawok =20
wepmode on wepkey 0x1111111111=20
	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` && =20
rm /var/run/dhclient.pid=20
	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410201147.53705.algould>