LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Automate ADSL connection through USB modem (https://www.linuxquestions.org/questions/linux-general-1/automate-adsl-connection-through-usb-modem-158395/)

tessx 03-16-2004 08:09 AM

Automate ADSL connection through USB modem (already on newbie forum - wasnt sure)
 
First of all, I have posted this on the newbie forum aswell, but not beeing sure if it was the right place, I try here aswell.

Hi, I have an internet connection using a ADSL Alcatel SpeedTouch USB modem, and I don't have it all the time on my computer, so when I have it, and want to connect, I have to type:
su -
password
sh adsl.sh (wich contains:

/path/modem_run -f /path/mgmt.o
pppd call adsl

)

What I would like to do, is like with internet explorer(sorry ) when trying opening a webpage, it would execute pppd automatically, something like that, or just having a file to launch, without having to connect beeing root.

Someone told me something about suid root, but I'm not quite sure what that is, and how it works.

Also, one last thing, is there a way of, when plugging in the modem, havng something that detects it, and starts the detection script or whatever it is called (modem_run) ?? (just as windows ? (sorry again))

Thanks in advance

aaa 03-16-2004 08:24 AM

Please don't double post:
http://www.linuxquestions.org/questi...hreadid=158389


All times are GMT -5. The time now is 10:17 PM.