Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-16-2004, 09:00 AM   #1
Registered: Feb 2004
Location: strasbourg
Distribution: RH 9.2
Posts: 43

Rep: Reputation: 15
Automate Adsl connection using an USB modem

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 -
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

btw, am I posting at the right place ??
Old 03-16-2004, 09:14 AM   #2
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
suid is a permission setting. If you set it on a program owned by root, regular users can run the program as root. You can also use sudo to let regular users use root programs.

For auto-detection: search. there might be a program that can run stuff for you when you plug usb stuff in. Linux does detect the usb devices on plugin (just look in /proc/usb), but it doesn't do anything.
Old 03-16-2004, 09:20 AM   #3
Registered: Feb 2004
Location: strasbourg
Distribution: RH 9.2
Posts: 43

Original Poster
Rep: Reputation: 15
allright thanks, I'll have a look, and if I find something like that, I'll post again (maybe it might help some)


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
USB ADSL modem via Mandrake connection benjy Linux - Hardware 1 06-27-2005 10:27 AM
configuring ADSL connection with USB Modem nemesix Linux - Networking 3 01-06-2005 02:47 PM
ADSL Connection: USB modem vs. Ethernet vharishankar Linux - Hardware 12 10-02-2004 01:02 PM
Can't get ADSL connection to work (Speedtouch USB) modem sleeper_service Mandriva 5 03-31-2004 05:30 AM
Automate ADSL connection through USB modem tessx Linux - General 1 03-16-2004 09:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:59 PM.

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