From owner-freebsd-net@FreeBSD.ORG Thu Sep 29 11:42:16 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AAB816A41F for ; Thu, 29 Sep 2005 11:42:16 +0000 (GMT) (envelope-from dennis.binder@gmx.de) Received: from mailgw12.fraunhofer.de (mailgw12.fraunhofer.de [153.96.1.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB9E543D48 for ; Thu, 29 Sep 2005 11:42:15 +0000 (GMT) (envelope-from dennis.binder@gmx.de) Received: from mailgw12.fraunhofer.de (localhost [127.0.0.1]) by mailgw12.fraunhofer.de (8.13.4+/8.13.4) with ESMTP id j8TBgDgx022755 for ; Thu, 29 Sep 2005 13:42:13 +0200 (CEST) Received: from kso.ipm.fraunhofer.de (mail-gw.ipm.fraunhofer.de [153.96.205.2]) by mailgw12.fraunhofer.de (8.13.4+/8.13.4) with ESMTP id j8TBgABh022743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 29 Sep 2005 13:42:13 +0200 (CEST) X-Authentication-Warning: mailgw12.fraunhofer.de: Host mail-gw.ipm.fraunhofer.de [153.96.205.2] claimed to be kso.ipm.fraunhofer.de Received: from ksi.ipm.fraunhofer.de (ksi.ipm.fraunhofer.de [153.96.204.2]) by kso.ipm.fraunhofer.de (8.13.3+/8.13.3) with ESMTP id j8TBgAbW012886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 29 Sep 2005 13:42:10 +0200 (CEST) Received: from ksi.ipm.fraunhofer.de (localhost [127.0.0.1]) by ksi.ipm.fraunhofer.de (8.13.3+/8.13.3) with ESMTP id j8TBgASt021772 for ; Thu, 29 Sep 2005 13:42:10 +0200 (CEST) Received: from gmx.de (nbbinder.ipm.fraunhofer.de [153.96.204.135]) by ksi.ipm.fraunhofer.de (8.13.3+/8.13.3) with ESMTP id j8TBg97a021769 for ; Thu, 29 Sep 2005 13:42:09 +0200 (CEST) X-Authentication-Warning: ksi.ipm.fraunhofer.de: Host nbbinder.ipm.fraunhofer.de [153.96.204.135] claimed to be gmx.de Message-ID: <433BD311.1030501@gmx.de> Date: Thu, 29 Sep 2005 13:42:09 +0200 From: dennis binder User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.6) Gecko/20040113 X-Accept-Language: de-at, de, en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Fraunhofer-Email-Policy: accepted Subject: WG511T problem using dhcp X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 11:42:16 -0000 hello, i'm trying to get a wlan card WG511T from netgear to work and connect to the internet via an accesspoint. The accesspoint has an SSID= "WLAN" and provides DHCP. dmesg bings up the following: ath0: mem 0x88000000-0x8800ffff irq 9 at device 0.0 on cardbus0 ath0: mac 5.9 phy 4.3 5ghz radio 4.6 ath0: Ethernet address: 00:0f:b5:67:1b:4f ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps my /etc/rc.conf looks like this: removable_interfaces="ath0 ep0" ifconfig_ath0="NO" my /etc/start_if.ath0 is empty. After plugging the card "ifconfig ath0" prints this: ath0: flags=8802 mtu 1500 ether 00:0f:b5:67:1b:4f media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 after this I want to manually connect to the internet. I try # ifconfig ath0 ssid WLAN # ifconfig ath0 ath0: flags=8843 mtu 1500 inet6 fe80::20f:b5ff:fe67:1b4f%ath0 prefixlen 64 scopeid 0x4 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:0f:b5:67:1b:4f media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps) status: no carrier ssid WLAN 1:WLAN channel -1 authmode OPEN powersavemode OFF powersavesleep 100 rtsthreshold 2312 protmode CTS wepmode OFF weptxkey 1 After running "dhclient ath0" the netgear-card finds the accesspoint ( both leds blinking simultanously). "ifconfig ath0" prints "status: active" but the inet-address remains 0.0.0.0. How can I assign the card a valid ip-address via dhcp ? Or what is wrong in my setup ? My second interface fxp0 has no problems getting valid ip-address via dhcp. Any hints are very welcome. Dennis Binder