Author: Nick Sayer
Date: 28-10-01 19:25
(posted by Dan Langille)
I would suggest that rather than hacking either dhcp or pccard.conf to
set up the parameters on your wireless card that you simply create
/etc/start_if.wi0 and put this in it:
wicontrol -i ${interface} -s `uname -n | sed 's/\..*//' | tr a-z A-Z`
wicontrol -i ${interface} -p 3
wicontrol -i ${interface} -e 1
wicontrol -i ${interface} -k 0xdeadbeef01
(you should suitably change the argument to -k, and -s if you anticipate
ever putting two cards in one machine).
You want to turn encryption on. Believe that @!#$. Since you have a
silver and gold card, be sure to only use 5 byte keys since your silver
card can't do the full 13 byte ones.
start_if is nice because nothing apart from creating it needs to be done
to get it to work.
The -s argument is nice to have if you get a base station. The link
diags can distinguish the stations by their 'name', which is set by the
-s argument. It may be possible to use this information in ad-hoc,
though I'm not sure.
|
|