Re: IBSS channel vs Current channel

Vince Vielhaber <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Tue, 28 Jan 2003, M. Warner Losh wrote:

> In message: <[email protected]>
>             Vince Vielhaber <[email protected]> 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 [email protected]
with "unsubscribe freebsd-mobile" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.