Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2003 22:20:04 -0500 (EST)
From:      Vince Vielhaber <vev@michvhf.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        mobile@FreeBSD.ORG
Subject:   Re: IBSS channel vs Current channel
Message-ID:  <Pine.BSF.4.44.0301282159420.29348-100000@paprika.michvhf.com>
In-Reply-To: <20030128.001735.50595825.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 28 Jan 2003, M. Warner Losh wrote:

> In message: <Pine.BSF.4.44.0301262235250.31693-100000@paprika.michvhf.com>
>             Vince Vielhaber <vev@michvhf.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0301282159420.29348-100000>