Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
following the advice given in the following excellent thread:
... I have managed to get my MDK 9.0 system installed and my NTL Cable modem is working (get in!!). The only problem is I have to open a console and type in a script every time I reboot - the thread advises modifying the text in the USB List of file /etc/rc.d/rc.modules, but that file doesn't have any USB List in it - on my system, it contains only the following:
# (c) MandrakeSoft, Chmouel Boudjnah <firstname.lastname@example.org>
# $Id: rc.modules,v 188.8.131.52 2000/07/30 05:07:38 chmouel Exp $
# description: launch modules specified in /etc/modules inspired by a
# Debian idea.
[ -f /etc/modules ] || exit 0
# Loop over every line in /etc/modules.
(cat /etc/modules; echo) | while read module args
case "$module" in
\#*|"") continue ;;
initlog -s "Loading module: $module"
modprobe $module $args >/dev/null 2>&1
I am not blessed with the greatest mind in computin and no doubt I'm missing something obvious but any advice appreciated!
and the way the /etc/rc.modules is described, each module is explicitly added in the script.
in your's, it's looping through rc.modules (a cleaner approach), which I think is where you'll need to add them - my rc.modules is like that too, and my /etc/modules only has 'scsi_hostadapter' on it's own line (it's the only uncommented line in the file).
I don't know what else you're doing in it, so I can't give any additional advice.
Gotta be honest, I don't know! The script I'm typing in Xterm as root is:
...await output, then:
...this allows me to access the web but I have to do the same thing every time I load up. My knowledge of Linux is practically zero - I really need to know specifically what I need to add/amend in the rc.modules file and whereabouts in the text to add it - don't want much, I know...
ok, you're doing more than just adding a module...
I would recommend that you put the contents of that script you're running into the script that is run when the user logs in. I can never remember what it is though, so you'll have to search/ask around.
it might not be the best or smartest way to do it, but it's the only easy way I can think of.