Date: Sat, 01 Mar 2003 11:35:37 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: kuku@physik.rwth-aachen.de Cc: marcel@xcllnt.net, freebsd-current@FreeBSD.ORG Subject: Re: wi0 - need help Message-ID: <20030301.113537.62375822.imp@bsdimp.com> In-Reply-To: <20030301190326.A14461@gilberto.physik.rwth-aachen.de> References: <20030301111849.GA13661@dhcp01.pn.xcllnt.net> <20030301.060827.04695204.imp@bsdimp.com> <20030301190326.A14461@gilberto.physik.rwth-aachen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20030301190326.A14461@gilberto.physik.rwth-aachen.de>
"Christoph P. Kukulies" <kuku@physik.rwth-aachen.de> writes:
: Warner, I applied the patch and no change.
marcel's patch, or my patch?
: How does one specify the commands in the ifconfig interface?
: This is what I used to invoke from /etc/rc.local:
:
: /usr/sbin/wicontrol -i wi0 -n kuku
: /usr/sbin/wicontrol -i wi0 -p 1
: /usr/sbin/wicontrol -i wi0 -c 1
: /usr/sbin/wicontrol -i wi0 -s bgate
: ifconfig wi0 192.168.254.1 netmask 255.255.255.0
(assuming that you are using a real access point, or a freebsd server
in hostap mode):
ifconfig wi0 192.168.254.1 netmask 255.255.255.0 ssid kuku stationname \
bgate media DS/11Mbps
If you are trying to do a IBSS network, and are running 5.x, you'd
want to do something like:
ifconfig wi0 192.168.254.1 netmask 255.255.255.0 ssid kuku stationname \
bgate media DS/11Mbps mediaopt adhoc [*]
and
ifconfig wi0 192.168.254.2 netmask 255.255.255.0 ssid kuku stationname \
kukulap media DS/11Mbps mediaopt adhoc [*]
[*] adhoc is spelled ibss-create on 4.x
Warner
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030301.113537.62375822.imp>
