Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2001 04:23:45 -0700
From:      Nick Sayer <nsayer@quack.kfu.com>
To:        Daniel Kirkwood <dmk@worfie.net>
Cc:        Donald Burr of Borg <dburr@borg-cube.com>, Warner Losh <imp@harmony.village.org>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>, FreeBSD Mobile <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: Does FreeBSD WaveLAN driver support IBSS (orinoco Peer-to-Peer)?
Message-ID:  <3B08FAC1.1020502@quack.kfu.com>
References:  <20010519194104.D44199-100000@localhost>   <200105210430.f4L4USE28933@harmony.village.org> <001101c0e1c1$cf7baae0$170c0b0a@cairo.iteru.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Kirkwood wrote:
[...]


> To do the required setup I created a file /etc/start_if.wi0 with these
> lines:
> 
> /usr/sbin/wicontrol -i wi0 -n aether


[...]


I recommend replacing 'wi0' with ${interface} - it makes the script more 
portable. The pointlessness level would seem to go up a tad given that 
the script is called 'start_if.wi0', but if that ever changed, it would 
reduce from 10 to 1 the number of places you'd have to change it.

You could even go so far as to replace 'wicontrol' with 
'${interface}control'. When I last looked, ancontrol took many of the 
same arguments. You could hardlink start_if.wi0 to start_if.an0 and it 
may still work.

The -c argument to wicontrol does not work and will likely never work. 
Because of that, -q is also pointless. The short answer is it's simply 
not as simple as that to set up an access point, and Lucent hasn't 
publicly documented how to go about it. -p 1 is no longer necessary, as 
BSS mode is now the default as of 4.3. You would have to explicitely 
choose peer-to-peer mode if you wanted it with '-p 3'. -f is also 
unnecessary in BSS mode.

Note that you can't make your own ad-hoc bridge with a wi card either, 
since wi cards cannot do promiscuous transmissions. That is, the card 
will not transmit frames with an Ethernet address other than its own. 
This functionality is required for bridging. You can make a router, 
though, but BSS mode has some important advantages over adhoc:

	Power management is not possible in adhoc
	Promiscuous reception is not assured and performance may decline due to 
the 'hidden station' problem (B can see A and C, but A and C can't see 
each other).


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B08FAC1.1020502>