LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-16-2004, 08:00 AM   #1
tessx
Member
 
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 -
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

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

Rep: Reputation: 47
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, 08:20 AM   #3
tessx
Member
 
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)
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:10 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
Open Source Consulting | Domain Registration