Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Automatic NE2000 driver load?

Posted on 1997-04-27
1
Medium Priority
?
350 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

705 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