LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 07-22-2004, 04:35 PM   #1
bezaleel
Member
 
Registered: Jan 2004
Location: South Carolina
Distribution: Fedora Core 2
Posts: 30

Rep: Reputation: 15
Script for dialup


When going online by dialup, it seems that two big things have to happen: (1) the network connection has to be activated, and (2) the modem has to be dialed (with login and password).

Can someone point me in the direction of writing my own script to examine the network connection to see if it needs to be activated, and then to dialup (with login and password)?

(I used to write lots of simple batch files in DOS.)
 
Old 07-22-2004, 06:26 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What do you mean when you say "examine the network connection"?
Are you using a modem?

If so, pppd should be able to set-up the connection and
routes automagically ...



Cheers,
Tink
 
Old 07-22-2004, 09:35 PM   #3
colabus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge, FC4
Posts: 100

Rep: Reputation: 15
pppconfig ?
 
Old 07-23-2004, 08:40 PM   #4
bezaleel
Member
 
Registered: Jan 2004
Location: South Carolina
Distribution: Fedora Core 2
Posts: 30

Original Poster
Rep: Reputation: 15
To Tinkster: By "examine the network connection" I mean that I'm using System Tools > Internet Configuration Wizard which eventually opens to allow me to Activate at "Network Configuration."

But then to get the modem to dial, the only way I know to get it to happen is to tell my toolbar weather applet to update. Then the modem dials, and I get online.

Seems like a lousy way to get there, but it works.

I used to be able to use KPPP, but it never seems to establish a connection with the local telephone.

I'm gonna try pppconfig shortly. That might be the ticket!
 
  


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
dialup ingvildr Linux - Networking 1 04-20-2005 08:45 AM
linux dialup faster and more stable than windows dialup -why? whitshade Linux - Networking 4 06-19-2004 04:52 PM
Route dialup modem packets back through dialup instead of default route cable modem jogress Linux - Networking 1 10-21-2003 04:48 PM
same script for both dialup amd hangup sfonvill Linux - Networking 0 09-09-2003 09:57 AM
Dialup? hurstcactus Linux - Newbie 2 04-09-2002 11:27 AM


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