LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   modem_run (https://www.linuxquestions.org/questions/linux-software-2/modem_run-41146/)

KhzX 01-11-2003 09:58 PM

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

trickykid 01-12-2003 12:03 AM

You could probably place them in your rc.local file to run at boot time..

KhzX 01-12-2003 01:55 AM

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?

KhzX 01-15-2003 04:25 AM

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?

KhzX 01-15-2003 10:03 PM

i also ran this as root, and i get permission denied
i dont know whats wrong

jimbob 01-16-2003 07:09 PM

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.


All times are GMT -5. The time now is 06:33 PM.