From owner-freebsd-net@FreeBSD.ORG Tue Jun 9 12:18:12 2009 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 E32C81065670 for ; Tue, 9 Jun 2009 12:18:12 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f208.google.com (mail-bw0-f208.google.com [209.85.218.208]) by mx1.freebsd.org (Postfix) with ESMTP id 68B6F8FC13 for ; Tue, 9 Jun 2009 12:18:12 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz4 with SMTP id 4so257577bwz.43 for ; Tue, 09 Jun 2009 05:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=DmhIMuADtpKFehLAkXF473+csXf1dfYRbd9QfCLWxEc=; b=hnIFwvLZawY77pp6QgAIB6qzsiyJ4iICsjfISx/KkXhTcNyU8ctK7p5H4ZiwF8ycwP jT1Hsn9CMbkxvLEItXzaMykfVxkPLhNKeO3TKN0w8EGV+yl1QQ5RS8P7JfZgqoMYPtGy 9guz7Yn4yQz+heoKLrs5bc15WpZzJNNTX+Vj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=IojXlVjI8GRJQjE6ktbChwcyIPzeycfCIKKbq2YVih3AJcR/n0MplxyDS5/Mn6SP8X xtfv3RVV/KXlwWozkwA2HioFad20TRKigbQgkms49MPL2ZM4n2vE9LoNeE6IEtVrJqDc iqePg8pQkIbVZE5vejudhYo8QqY/mdoL6ftTw= MIME-Version: 1.0 Received: by 10.204.54.4 with SMTP id o4mr70704bkg.10.1244549891176; Tue, 09 Jun 2009 05:18:11 -0700 (PDT) In-Reply-To: <1244544247.41240.16.camel@daemon2.partygaming.local> References: <3a142e750906090308w34c1d9feye5c6e2cc67d5a953@mail.gmail.com> <1244544247.41240.16.camel@daemon2.partygaming.local> Date: Tue, 9 Jun 2009 12:18:11 +0000 Message-ID: <3a142e750906090518u6951c28clbe6e97c1f4ff1601@mail.gmail.com> From: "Paul B. Mahol" To: Vladimir Terziev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: Unable to clone wlan device 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: Tue, 09 Jun 2009 12:18:13 -0000 On 6/9/09, Vladimir Terziev wrote: > The actual problem, i play with wlan cloning because of, is, i try to > set up a FreeBSD based wireless access point either based on ral(4) or > iwi(4) interface. > > The ral(4) (which is "Edimax EW-7128g") seems more suitable for that, > since it has HOSTAP capability, but when i tried to run a hostapd(8) on > it, i got an error about inability TKIP to be configured by hostpad(8). > Since TKIP is not present as a capability of the wireless adapter, i > decided to clone it and use the wlan_tkip(4) module to do the work. That is not important. You don't need to clone device to use TKIP. If device or device driver doesn't support encryption in hardware, software encryption will do the work via wlan_tkip(4). There is only one exception to this and that are ndis(4) drivers. NDIS do not allow such workaround. -- Paul