Solved

Automatic NE2000 driver load?

Posted on 1997-04-27
1
308 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

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
linux / python expert needed 3 88
Exploits in Kali Linux 4 268
linux 2 90
Doing a DR (Disaster Recovery) Test on Red Hat Linux Servers. 2 100
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

914 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now