From owner-freebsd-mobile@FreeBSD.ORG Thu Jun 19 17:38:44 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D49D537B401 for ; Thu, 19 Jun 2003 17:38:44 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0148D43FA3 for ; Thu, 19 Jun 2003 17:38:41 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.8/8.12.3) with ESMTP id h5K0cdE1001626; Thu, 19 Jun 2003 18:38:39 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 19 Jun 2003 18:38:09 -0600 (MDT) Message-Id: <20030619.183809.89278695.imp@bsdimp.com> To: sos@spider.deepcore.dk From: "M. Warner Losh" In-Reply-To: <200306191851.h5JIpjU6000822@spider.deepcore.dk> References: <200306191851.h5JIpjU6000822@spider.deepcore.dk> X-Mailer: Mew version 2.1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: mobile@freebsd.org Subject: Re: Getting wi(4) cards talking between -stable & -current ??? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 00:38:45 -0000 In message: <200306191851.h5JIpjU6000822@spider.deepcore.dk> Soeren Schmidt writes: : The wi driver in -current seem to be out of sync with ifconfig/wicontrol : as wicontrol warns about -p (I use adhoc mode): : warning: flag p deprecated, migrate to ifconfig mediaopt : and ifconfig with mediaopt says its not configured ?? You need to specify both media and mediaopt. : ifconfig from -stable: : : wi0: flags=8843 mtu 1500 : inet 194.192.25.157 netmask 0xfffffffc broadcast 194.192.25.159 : ether 00:02:2d:0d:27:8b : media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps ) : status: associated : ssid "FreeBSD IBSS" 1:"" : stationname "FreeBSD WaveLAN/IEEE node" : channel 3 authmode OPEN powersavemode OFF powersavesleep 100 : wepmode OFF weptxkey 1 : : ifconfig from -current: : wi0: flags=8843 mtu 1500 : inet 194.192.25.158 netmask 0xfffffffc broadcast 194.192.25.159 : ether 00:02:2d:01:7d:e9 : media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps ) : status: associated : ssid "" : stationname "FreeBSD WaveLAN/IEEE node" : channel 3 authmode OPEN powersavemode OFF powersavesleep 100 : wepmode OFF weptxkey 1 I've tried adhoc in current a while ago, but I don't think I tried the old Demo Ad-hoc mode. What are the firmware versions of these cards? What kinds of adhoc modes are support differe between firmware versions. The ethernet addresses suggest that about 700,000 cards were made between the two which suggests they might not be completely identical. I'd try the following: 4.8% ifconfig wi0 media autoselect mediaopt ibss-master ssid \ "SosAtaDriverRocks" channel 3 5.1% ifconfig wi0 media autoselect mediaopt adhoc ssid \ "SosAtaDriverRocks" channel 3 or 4.8% ifconfig wi0 media autoselect mediaopt adhoc ssid \ "SosAtaDriverRocks" channel 3 5.1% ifconfig wi0 media autoselect mediaopt adhoc,flag0 ssid \ "SosAtaDriverRocks" channel 3 I don't know the distances between the cards, but you may want to wire down the speed by applying one of the following: s=autoselect=DS/2Mbps=g s=autoselect=DS/1Mbps=g s=autoselect=DS/5.5Mbps=g s=autoselect=DS/11Mbps=g Finally, there have been many issues with the 5.1 wi driver with Lucent cards, which it doesn't look like you are hitting, but I thought I'd warn you. I'm not sure what else to say. Warner