Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2017 22:00:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-wireless@FreeBSD.org
Subject:   [Bug 214264] iwn regression on 11.0 (Centrino Wireless-N 2230)
Message-ID:  <bug-214264-21060-0Dl2TA3ALw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214264-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-214264-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214264

--- Comment #5 from Sean Farley <scf@FreeBSD.org> ---
(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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214264-21060-0Dl2TA3ALw>