Re: PCMCIA/kernel problems [scheme]
>>>>> Regarding Re: PCMCIA/kernel problems [scheme]; Mike Miller
>>>>> <miller5@uiuc.edu> adds:
Mike> Cardctl works fine for me, but my question was about how the
Mike> SCHEME variable gets set. When I insert my network card and
Mike> watch some diagnostic messages (echo $SCHEME) that I've
Mike> inserted in network.opts and network, I find that the
Mike> default value of SCHEME is a null value, not `default'.
Mike> What part of the pcmcia package checks
Mike> /var/run/pcmcia-scheme and sets SCHEME? That part doesn't
Mike> seem to be working for me. To fix it, I added checking of
Mike> /var/run/pcmcia-scheme to /etc/pcmcia/network.
The SCHEME variable is set in the get_info function in the
/etc/pcmcia/shared file:
get_info ()
{
if [ -s /var/run/pcmcia-scheme ] ; then
SCHEME=`cat /var/run/pcmcia-scheme`
else
SCHEME="default"
fi
grep_stab $1 < /var/run/stab || usage
}
This function is called in the other files, like for example
/etc/pcmcia/network.
Brian
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: