LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-21-2003, 12:36 PM   #1
pld
Member
 
Registered: Jun 2003
Location: Southern US
Distribution: Ubuntu 5.10
Posts: 206

Rep: Reputation: 30
startup internet connection on log-in


Hi all,

I was wondering. I am using rh9 with an alcatel speedtouch usb modem. Everything works fine, but I was hoping to make the internet connection a little easier for other users to log on.

To start the connection manually now, I run through a series of commands to get things going, specifically on my system I use:

root> modem_run -m -f /path_to_modem_firmcode
root> pppd call adsl
root> firestarter -s

Now, I was wondering if perhaps there was a way for me to automate these tasks for other accounts?

I need to run the commands as root to work. I guess I was hoping to make a simple script and have an icon on the desktop for other users to just connect to the internet (my gf is not quite linux savvy yet, and is very wary of anything unfamiliar to her, so ease of use is important).

any ideas?
 
Old 08-21-2003, 12:37 PM   #2
pld
Member
 
Registered: Jun 2003
Location: Southern US
Distribution: Ubuntu 5.10
Posts: 206

Original Poster
Rep: Reputation: 30
btw, i am using kde at the moment
 
Old 09-13-2003, 09:31 AM   #3
kingelessar
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 9.1 and Mandrake 9.1
Posts: 19

Rep: Reputation: 0
I think you can put the commands in a file, save it as myscript.sh and then you only have to run this file, i think.

But how the **** did you get your modem working? After lots of work, i had to intialize the modem with those:
modem_run -m -f /path_to_modem_firmcode
pppd call adsl
but it didn't want to initialize... How did you do it? I'm using Mandrake 9.1 (the downloaded version)

Thanx, Dennis
 
Old 09-13-2003, 11:57 AM   #4
pld
Member
 
Registered: Jun 2003
Location: Southern US
Distribution: Ubuntu 5.10
Posts: 206

Original Poster
Rep: Reputation: 30
you know, it was so long ago now, that i dont even remember each of the steps exactly? i was using ben papillaut's (sp?) driver, the loadable module. i pretty much followed the how-to on his website. let me know what you have done so far, and i can see if i remembe what the steps were...
 
Old 09-14-2003, 03:44 AM   #5
kingelessar
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 9.1 and Mandrake 9.1
Posts: 19

Rep: Reputation: 0
Thanx for your response!

I follwed this site benoit.papillault.free.fr/speedtouch/user.en.php3 with it's driver.
I think I have all requirements, and installed and configured everything succesfully. Then I used this line:
/usr/local/bin/modem_run -f /path/to/mgmt.o -m
to upload the firmware, succesfully. Then I had to connect with:
pppd call adsl
this command didn't do anything, and I didn't have any internet connection.

I hope you remember...

Dennis
 
Old 09-14-2003, 03:59 AM   #6
Evilone
Member
 
Registered: Oct 2002
Location: UK
Distribution: Slack 9.1 (2.6.5)
Posts: 307

Rep: Reputation: 30
there's a file in /etc/rc.d called rc.local

Put your commands in there dood. That way your adsl launches at startup !!
 
Old 10-06-2003, 12:58 PM   #7
kingelessar
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 9.1 and Mandrake 9.1
Posts: 19

Rep: Reputation: 0
Right!
I found out that my modem was broken...
So I got a new one from my provider and it worked all fine in slack 9.1 with beniots driver.
I put the startup lines in /etc/rc.d/rc.local, just like Evilone said.

Thanx
Dennis
 
Old 10-06-2003, 06:51 PM   #8
pld
Member
 
Registered: Jun 2003
Location: Southern US
Distribution: Ubuntu 5.10
Posts: 206

Original Poster
Rep: Reputation: 30
glad you got it workin!
 
  


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
Where can I find the startup log dejavu_01 Linux - Newbie 1 05-29-2004 02:34 AM
Internet Connection not present at startup Suburban Linux - Newbie 2 05-02-2004 01:58 AM
startup log TheSwine Linux - Newbie 1 01-02-2004 09:43 PM
How to make a log to keep track internet connection? yktang Linux - Newbie 1 12-19-2003 06:47 PM
Starting Internet Connection at Startup OutlawStar Linux - Newbie 1 06-09-2003 10:34 PM


All times are GMT -5. The time now is 05:52 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