getting a wireless PCMCIA Card to work

Nathan Kline yellowdog-general@lists.terrasoftsolutions.com
Mon Feb 23 09:54:01 2004


hmm I edited my /etc/rc.d/init.d/pcmcia file as specified in your=20
script and yet cardmgr is still not running even after a reboot.

I have a D-link dwl-650 card on a powerbook walstreet running YLD=20
3.0.1. When I go into the network configuration panel I set up a new=20
network device and select the D-link 650 driver (the IRQ is set to=20
unknown, should this be different?) and the device is eth1. I then=20
activate it and I get this error:

"pcnet_cs device does not seem to be present, delaying eth1=20
initialization."

any light you or anyone else might be able to shed on this would be=20
greatly appreciated.  so far this is hte only snag I have run into with=20=

this install.

-Mitb
[o=F7<]
On Feb 23, 2004, at 7:27 AM, george_geller@earthlink.net wrote:

> First make sure that your /etc/rc.d/init.d/pcmcia is working and=20
> launching cardmgr.
>
> Is cardmgr running?  To find out do a ps -aux | grep card
>
> Mine shows:
> root       414  0.0  0.2  1604  708 ?        S    05:31   0:00=20
> /sbin/cardmgr -f
>
> If you don't have cardmgr running, pcmcia cards will not work.
>
> I had to change /etc/rc.d/init.d/pcmcia according to this script:
>
> --- pcmcia.01	2004-02-06 05:42:28.000000000 -0800
> +++ pcmcia	2004-01-17 08:14:00.000000000 -0800
> @@ -96,27 +96,31 @@
>  	if [ ! -f $SC ] ; then umask 022 ; touch $SC ; fi
>  	if [ "$SCHEME" ] ; then umask 022 ; echo $SCHEME > $SC ; fi
>  	grep -q pcmcia /proc/devices
> -	if [ $? -ne 0 ] ; then
> -	    if [ -d /lib/modules/preferred ] ; then
> -		PC=3D/lib/modules/preferred/pcmcia
> -	    else
> -		PC=3D/lib/modules/`uname -r`/pcmcia
> -	    fi
> -	    KD=3D/lib/modules/`uname -r`/kernel/drivers/pcmcia
> -	    if [ -d $PC ] ; then
> -		echo -n " modules"
> -		/sbin/modprobe pcmcia_core $CORE_OPTS
> -		/sbin/modprobe $PCIC $PCIC_OPTS
> -		/sbin/modprobe ds
> -	    elif [ -d $KD ] ; then
> -		/sbin/modprobe pcmcia_core
> -		/sbin/modprobe $PCIC
> -		/sbin/modprobe ds
> -	    else
> -		echo $" module directory $PC not found."
> -		break
> -	    fi
> -	fi
> +# 	if [ $? -ne 0 ] ; then
> +# 	    if [ -d /lib/modules/preferred ] ; then
> +# 		PC=3D/lib/modules/preferred/pcmcia
> +# 	    else
> +# 		PC=3D/lib/modules/`uname -r`/pcmcia
> +# 	    fi
> +# 	    KD=3D/lib/modules/`uname -r`/kernel/drivers/pcmcia
> +# 	    if [ -d $PC ] ; then
> +# 		echo -n " modules"
> +# 		/sbin/modprobe pcmcia_core $CORE_OPTS
> +# 		/sbin/modprobe $PCIC $PCIC_OPTS
> +# 		/sbin/modprobe ds
> +# 	    elif [ -d $KD ] ; then
> +# 		/sbin/modprobe pcmcia_core
> +# 		/sbin/modprobe $PCIC
> +# 		/sbin/modprobe ds
> +# 	    else
> +# 		echo $" module directory $PC not found."
> +# 		break
> +# 	    fi
> +# 	fi
> + 		/sbin/modprobe pcmcia_core
> + 		/sbin/modprobe $PCIC
> + 		/sbin/modprobe ds
> +
>  	if [ -s /var/run/cardmgr.pid ] && \
>  	    kill -0 `cat /var/run/cardmgr.pid` 2>/dev/null ; then
>  	    echo $" cardmgr is already running."
>
> Hope this helps,
>
> George
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
>