From owner-freebsd-questions@FreeBSD.ORG Sun Jun 9 15:14:53 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 75EF4C2F for ; Sun, 9 Jun 2013 15:14:53 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-bk0-x22d.google.com (mail-bk0-x22d.google.com [IPv6:2a00:1450:4008:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 0790A1D48 for ; Sun, 9 Jun 2013 15:14:52 +0000 (UTC) Received: by mail-bk0-f45.google.com with SMTP id je9so1411678bkc.32 for ; Sun, 09 Jun 2013 08:14:51 -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=AjXBX54b70rhJ7EYqmHT+vHo2nPPg3xAdzmitg982E8=; b=JMWIC1xW0yELbGP7ZB1cXkgNb3GO4d/JosTevMHSvktVMgL5aKgbjZzdhq6aaZYeLR S67gFduF2EvYv9WwZJUEaBIkKYvG2EJV3oWetBNW4UY14if8RPnUoAqLuFSW3a9bNvwE uku8JOUhYLkNzqm/WlXovsULKP0oADx9/LxdF0rC3kUV22oUD1Hq7G+h934lmUZd2/E5 i09Be26k3+88I5NsYl9AZoVKiJRjfxEPZ7Oouh/hRbgBGAaz3hBP1dPE9u3sfEfHRUHV rRZT+XKBLMly8b37zKRaIEyFQSrJ7JF7WhGnYIV2H3aBns6KmABwfGFtS06xGBIAzPu3 XnwA== X-Received: by 10.204.163.130 with SMTP id a2mr928169bky.62.1370790891903; Sun, 09 Jun 2013 08:14:51 -0700 (PDT) Received: from [192.168.1.3] (78-25-13-129.static.vega-ua.net. [78.25.13.129]) by mx.google.com with ESMTPSA id hh3sm2260491bkc.5.2013.06.09.08.14.50 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Jun 2013 08:14:51 -0700 (PDT) Message-ID: <51B49BEA.6050906@gmail.com> Date: Sun, 09 Jun 2013 18:14:50 +0300 From: Alexander Kapshuk User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130609 Thunderbird/17.0.6 MIME-Version: 1.0 To: Warren Block Subject: Re: trouble setting up wireless References: <51B35217.9080003@gmail.com> <51B37351.4060709@gmail.com> <51B37B93.7060908@gmail.com> <51B48D91.2030308@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: Sun, 09 Jun 2013 15:14:53 -0000 > >> On 06/09/13 01:24, Warren Block wrote: >>> First, check the easy things: is there a physical switch to enable >>> wireless? Is it on? >> There is no physical switch to enable wireless there. > > Notebooks also have function-key combinations to enable and disable > the radio. I've been able to use wireless on this laptop on FreeBSD 9.0. I just followed the instructions in the handbook and that was it. This time round, I seem to have done the same thing, but there's probably something I must be doing wrong. > >>> Please post the output of 'ifconfig -a'. >> root@box0:/root # ifconfig -a >> ath0: flags=8843 metric 0 mtu >> 2290 >> ether 00:24:2c:5e:06:f2 >> nd6 options=29 >> media: IEEE 802.11 Wireless Ethernet autoselect mode 11g >> status: associated >> wlan0: flags=8843 metric 0 >> mtu 1500 >> ether 00:24:2c:5e:06:f2 >> nd6 options=29 >> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) >> status: no carrier >> ssid "" channel 12 (2467 MHz 11g) >> regdomain 103 indoor ecm authmode WPA1+WPA2/802.11i privacy OFF >> txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 >> bgscanidle 250 >> roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL >> bintval 0 > > I don't see anything obviously wrong. Is an access point within > range? Has someone set it to have a "hidden" SSID? The reason why ssid is empty in the output of ifconfig above, is because I've omitted it in /etc/rc.conf. Here's my /etc/rc.conf: cat /etc/rc.conf hostname="box0" ifconfig_re0="DHCP" sshd_enable="YES" moused_enable="YES" ntpd_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" hald_enable="YES" dbus_enable="YES" linux_enable="YES" I didn't put anything related to the Atheros drivers in the /boot/loader.conf as support for them is compiled into the kernel and loaded at boot time: kldstat -v|egrep 'wlan|ath_' 98 pci/ath_pci 434 wlan 433 wlan_wep 432 wlan_tkip 431 wlan_ccmp 430 wlan_amrr 436 wlan_sta 435 wlan_ratectl_none Quick question... The ath_hal(4) man page says that the support for my wireless card is handled via ath_hal. It seems to be compiled into the kernel, but I'm not seeing it being loaded like the wpa_ and ath_pci modules are. dmesg|grep -i Ath ath0: mem 0xd6000000-0xd600ffff irq 16 at device 0.0 on pci2 ath0: AR2425 mac 14.2 RF5424 phy 7.0 egrep 'ath_|wlan_' GENERIC device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_amrr # AMRR transmit rate control algorithm device ath_pci # Atheros pci/cardbus glue device ath_hal # pci/cardbus chip support device ath_rate_sample # SampleRate tx rate control for ath Also, here's my /etc/wpa_supplicant.conf just in case I overlooked something: cat /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant eapol_version=2 ap_scan=1 fast_reauth=1 network={ ssid="plan9" psk=wpa_passphrase-generated psk } Thanks.