From owner-freebsd-net@FreeBSD.ORG Mon Aug 4 22:58:47 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AE11106567A for ; Mon, 4 Aug 2008 22:58:47 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 197B58FC1B for ; Mon, 4 Aug 2008 22:58:47 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 678322BC5B; Tue, 5 Aug 2008 10:58:45 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZoqGC8hL8sP3; Tue, 5 Aug 2008 10:58:41 +1200 (NZST) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Tue, 5 Aug 2008 10:58:41 +1200 (NZST) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id A1A621142F; Tue, 5 Aug 2008 10:58:40 +1200 (NZST) Date: Mon, 4 Aug 2008 15:58:40 -0700 From: Andrew Thompson To: David Cornejo Message-ID: <20080804225840.GC6737@citylink.fud.org.nz> References: <6b8e8f4f0808041513x2537c723vd575f0760cf53e02@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6b8e8f4f0808041513x2537c723vd575f0760cf53e02@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-net@freebsd.org Subject: Re: bridging wireless station X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2008 22:58:47 -0000 On Mon, Aug 04, 2008 at 12:13:09PM -1000, David Cornejo wrote: > hi, > > i would like to bridge a wireless client to ethernet (in 8-CURRENT) - > the last bug in the if_bridge man page says this is a no-no. The bridge man page needs to be updated as its possible to do this now. > the question is whether this could be worked around - don't need the > highest performance, so maybe netgraph or even a userland daemon would > work. i don't have any ability to do anything at the access point end > so some of the tunneling protocols are out The system supports wdslegacy and dwds modes. lecacy takes a static bssid address to forward the traffic to, this mode can only be encrypted with wep. dwds is a unique feature where the card connects as a standard station (with any crypto, such as wpa), and then is set into wds mode. This isnt hooked into the system scripts at all and needs to be finished off. Have a look at tools/tools/net80211/scripts/setup.wds* and try some scenarios out. Andrew