Date: Wed, 19 Jul 2017 15:15:15 +0000 From: sarah.bartholomew@nobilityhost.com To: freebsd-questions@freebsd.org Subject: Pure/ Nimble Storage Users Email List Message-ID: <94eb2c07eac462efda0554ad1923@google.com>
next in thread | raw e-mail | index | archive | help
PGRpdiBkaXI9Imx0ciI+PHAgY2xhc3M9ImdtYWlsLU1zb05vU3BhY2luZyI+PHNwYW4gIA0Kc3R5 bGU9ImNvbG9yOmJsYWNrIj5IaSw8L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0iZ21haWwtTXNvTm9T cGFjaW5nIj48c3BhbiBzdHlsZT0iY29sb3I6YmxhY2siPldvdWxkIHlvdQ0KYmUgaW50ZXJlc3Rl ZCBpbiBhY2Nlc3NpbmcgdGhlIHVwZGF0ZWQgYW5kIHZlcmlmaWVkIGVtYWlsIGFuZCBjb250YWN0 DQppbmZvcm1hdGlvbiBvZiBjbGllbnRzIG9yIGNvbXBhbmllcyB1c2luZyBQdXJlIFN0b3JhZ2U/ IDwvc3Bhbj48c3BhbiAgDQpzdHlsZT0iY29sb3I6YmxhY2siPldlIGFyZSBhIEdsb2JhbA0KVGVj aG5vbG9neTxiPiA8L2I+VXNlcuKAmXMgTGlzdCBQcm92aWRlcuKAmXMgd2l0aA0KPGI+OTAgTWls bGlvbiBQbHVzIDwvYj5kYXRhIGFuZCBjb3VudGluZy48L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0i Z21haWwtTXNvTm9TcGFjaW5nIj48c3BhbiBzdHlsZT0iY29sb3I6YmxhY2siPldlIGFsc28gaGF2 ZSB0aGUgIA0KaW5mb3JtYXRpb24gb2Y6IE5pbWJsZSBTdG9yYWdlLCBUaW50cmksDQpDb21wZWxs ZW50LCBTb2xpZEZpcmUsIE9yYWNsZSBGUzEgU3RvcmFnZSwgRU1DIFZOWCwgSFAgM1BBUiBTdG9y ZVNlcnYgIA0KU3RvcmFnZSwNClRlZ2lsZSwgSUJNIEZsYXNoU3lzdGVtIGFuZCBtb3JlLjwvc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ldGluZyBzb2Z0d2FyZSBmb3IgR21haWwuPC9hPg0K From owner-freebsd-questions@freebsd.org Wed Jul 19 15:16:24 2017 Return-Path: <owner-freebsd-questions@freebsd.org> Delivered-To: freebsd-questions@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 853AAC7F73D for <freebsd-questions@mailman.ysv.freebsd.org>; Wed, 19 Jul 2017 15:16:24 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.20.71]) by mx1.freebsd.org (Postfix) with ESMTP id 6BB00832EE for <freebsd-questions@freebsd.org>; Wed, 19 Jul 2017 15:16:23 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id E4F24CB8CEE; Wed, 19 Jul 2017 10:16:22 -0500 (CDT) Received: from 128.135.52.6 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Wed, 19 Jul 2017 10:16:22 -0500 (CDT) Message-ID: <25403.128.135.52.6.1500477382.squirrel@cosmo.uchicago.edu> Date: Wed, 19 Jul 2017 10:16:22 -0500 (CDT) Subject: Lagg eth+WiFi configuration - works but not "by the book" From: "Valeri Galtsev" <galtsev@kicp.uchicago.edu> To: freebsd-questions@freebsd.org Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal References: In-Reply-To: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions/> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 19 Jul 2017 15:16:24 -0000 Dear Experts, I run FreeBSD on my laptop for a couple of years at least, but finally I decided to climb off the tree, and configure networking right. Namely: make a single configuration, and have it using wired connection when available, and wireless when disconnected from wired network. Lagg with failover from wired to wireless seems to be right thing, so I followed brilliant FreeBSD handbook: https://www.freebsd.org/doc/handbook/network-aggregation.html Which never worked for me (WiFi claimed authentication failure), even though each of connections enabled one at a time worked well. I have found workaround: Instead of starting wlan0 with MAC address of wired adapter as described in handbook, I did the opposite and started wired interface with MAC address of wireless, then created lagg, - did the rest by the book. Which works nicely, I'll paste my /etc/rc.conf below in case someone has trouble I had. I wonder what I was doing wrong when I followed the handbook and it didn't work for me. Any obvious "pilot error"? Here is relevant portion of my working /etc/rc.conf (with obfuscated MAC address, note that MAC address I start wired card with 70:18:8b:XX:XX:XX is MAC address that WiFi card has): ifconfig ... wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 70:18:8b:XX:XX:XX ... cat /etc/rc.conf ... ifconfig_em0="up" ifconfig_em0="ether 70:18:8b:XX:XX:XX" wlans_ath0="wlan0" ifconfig_wlan0="WPA" create_args_wlan0="country US" cloned_interfaces="lagg0" ifconfig_lagg0="up laggproto failover laggport em0 laggport wlan0 DHCP" ... Thanks. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?94eb2c07eac462efda0554ad1923>