From: Matthew F. <mf...@ci...> - 2002-09-05 16:46:59
|
> > I am trying to configure it to support my SMC 8041 PCMCIA, and I followed these directions, per SMC: > > > > If the file /etc/pcmcia/config exists,add following > > lines in this file: > > > > card "SMC 10/100 PC Card" > > version "SMC", "8041TX-10/100-PC-Card" > > bind "pcnet_cs" > > > > The problem is, savecfg doesn't save /etc/pcmcia/, so the changes are lost when I reboot. I've tried to edit the file (via nano) on another box, but Trinux doesn't like the resulting .tgz. I could restart it manually, what's the Trinux equivalent of "/etc/init.d/pcmcia restart"? > > > 1) As you can see--/etc/init.d/pcmcia is pretty stupid. If you want to restart pcmcia, killall cardmgr and then run cardmgr #/etc/init.d/pcmcia echo "Starting PCMCIA card services" insmod pcmcia_core insmod i82365 insmod ds echo "Waiting for kernel modules to settle..." sleep 4 echo "Starting cardmgr...." cardmgr echo "Waiting some more...." sleep 3 echo "Attempting to configure network..." netcfg You'll also need http://trinux.sf.net/pkg/2.4.5/pcmcia-pcnet.tgz 2) I updated the /etc/pcmcia/config file in the pcmcia-bin.tgz package available withint http://trinux.sf.net/pkg/ 3) The ability to override files (especially config files) within a tarball is something I'm thinking about and your question is a good example why. Basically what I'm planning is a "virtual" etc directory on the boot device (/tux/config/vetc) that would contain config files that would overwrite what is inside the tarball. - mdf |