I have managed to gain a bit more information regarding my problem - I
added an echo statement in /etc/netstart to get a copy of the command
which was being run. I then tried to run it manually to see what
happened and it received the same error (surprise).
"ifconfig wi0 inet  10.90.1.1 netmask 255.255.255.0 nwflag hidenwid
nwid /dev/null nwkey wasteoftime4u chan 1 mediaopt hostap"

Next I removed the nwflag hidenwid and ran the command - it worked
sucessfully. I checked ifconfig and wi0 was up and running normally.

I then ran the original command and it worked without a hitch. It
seems like everything else has to be set before the nwflag is able to
work.

On 10/17/06, William Graeber <[EMAIL PROTECTED]> wrote:
I'm just received my 4.0 cd package today and was going through
upgrading my system. I have a senao prism2 pcmcia card which is acting
up a bit when I try to set the "nwflag hidenwid" option. The card
allows me to set it manually by running "ifconfig wi0 nwflag
hidenwid", however if I try to add a line to hostname.wi0 to have it
set automatically on boot such as:

inet 10.90.1.1 255.255.255.0 NONE nwflag hidenwid nwid /dev/null nwkey
XxXx chan 1 mediaopt hostap

it gives me the error: "ifconfig: SIOCS80211FLAGS: Invalid argument"

I'm sure that there is something moronic that I have done incorrectly.

Thanks in advance,
William

Reply via email to