Starting pcmcia networkcard in rc.local

I have a small problem, as my pcmcia card conflicts with the paralell port I
have to manually give it a new IRQ

If I enter this in the console everything works just fine:

/bin/slay io-net
/bin/slay devp-pccard
/sbin/devp-pccard -a 0x1020 -l 10
/sbin/io-net -del589 ioport=0x1020, irq=10 -p ttcpip
/bin/netmanager

but if I do the same in rc.local I get the answer:


netmanager error: Could not open socket: No such file or directory
unable to init dll devn-el589: No such device


How to fix this?

Hi…

You may do something like what follows, and perhaps things may work
better:

John Hertell wrote:

I have a small problem, as my pcmcia card conflicts with the paralell port I
have to manually give it a new IRQ

If I enter this in the console everything works just fine:

/bin/slay -f io-net
~~
/bin/slay -f devp-pccard
/sbin/devp-pccard -a 0x1020 -l 10
sleep 2
/sbin/io-net -del589 ioport=0x1020, irq=10 -p ttcpip

no spaces? => ioport=0x1020,irq=10
waitfor /dev/io-net

/bin/netmanager

Basically you have to wait for the drivers to do their things, which is
what happens when you do the setup via command line inputs (i.e. it
takes time to type things in; time in which the drivers finish the
necessary soft setup). You may use the utility ‘waitfor’ instead of
sleep.

If I have made a mistake, others will correct them and fill in the
details. :slight_smile:

Regards…

Miguel.

but if I do the same in rc.local I get the answer:

netmanager error: Could not open socket: No such file or directory
unable to init dll devn-el589: No such device

How to fix this?