From owner-freebsd-wireless@FreeBSD.ORG Mon Oct 7 21:19:12 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 5CCBCBAE for ; Mon, 7 Oct 2013 21:19:12 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ee0-x234.google.com (mail-ee0-x234.google.com [IPv6:2a00:1450:4013:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE7EF24BF for ; Mon, 7 Oct 2013 21:19:11 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id c41so3584123eek.11 for ; Mon, 07 Oct 2013 14:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=1gOVHiyEaAVG3ICyptQLUn/99Ikucm3jQ1H/34E9syM=; b=x4mHVgkSe2MpmE5zu0aeX4s1MuRqshGicokx+0C4xRimcw3X2vndESdvEw90QwONOX HKzigkqRK5vUXk0gyyPUTBJx9263zpUYfeiAvb6ypizTnWyBzZiULZKsCd+3RhYE+wfQ pIft9JnOszG6kFSRhTeXYZ0z1PUs/DnQaFCNgVFZJNOm45qQUdU/makq0kbV8TZT7CyI Pf24sY7jh6dYPhoBU5I6Kan8ROcMHfLJLcrzBUUZFwNrEMLmk4r4lEO1rrVQERFu3vZx a+lGQr2mnBaiZPF2KwCXX+0pVgm4G2x/pYSiGXbvlRJBckF7kmuWKNe4rOmDFpodvzpN Tt7w== MIME-Version: 1.0 X-Received: by 10.14.29.67 with SMTP id h43mr52393831eea.7.1381180749397; Mon, 07 Oct 2013 14:19:09 -0700 (PDT) Received: by 10.14.142.209 with HTTP; Mon, 7 Oct 2013 14:19:09 -0700 (PDT) Date: Mon, 7 Oct 2013 14:19:09 -0700 Message-ID: Subject: iwn on a Lenovo 5100 - can't connect to wireless From: Kurt Buff To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Oct 2013 21:19:12 -0000 I'm sure I'm making a silly mistake in the config somewhere, but I'm working from these two pages: http://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant.conf&sektion=5 and http://www.freebsd.org/doc/handbook/network-wireless.html Situation as follows: multiple WAPS running multiple SSIDs, on multiple channels (1,6,11) but I'm only interested in one SSID. It's WPA PSK. The laptop is running 9.2-RELEASE and configured with the folllowing: >From /boot/loader.conf if_iwn_load="YES" wlan_wep_load="YES wlan_ccmp_load="YES" wlan_tkip_load="YES" >From /etc/rc.conf (DHCP configuration doesn't work, either) defaultrouter="192.168.15.1" wlans_iwn0="wlan0" ifconfig_wlan0="inet 192.168.15.50 netmask 255.255.255.0 ssid wireless" >From /etc/wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel network={ ssid="wireless" scan_ssid=1 key_mgmt=WPA-PSK psk="longrandompassword" } When I boot the machine, and run 'ifconfig wlan0', I see "status: no carrier". If I do 'ifconfig wlan0 scan', I get results, seeing the WAPs near me, etc., but I can't ping anything. When I manually run 'wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf', I get connection, and can ping from a different console session, but once I ^c out of wpa_supplicant, I lose the network. Can anyone tell me what I'm missing on this? Kurt