From owner-freebsd-mobile Wed Jun 19 9:20:53 2002 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 931E337B405 for ; Wed, 19 Jun 2002 09:20:16 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id g5JGKFY45554; Wed, 19 Jun 2002 10:20:15 -0600 (MDT) (envelope-from imp@village.org) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id g5JGKAG12096; Wed, 19 Jun 2002 10:20:14 -0600 (MDT) (envelope-from imp@village.org) Date: Wed, 19 Jun 2002 10:20:02 -0600 (MDT) Message-Id: <20020619.102002.37454326.imp@village.org> To: john@kozubik.com Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: connecting aironet and lucent 802.11b in ad hoc mode From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message: John Kozubik writes: : : There is some confusion[1] as to how you get `an` cards to talk to `wi` : cards (cisco aironet talking to lucent) in FreeBSD - it is non-intuitive. : : Here is the process: : : 1. on the wi side, set -c 1, and set -q "something", leave port type BSS. : (do NOT configure as ad-hoc) : : 2. on the an side, set -o 0 (ad-hoc) and `-v 1 -n "something"` : : 3. I have tested this on channels 1,10, and 6, using FreeBSD 4.5-RELEASE : : NOTE: output of `ifconfig -a` will say "status: no carrier" on the : system with the lucent card. The `ifconfig -a` output on the : system with the aironet card will say "status: associated" : : 4. SPEED TEST: (an says 11Mbps , wi says 2Mbps) : 1048576 bytes sent in 2.25 seconds (454.38KB/s) 3.635 mb/s : 1048576 bytes sent in 2.20 seconds (465.75KB/s) 3.726 mb/s : (got same speeds on a file 10x that big) : (using laptops with _slow_ (4200 rpm?) hard drives) : : Step 1 refers to `wicontrol` commands. Example: `wicontrol -i wi0 -c 1` : : Step 2 refers to `ancontrol` commands. Example: `ancontrol -i an0 -o 0` : : : [1] Thread on freebsd-mobile dated 2001-11-12 Soon it should be as simple as doing ifconfig an0 mediaopt ibss ifconfig wi0 mediaopt ibss Also, the above WILL NOT WORK AT ALL if you have old firmware on your lucent cards. The old lucent cards won't do true 802.11b ibss mode before about 6.04 or so. If your firmware is too old, you lose. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message