From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 29 16:52:46 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F19716A41F for ; Thu, 29 Sep 2005 16:52:46 +0000 (GMT) (envelope-from roger.zuniga@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABC2243D4C for ; Thu, 29 Sep 2005 16:52:45 +0000 (GMT) (envelope-from roger.zuniga@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so146848nzk for ; Thu, 29 Sep 2005 09:52:44 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kn3qLT6bG2PqUj93VIM9AviJM9JzdZiM5Wu5DTM5RxSHEPAlMaW47YSCi3HQKDUgv9GZcI65BdJv4J8E/wVL0DGw36qqZdOKrK8raV/fuITB8Id70OhjlTJqiHK6+sjEj/xhsOKA9DYpnw8TGCH/XKZI9mpPAQUKz1QRW/FnL7I= Received: by 10.36.108.9 with SMTP id g9mr4730470nzc; Thu, 29 Sep 2005 09:52:44 -0700 (PDT) Received: by 10.36.160.19 with HTTP; Thu, 29 Sep 2005 09:52:44 -0700 (PDT) Message-ID: <69df809805092909523f418bab@mail.gmail.com> Date: Thu, 29 Sep 2005 12:52:44 -0400 From: Roger Zuniga To: Dennis Binder In-Reply-To: <20614.1127985625@www48.gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20614.1127985625@www48.gmx.net> Cc: freebsd-mobile@freebsd.org Subject: Re: WG511T dhcp problem on Freebsd 5.4 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Roger Zuniga List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Sep 2005 16:52:46 -0000 Hi, I am using the WG511T with really great results but on FreeBSD 6Beta5, all I did was add ifconfig_ath0=3D"DHCP" ifconfig_ath0=3D"ssid default DHCP" to /etc/rc.conf Hope that helps. Roger On 9/29/05, 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=3D "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 24M= bps > 36Mbps 48Mbps 54Mbps > > my /etc/rc.conf looks like this: > removable_interfaces=3D"ath0 ep0" > ifconfig_ath0=3D"NO" > > my /etc/start_if.ath0 is empty. After plugging the card "ifconfig ath0" > prints this: > ath0: flags=3D8802 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=3D8843 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 ( bo= th > 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 tips are very welcome. > > Dennis Binder > > > > -- > GMX DSL =3D Maximale Leistung zum minimalen Preis! > 2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/d= sl > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" >