Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Mar 2009 07:54:01 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Sam Leffler <sam@freebsd.org>, freebsd-net@freebsd.org
Subject:   Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work
Message-ID:  <20090323065401.GA3011@rebelion.Sisis.de>
In-Reply-To: <20090322121423.GA66444@rebelion.Sisis.de>
References:  <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <alpine.BSF.2.00.0903171148250.51892@thor.farley.org> <49BFF258.4020207@freebsd.org> <20090319144251.GA13320@rebelion.Sisis.de> <49C2685D.6040801@freebsd.org> <20090320121021.GA2051@rebelion.Sisis.de> <49C3BEEC.6010809@freebsd.org> <20090322121423.GA66444@rebelion.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Sunday, March 22, 2009 a las 01:14:24PM +0100, Matthias Apitz escribió:

> Well, I've built an USB key with CURRENT and it boots fine. But there
> seems to be a problem with the ath0 interface:
> 
> # uname -a
> FreeBSD tinyCurrent 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Mar 22 11:47:41 CET 2009
> root@rebelion.Sisis.de:/usr/src/myHEAD/obj/usr/src/myHEAD/src/sys/GENERIC  i386
> 
> # dmesg | fgrep ath
> ath0: <Atheros 5424/2424> mem 0xfbff0000-0xfbffffff irq 18 at device 0.0 on pci1
> ath0: [ITHREAD]
> ath0: AR2425 mac 14.2 RF5424 phy 7.0
> 
> # ifconfig ath0
> ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
> 	ether 00:15:af:b2:ae:e6
> 	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
> 	status: no carrier
> 
> # /usr/sbin/wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf
> ioctl[SIOCG80211, op 98, len 32]: Invalid argument
> Failed to initialize driver interface
> ELOOP: remaining socket: sock=5 eloop_data=0x28406140 user_data=0x2840d040 handler=0x8069f40
...

Ah, I found the solution with Don Google...  I have now in CURRENT to do:

# ifconfig wlan0 create wlandev ath0
# /etc/rc.d/wpa_supplicant start wlan0 

or via /etc/rc.conf:

wlans_ath0="wlan0"
ifconfig_wlan0="WPA DHCP"

and the interface wlan0 comes up fine and get in my home office the IP
with DHCP; will test this the other day in the Wifi zone where RELENG_7 does
not get IP with DHCP;

thx so far;

	matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/



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