Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Automatic NE2000 driver load?

Posted on 1997-04-27
1
Medium Priority
?
353 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 140 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

886 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