From owner-freebsd-wireless@freebsd.org Sun Jan 22 22:00:09 2017 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6651CB994E for ; Sun, 22 Jan 2017 22:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5E9D957 for ; Sun, 22 Jan 2017 22:00:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v0MM09Cx016555 for ; Sun, 22 Jan 2017 22:00:09 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-wireless@FreeBSD.org Subject: [Bug 214264] iwn regression on 11.0 (Centrino Wireless-N 2230) Date: Sun, 22 Jan 2017 22:00:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: scf@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 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: Sun, 22 Jan 2017 22:00:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214264 --- Comment #5 from Sean Farley --- (In reply to Neptunium from comment #4) Off hand, I do not know an elegant way. Let me give it a try. The way I outlined will automatically switch the wlan0 interface to any 802= .11 found in /etc/wpa_supplicant.conf. If they are not found, it will not swit= ch it. I am puzzled by the "ssid ABCDEFG" you have there. That seems redundant as wpa_supplicant will change it for any network found and authenticated. Have you tried your pre-11 configuration without it? Perhaps, wpa_supplicant, in FreeBSD 11, is not looking for networks if it is already set? Also, you are missing the DHCP tag unless that is by design. Do you use lagg(4)? You seem to be attempting to do something similar to w= hat it can do. Do you want to tie the wired NIC into the equation? This is unrelated to being more elegant, but you could change the: > ifconfig | grep wlan0 to: > ifconfig -l | grep wlan0 You want a static IP. Is that always the same IP? If yes, you can use an alias. Try this: defaultrouter=3D"192.168.1.1" wlans_iwn0=3D"wlan0" ifconfig_wlan0=3D"DHCP WPA" ifconfig_wlan0_alias0=3D"inet 192.168.1.2 netmask 255.255.255.255" If you decide to use lagg(4), then you can add the alias to the lagg device instead of wlan. --=20 You are receiving this mail because: You are the assignee for the bug.=