Solved

Automatic NE2000 driver load?

Posted on 1997-04-27
1
295 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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

763 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

7 Experts available now in Live!

Get 1:1 Help Now