From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 21:35:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FE25106564A for ; Sun, 3 Jul 2011 21:35:28 +0000 (UTC) (envelope-from pancakeking79@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id C5AAA8FC08 for ; Sun, 3 Jul 2011 21:35:28 +0000 (UTC) Received: by pvg11 with SMTP id 11so5605318pvg.13 for ; Sun, 03 Jul 2011 14:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=f3B6UvLg0P3Aprg52rJIROgPlsU0lnPfQvulyMIE7y4=; b=B5GJ7RXRH9+rONO5lEt2JofGBlbb5HO7taCVLe2Woy23ocgmq4akRvXigV5hPoTftA jHKis3QoXSyYN+1YswR6gCOZJ1Irt0V9gtbVjmGa7SL15qk9HkrWq5osVWTieuSq+/Fk 4cZg+vQJZQFh0tE6xd0eoS+o7ZxNexDo5AUVo= MIME-Version: 1.0 Received: by 10.142.56.13 with SMTP id e13mr2456841wfa.298.1309728928220; Sun, 03 Jul 2011 14:35:28 -0700 (PDT) Received: by 10.143.31.19 with HTTP; Sun, 3 Jul 2011 14:35:28 -0700 (PDT) In-Reply-To: <201107031721.p63HLo5g055315@mail.r-bonomi.com> References: <201107031721.p63HLo5g055315@mail.r-bonomi.com> Date: Sun, 3 Jul 2011 23:35:28 +0200 Message-ID: From: _ To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: WLAN issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 21:35:29 -0000 The router supports DHCP perfectly fine and there is no MAC address filtering or blocking or anything of that sort. I know this for a fact since I administer it. There are several hosts connected to it. These are cable or WLAN connections based on Windows or Apple machines and there has never been an issue. I am aware that my NIC can't get the IP-Address. Why this is so puzzles me, for I have already tried all the other alternatives I know. These are: 1. /etc/rc.d/netif start. 2. wpa_supplicant -i wi0 -c /etc/wpa_supplicant.conf 3. dhclient wi0 and they don't work either. My kernel even crashed a few times when I ran the netif script. On Sun, Jul 3, 2011 at 7:21 PM, Robert Bonomi wrote: > > > Date: Sun, 3 Jul 2011 18:03:35 +0200 > > To: freebsd-questions@freebsd.org > > Subject: WLAN issue > > > > Hi List, > > > > I can't get my WLAN (WPA) to work and I am somewhat at a loss, as to what > > else to try... > > > > > > The /etc/rc.conf portion looks like this: > > > > ifconfig_wi0="WPA DHCP" > > > > > > My /etc/wpa_supplicant.conf looks like this: > > > > network={ > > ssid="my_ssid" > > psk="my_psk" > > } > > > > The above should be fine in terms of how it is set up. > > > > > > Invoking ifconfig on the interface tells me that it is connected, > however, > > there's still no internet connection. > > > > # ifconfig wi0 > > wi0: flags=8843 metric 0 mtu 1500 > > ether 00:02:2d:0f:4f:99 > > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > > media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) > > status: associated > > ssid WLAN-5C7E88 channel 11 (2462 Mhz 11b) bssid 88:25:2c:5c:7e:38 > > stationname "FreeBSD WaveLAN/IEEE node" > > authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF bmiss 7 > > scanvalid 60 roaming MANUAL > > > > > > My OS is FreeBSD 7.0. > > > > > > Any support is greatly appreciated. > > The 'problem' is obvious -- you don't have an IP address. > > _Why_ that is the case is not so obvious. > > _I_ have always run the DHCP client manually -- can't give you the > exeuctable > name off the top of my head, and don't have easy access to the machine to > look it up. There is undobtedly a 'better' way -- e.g., to run it > 'automagically' when the wifi connection goes 'associated' -- but I don't > know what it is. doing it manually has sufficied for my needs. > > > > > >