From owner-freebsd-wireless@FreeBSD.ORG Sun Oct 21 22:03:52 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 560AE5A6 for ; Sun, 21 Oct 2012 22:03:52 +0000 (UTC) (envelope-from yo9fah@yahoo.com) Received: from nm14.bullet.mail.ird.yahoo.com (nm14.bullet.mail.ird.yahoo.com [77.238.189.67]) by mx1.freebsd.org (Postfix) with ESMTP id 9574D8FC14 for ; Sun, 21 Oct 2012 22:03:51 +0000 (UTC) Received: from [77.238.189.53] by nm14.bullet.mail.ird.yahoo.com with NNFMP; 21 Oct 2012 22:03:50 -0000 Received: from [217.146.188.171] by tm6.bullet.mail.ird.yahoo.com with NNFMP; 21 Oct 2012 22:03:50 -0000 Received: from [127.0.0.1] by smtp139.mail.ird.yahoo.com with NNFMP; 21 Oct 2012 22:03:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1350857030; bh=RqKtOQKADfz4Kd89r+n5GgT6MNv37nxVYliImbrgeYs=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=BiYWdomarWw3R5tA4cB1hctrBzYvuyiE1L8Pv3++DOJjDXGvhLMbtFQ+xuTpzGK+yaSSNUXblAh7zrefsMB8y4W3osXDYAzFPsn/4w6c12P2nl478fKDeDbku3LN/g7AL5mx7ZYpLpxYCz98gXsBEu5P9w2hC+JmxDRumb1fa80= X-Yahoo-Newman-Id: 152328.70686.bm@smtp139.mail.ird.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: xSj73EkVM1mO7lBJlCRfpUTRExl4uqxPCn8bBvGUnC1hrcY ubiDFV87B2aChM9qai4yfNxV6NhVhP_9X.KtCmXqx3rffiA.CQMQl6M7GMp_ YunXWwRVzWgoIvUlq6cQeI7WKAY7f5CVtMfPl8n28hUVTaKyijtf4Qr5NKrE 7jFoHV2XJd1piYXQmogZXmpq6wT0JwhJGz.T9fd6JvO8EJC5StBrAzrHWd04 qjzoymUrtlX1RcpIpd.pzGCv121kA6Dp0GcwnBq4zZTIfa4lX4TmwpYQ.FZh XpiSw0OqU.O5enwAxwFZuN2lnTsM4rT1xF5xmR8NdJ8db5S4YzZxrL0pFkfc jkpO19R9wEh49630Y9t4BowPbO24SLHy6noA5V2S4AVPfvQkHeOBlxHsYMPN Kza.GK9gnBV7Pxb1opiTVvtCNDfRbD63hANTpxoY- X-Yahoo-SMTP: x49T652swBDkMp2JHOVWpV6xcw-- Received: from [192.168.1.103] (yo9fah@188.27.202.73 with plain) by smtp139.mail.ird.yahoo.com with SMTP; 21 Oct 2012 15:03:49 -0700 PDT Message-ID: <50847145.6020301@yahoo.com> Date: Mon, 22 Oct 2012 01:03:49 +0300 From: George User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20121010 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-wireless@freebsd.org Subject: Re: Wireless network Broadcom not connected Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 21 Oct 2012 22:03:52 -0000 Hey ! Where is weptxkey. The deftxkey UNDEF is important after all. It isn't mentioned in the man page !? Yes !!! I initially decide to try setting it to my WEP key, but that doesn't work. Next I try setting it to 1 !? Read manual again, ifconfig: wepmode mode Set the desired WEP mode. Not all adapters support all modes. The set of valid modes is off, on, and mixed. The mixed mode explicitly tells the adaptor to allow association with access points which allow both encrypted and unencrypted traffic. On these adapters, on means that the access point must only allow encrypted connections. On other adapters, on is generally another name for mixed. Modes are case insensitive. weptxkey index Set the WEP key to be used for transmission. This is the same as setting the default transmission key with deftxkey. wepkey key|index:key Set the selected WEP key. If an index is not given, key 1 is set. A WEP key will be either 5 or 13 characters (40 or 104 bits) depending on the local network and the capabilities of the adaptor. It may be specified either as a plain string or as a string of hexadecimal digits preceded by ‘0x’. For maximum portability, hex keys are recommended; the mapping of text keys to WEP encryption is usually driver-specific. In particular, the Windows drivers do this mapping differently to FreeBSD. A key may be cleared by setting it to ‘-’. If WEP is supported then there are at least four keys. Some adapters support more than four keys. If that is the case, then the first four keys (1-4) will be the standard temporary keys and any others will be adap‐tor specific keys such as permanent keys stored in NVRAM. Note that you must set a default transmit key with deftxkey for the system to know which key to use in encrypting outbound traf‐fic. Nothing too odd here. The deftxkey UNDEF looks new, but that shouldn't matter? Let me ping a host. Nothing. I sniff on the wlan0 interface and see my host ARP for the gateway, but that's it. By the way, I added a default route.