LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2003, 10:58 PM   #1
KhzX
Member
 
Registered: Jan 2003
Posts: 31

Rep: Reputation: 15
modem_run


im using SpeedTouch USB modem for my adsl connection
the problem is in order to get online
i have to be root and type these commands

modem_run -m -f /mgmt/mgmt.o

then i have to wait for the USB lights to be green

then i have to

pppd call adsl

i was wondering if there is anyway i can make these commands run at start up when i boot without having to be root, lets say. i can just boot with my user account and not having to type them
or is there a way i can use this commands as user
 
Old 01-12-2003, 01:03 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
You could probably place them in your rc.local file to run at boot time..
 
Old 01-12-2003, 02:55 AM   #3
KhzX
Member
 
Registered: Jan 2003
Posts: 31

Original Poster
Rep: Reputation: 15
thanks ill try that
another question though
when load the microcode ( mgmt.o )
the modem light starts blinking
is there a way to set a timer on rc.local
so then the other command can run?
 
Old 01-15-2003, 05:25 AM   #4
KhzX
Member
 
Registered: Jan 2003
Posts: 31

Original Poster
Rep: Reputation: 15
is it possible i can let a user run specific commands
such as modem_run and pppd?
i tried a script file with the command

su -c startadsl

but i get permission denied..
any ideas?
 
Old 01-15-2003, 11:03 PM   #5
KhzX
Member
 
Registered: Jan 2003
Posts: 31

Original Poster
Rep: Reputation: 15
i also ran this as root, and i get permission denied
i dont know whats wrong
 
Old 01-16-2003, 08:09 PM   #6
jimbob
LQ Newbie
 
Registered: Jan 2003
Location: Devon UK
Distribution: Psyche
Posts: 7

Rep: Reputation: 0
Speedtouch ADSL

Hi mate,

I got the same speedtouch adsl modem.

I added the line :

/usr/sbin/stusb start&

to my rc.local file, and it works fine.

Put a lock above it also

touch /var/lock/subsys/local

that will sort it.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Speedtouch 330 modem_run error 225 skoby Mandriva 4 11-30-2005 05:53 AM
/usr/local/bin/modem_run ==>can't find that file freakske Linux - Software 2 11-06-2005 07:15 AM
10.1 -Speedtouch modem_run error 235 High-gain Mandriva 2 10-13-2005 06:12 AM
Modem_run error 240 A1Ph4 Linux - Networking 12 01-10-2005 02:34 PM
Speedtouch and modem_run the_ref Linux - Newbie 1 11-17-2003 04:20 PM


All times are GMT -5. The time now is 04:49 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration