LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

Rep: Reputation: 30
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
m0rl0ck
Member
 
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.
 
  


Reply


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


All times are GMT -5. The time now is 07:46 PM.

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