From owner-freebsd-questions@FreeBSD.ORG Sat Jun 8 18:44:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A49973EE for ; Sat, 8 Jun 2013 18:44:39 +0000 (UTC) (envelope-from sashaandtanya@gmail.com) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 363FE1FD3 for ; Sat, 8 Jun 2013 18:44:39 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id d7so2302590bkh.39 for ; Sat, 08 Jun 2013 11:44:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=hi3KLmtbl7J3IYJf/+XBvWR22io/hwEN6fDxftjmUqQ=; b=DfwwSeb9wJkI0622cpn2sEsGwdmd8K3uOBERgM+9LchKa3Yuke5HERknj2SkejyprC jTY6cfxI170jL/85ApAeKVv4cYs7B+BW+juwKds06a1DuZ60QBiu+r+56gBB3x/hD7ih VGgXMWZQi4mQXIRVLTFaDYeyoEwOLiIBo0qwcjSgCy1DOQfbRaCb+f/2vDR7xNBZVtWq k80ierpsTT/VfgVZcp3pin4gEm9eNW3F9qcDkzhxRFjjC/wA31CvP4cr96xLymTVHPWd f+FBHMzp9XdQKbavioAD4TJDuaYLVtz+vUKdB6cdgZSAiEPQ0giDEw3DiKGOyWV6G/X+ BzPQ== X-Received: by 10.205.32.140 with SMTP id sk12mr546589bkb.75.1370717078222; Sat, 08 Jun 2013 11:44:38 -0700 (PDT) Received: from [192.168.1.2] (78-25-13-129.static.vega-ua.net. [78.25.13.129]) by mx.google.com with ESMTPSA id jy7sm1299117bkb.6.2013.06.08.11.44.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 08 Jun 2013 11:44:37 -0700 (PDT) Message-ID: <51B37B93.7060908@gmail.com> Date: Sat, 08 Jun 2013 21:44:35 +0300 From: Sasha and Tanya Kapshuk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.16) Gecko/20121216 Icedove/3.0.11 MIME-Version: 1.0 To: Warren Block Subject: Re: trouble setting up wireless References: <51B35217.9080003@gmail.com> <51B37351.4060709@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Jun 2013 18:44:39 -0000 On 06/08/2013 09:33 PM, Warren Block wrote: > On Sat, 8 Jun 2013, Sasha and Tanya Kapshuk wrote: > >> On 06/08/2013 09:03 PM, Warren Block wrote: >>> >>>> Howdy, >>>> >>>> Been trying to setup wireless on a laptop with an Atheros 5424/2424 >>>> card running FreeBSD 9.1-RELEASE. >>>> >>>> Been following the instructions given in the handbook. >>>> >>>> Running 'ifconfig wlan0 up scan' does not seem to return anything. >>>> What am I doing wrong? >>> >>> That should be 'ifconfig wlan0 up list scan'. >> Tried that. Still no output. >> >> I see that my card being identified as AR2425 is supported by the >> ath_hal(4) module. How do I enable it? > > Both are built into the GENERIC kernel. If you've built a custom > kernel, you'll have to load them in /boot/loader.conf. > >> Here's whta I've got in my /etc/rc.conf: >> >> if_ath_load="YES" >> if_ath_pci_load="YES" > > Right, but those go in /boot/loader.conf. Not needed if you're using > the GENERIC kernel, though. > >> ifconfig says 'no carrier' for wlan0. > > Here's my "short form" wireless article: > > http://www.wonkity.com/~wblock/docs/html/wireless.html Thanks for your response. I am running the GENERIC kernel. I can see that the wlan and ath pieces are compiled into the kernel, so I removed the ath lines from /boot/loader.conf. I seem to have done everything right, but it still doesn't work. 'ifconfig wlan0 create wlandev ath0' creates wlan0. 'wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf' produces no output. dhclient wlan0 says no link .... giving up. What am I doing wrong? Thanks.