From owner-freebsd-net@FreeBSD.ORG Thu Nov 10 00:12:17 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 A08A616A420 for ; Thu, 10 Nov 2005 00:12:17 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FCDF43D48 for ; Thu, 10 Nov 2005 00:12:16 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 072354CC15; Thu, 10 Nov 2005 00:12:31 +0000 (GMT) Received: from [192.168.46.52] (ppp166-27.static.internode.on.net [150.101.166.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by p4.roq.com (Postfix) with ESMTP id 129E04CB60; Thu, 10 Nov 2005 00:12:29 +0000 (GMT) Message-ID: <4372905C.1020804@roq.com> Date: Thu, 10 Nov 2005 11:12:12 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051110 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dennis binder References: <433BD311.1030501@gmx.de> In-Reply-To: <433BD311.1030501@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-net@freebsd.org Subject: Re: 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, 10 Nov 2005 00:12:17 -0000 dennis binder wrote: > 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 I am using the same card, in my rc.conf I just have this ifconfig_ath0="DHCP WPA" I am using WPA encryption and have the relevant information in /etc/wpa_supplicant.conf but if I am using no encryption I wouldn't need the WPA part at all. Mike