From owner-freebsd-net@FreeBSD.ORG Mon Mar 23 06:54:16 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18AE0106564A; Mon, 23 Mar 2009 06:54:16 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.freebsd.org (Postfix) with ESMTP id 3D0718FC0C; Mon, 23 Mar 2009 06:54:14 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id HAA11189; Mon, 23 Mar 2009 07:44:37 +0100 (CET) (envelope-from matthias.apitz@oclc.org) Received: from ppp-93-104-98-76.dynamic.mnet-online.de(93.104.98.76) by hunter.Sisis.de via smap (V2.1) id xma011160; Mon, 23 Mar 09 07:44:27 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2N6s1sU003466; Mon, 23 Mar 2009 07:54:01 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Mon, 23 Mar 2009 07:54:01 +0100 From: Matthias Apitz To: Sam Leffler , freebsd-net@freebsd.org Message-ID: <20090323065401.GA3011@rebelion.Sisis.de> References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090322121423.GA66444@rebelion.Sisis.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 06:54:16 -0000 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: 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 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 - w http://www.oclc.org/ http://www.UnixArea.de/