From owner-freebsd-mobile Tue Jan 28 19:20:21 2003 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 84F9737B401 for ; Tue, 28 Jan 2003 19:20:19 -0800 (PST) Received: from andrea.pop4.net (216-234-109-11.ded.det2.hexcom.net [216.234.109.11]) by mx1.FreeBSD.org (Postfix) with SMTP id 1165F43E4A for ; Tue, 28 Jan 2003 19:20:18 -0800 (PST) (envelope-from vev@michvhf.com) Received: (qmail 31000 invoked by uid 1008); 29 Jan 2003 03:20:12 -0000 Received: from vev@michvhf.com by www.pop4.net with qmail-scanner-0.96 (uvscan: v4.1.40/v4156. . Clean. Processed in 4.011157 secs); 29 Jan 2003 03:20:12 -0000 Received: from unknown (HELO paprika.michvhf.com) (67.36.71.182) by 0 with SMTP; 29 Jan 2003 03:20:05 -0000 Received: (qmail 40143 invoked by uid 1001); 29 Jan 2003 03:20:04 -0000 Date: Tue, 28 Jan 2003 22:20:04 -0500 (EST) From: Vince Vielhaber To: "M. Warner Losh" Cc: mobile@FreeBSD.ORG Subject: Re: IBSS channel vs Current channel In-Reply-To: <20030128.001735.50595825.imp@bsdimp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Tue, 28 Jan 2003, M. Warner Losh wrote: > In message: > Vince Vielhaber writes: > : > : I've tried this with both 4.7 and 5.0 with the same result. It doesn't > : matter if I use ifconfig or wicontrol to change the channel, if the card > : sees an AP on another channel, that's where it's going. Why? If I tell > : it to be on channel 2, it should go to channel 2. If I look at wicontrol > : it tells me the "IBSS channel" is what I want, but if there's an AP on a > : nearby channel the "Current channel" will be the one with the AP on it. > : > : Am I missing something somewhere? Is something else supposed to be set? > : > : ifconfig wi0 channel 7 up > : > : That should change it to channel 7, right? As should: > : > : wicontrol -i wi0 -f 7 > : > : ifconfig wi0 still reports it as being on channel 2. > : > : The end result is to have two cards in a Soekris board, one acting as the > : client to another AP and the other in hostap mode on another channel. As > : it is now, the client card is locking into the hostap card. > > The channel parameter is ignored when you are in BSS mode, which is > the default. > > ifconfig wi0 media DS/11Mbps mediaopt ibss ssid fred channel 7 > > is closer to what you need (note: mediaopt to set ibss, media because > mediaopt doesn't seem to work w/o it). I was able to get the channel to change by changing the name of the card acting as the AP. The above didn't want to work with an Orinoco card, and for some reason I can't get it to allow two of the Prism 2.5 based cards I have (Demarc Tech). It reports "No free configuration for card." I also tried a D-Link DWL-650H but it kept looping and complaining about an "xmit failure". I've also been unsuccessful at getting the two cards to bridge, could that also be the fault of the Orinoco (wavelan actually) card? These tests are only on 4.7 since it's the only CF image I've created so far and I'm not comfortable enough with 5.0 to mount it on a tower, especially in the middle of winter! Vince. -- Fast, inexpensive internet service 56k and beyond! http://www.pop4.net/ http://www.meanstreamradio.com http://www.unknown-artists.com Internet radio: It's not file sharing, it's just radio. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message