Re: IBSS channel vs Current channel

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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).

Warner

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.