From owner-freebsd-current Sat Mar 1 10:36: 5 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB9E137B405 for ; Sat, 1 Mar 2003 10:36:03 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E198F43F93 for ; Sat, 1 Mar 2003 10:36:02 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.6/8.12.3) with ESMTP id h21Ia03Y037099; Sat, 1 Mar 2003 11:36:01 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 01 Mar 2003 11:35:37 -0700 (MST) Message-Id: <20030301.113537.62375822.imp@bsdimp.com> To: kuku@physik.rwth-aachen.de Cc: marcel@xcllnt.net, freebsd-current@FreeBSD.ORG Subject: Re: wi0 - need help From: "M. Warner Losh" 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> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: <20030301190326.A14461@gilberto.physik.rwth-aachen.de> "Christoph P. Kukulies" 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