From owner-freebsd-current Sat Mar 1 11: 8:46 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 510A337B401 for ; Sat, 1 Mar 2003 11:08:44 -0800 (PST) Received: from accms33.physik.rwth-aachen.de (accms33.physik.RWTH-Aachen.DE [137.226.46.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23B8243F93 for ; Sat, 1 Mar 2003 11:08:43 -0800 (PST) (envelope-from kuku@accms33.physik.rwth-aachen.de) Received: (from kuku@localhost) by accms33.physik.rwth-aachen.de (8.9.3/8.9.3) id UAA15653; Sat, 1 Mar 2003 20:08:36 +0100 Date: Sat, 1 Mar 2003 20:08:36 +0100 From: "Christoph P. Kukulies" To: "M. Warner Losh" Cc: kuku@physik.rwth-aachen.de, marcel@xcllnt.net, freebsd-current@FreeBSD.ORG Subject: Re: wi0 - need help Message-ID: <20030301200836.B15355@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> <20030301.113537.62375822.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030301.113537.62375822.imp@bsdimp.com>; from imp@bsdimp.com on Sat, Mar 01, 2003 at 11:35:37AM -0700 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 On Sat, Mar 01, 2003 at 11:35:37AM -0700, M. Warner Losh wrote: Not sure whether I group replied, so maybe you will be receiving two similar sounding answers, Warner. > 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? Both's have been applied. The driver is patched twice. > > : 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 [*] It works! Packets started flowing right after I typed in the above line. > > 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 How can I find out whether I can run the interface in hostap mode? At the moment it runs in adhoc mode. -- Chris Christoph P. U. Kukulies kukulies@rwth-aachen.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message