Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-01-2003, 09:04 PM   #1
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Rep: Reputation: 31
Question How to run 'depmod -all' during boot or login?

After going around and around trying to get hsflinmodem-5.03.27lnxtbeta03042700k2.4.21_0.13mdk-1mdk.i586 to run on correctly on my machine with Mandrake 9.1, I found that I can issue the following command as root for kppp to 'find' my modem: depmod --all. This works great, except that my children also use the modem and I have to run this command to get kppp to work.

Is there a way that I can add this command to a boot script or a user login script?
Old 10-03-2003, 12:44 AM   #2
Registered: Nov 2002
Distribution: A totally 133t distro :)
Posts: 358

Rep: Reputation: 31
Add "/sbin/depmod -a" to your /etc/rc.local file. Whats probably hapening is that the serial port module isnt being loaded.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why not run always login as root? KaptinKABOOM Linux - General 8 07-18-2004 07:23 AM
run a script once at login? masand Linux - Software 4 05-02-2004 09:41 AM
run a script once at login? shanenin Linux - Software 2 04-25-2004 10:32 AM
run command at boot/login? apberzerk Linux - General 1 09-22-2003 10:25 PM
Run level issue after first login robertjay Linux - Newbie 15 09-17-2003 09:39 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration