From owner-freebsd-net@FreeBSD.ORG Sun Jun 9 18:06:47 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CD6BCF6 for ; Sun, 9 Jun 2013 18:06:47 +0000 (UTC) (envelope-from alexander.kapshuk@gmail.com) Received: from mail-bk0-x22f.google.com (mail-bk0-x22f.google.com [IPv6:2a00:1450:4008:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 636DA1793 for ; Sun, 9 Jun 2013 18:06:47 +0000 (UTC) Received: by mail-bk0-f47.google.com with SMTP id jg1so2727001bkc.6 for ; Sun, 09 Jun 2013 11:06:46 -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:subject :content-type:content-transfer-encoding; bh=UaldNffFSb2oX0R+JNanFRh+8bp35SMZH2zjVo7Hqu0=; b=BPhDimlAxxw4gdWHLntYbkm7Nhosadwpe8dvMbi3p0a5yRJxKgn4KuYuAcqAZA8U7s j3mKUlg3fFPvPQBPU5jMGSYXINupyXQA+s4D1TtKwIheq4B2GABmKuQJf4SO5jMW7Pla BxKNOlSxo3I/VP5NczvbWqIB4/epT54fW/QKEVpmtyDuAp/DhPGua3DR+9cbR0iwvjyq KuXf4Rs75lVcgOTUqzAWmLX/vh/tZnNi7f24WVq8pF6P71Qa8LiVo/ZBLQXH/s7W15Gm jyE//UdbTgjOp2i5kXLtukyb7QVXJKAzigxzlJUMOomoBQWMtY4S94/PnFnlmV8v0Pta ubqw== X-Received: by 10.205.1.198 with SMTP id nr6mr990478bkb.168.1370801206372; Sun, 09 Jun 2013 11:06:46 -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 i15sm2420607bkz.12.2013.06.09.11.06.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 09 Jun 2013 11:06:45 -0700 (PDT) Message-ID: <51B4C433.9010702@gmail.com> Date: Sun, 09 Jun 2013 21:06:43 +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: freebsd-net@freebsd.org Subject: re: kldstat doesn't show ath_hal [AR2425] Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 18:06:48 -0000 I've got an Atheros card, AR2425, which is supposed to be supported by ath_hal(4), according to the man page. 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 I can see that ath_hal is listed in the kernel config file: 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 kldstat doesn't show ath_hal as having been loaded. Is that normal? 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 Long story short, I can't seem to be able to configure my wireless, despite following the instructions given in the handbook. Here's my /etc/rc.conf: cat /etc/rc.conf hostname="box0" 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="ssid plan9 WPA DHCP" hald_enable="YES" dbus_enable="YES" linux_enable="YES" ifconfig_re0="DHCP" And my /etc/wpa_supplicant.conf: 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 } 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 re0: flags=8843 metric 0 mtu 1500 options=8209b ether 00:23:8b:b2:e5:1f inet 192.168.1.3 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0xb inet 127.0.0.1 netmask 0xff000000 nd6 options=21 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 plan9 channel 1 (2412 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 'ifconfig wlan0 list scan' returns nothing. uname -a FreeBSD box0 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:11:52 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 I've tried everything I could think of, still no luck. Any pointers would be appreciated. Alexander Kapshuk.