Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2003 20:08:36 +0100
From:      "Christoph P. Kukulies" <kuku@physik.rwth-aachen.de>
To:        "M. Warner Losh" <imp@bsdimp.com>
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>
In-Reply-To: <20030301.113537.62375822.imp@bsdimp.com>; from imp@bsdimp.com on Sat, Mar 01, 2003 at 11:35:37AM -0700
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <kuku@physik.rwth-aachen.de> 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




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