Subject: Re: Lucent 802.11 (wi) kernel upgrade
To: None <>
From: Atsushi Onoe <>
List: current-users
Date: 10/02/2002 20:37:38
>  I recently bumped the version of NetBSD to latest current (on Monday),
> and found my SparcStation no longer worked as a basestation - it's
> using Lucent/Orinoco/Agere/whatever-they're-called-this-week Silver card

> he card at present is configured entirely through 
> /etc/ifconfig.wi0, which reads:
> !/usr/sbin/wiconfig wi0 -p 1
> !/usr/sbin/wiconfig wi0 -c 1
> !/usr/sbin/wiconfig wi0 -n NWID
> !/usr/sbin/wiconfig wi0 -s STATION
> inet netmask

>  Are wi(4) and wiconfig even supported anymore, or have they been
> merged into awi and ifconfig? I've been off with RSI past couple of
> weeks, so missed the gist of some threads.

You may get working by /etc/ifconfig.wi0
	nwid NWID mediaopt adhoc
	inet netmask
without wiconfig at all.  This doesn't require ifconfig to be rebuilt.

	chan 1 		(or any channel you'd like to use as a default)
would be nice for the case default channel differs between your cards,
but the 'chan' parameter is recently introduced to ifconfig so that
you need to recompile ifconfig to use 'chan'.

> I've heard of several people having trouble so would 
> really like to make as few irreversible changes as possible.

For the compatibility of wiconfig, I'm not sure what I should do.

The wiconfig utility expose the raw behavior of the firmware, which
is vary among the version.  For example, your configuration only works
for the firmware later than 6.06 of the Lucent firmware.  You must do
another configuration for the wi card with Intersil firmware or Symbol

There are some proposal to deprecate wiconfig, at least the options
which can be replaced by ifconfig.  Perhaps we should do rather than
simulating the differences of firmware.

Anyway, thanks for the report.

> in a nell Sbus adapter, acting as a wireless gateway.
> I was expecting some problems, judging by the numbers of commits and the
> HEADSUPs recently, but I built and boted a new kernel.

It is a good news!

Atsushi Onoe