Solved

Automatic NE2000 driver load?

Posted on 1997-04-27
1
320 Views
Last Modified: 2010-03-18
Thanks to your service I now have "modprobe" finding my NE2000. I now want this to happen automatically at system startup. I am using the Red Hat 4.1 distribution on an Intel 486 platform. I thought this may just be a case of adding an extra "S" file in the rc2.d directory. I tried this (see below), but as far as I can tell my script is not being executed as none of my "echos" appear on the console. There is an S10network script in rc2.d, which is a link to /etc/rc.d/init.d/network, which in turn runs scripts from  /etc/sysconfig/network-scripts. At this point I start to get lost. Should I really be setting up a script in ../network-scripts? If so, would you be able to supply a sample?

Many Thanks,
   =Adrian=

==(My "/etc/rc.d/rc2.d S09ne2000"  script)====================

#!/bin/sh

echo "NE2000 load..."

case "$1" in
   start)
      echo "NE2000 start..."
      /sbin/modprobe ne
      ;;
   stop)
      echo "NE2000 stop..."
      ;;
   *)
      exit 1
esac

exit 0
0
Comment
Question by:ad042197
1 Comment
 
LVL 2

Accepted Solution

by:
n3mtr earned 70 total points
ID: 1584477
I'm not running linux right now so I can't look, but there is a file under rc.d somewhere that is called local or something similar.  Just move your code to that file and it will be executed.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question