LinuxQuestions.org
Help answer threads with 0 replies.
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 02-25-2005, 05:35 PM   #1
morosband
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Rep: Reputation: 0
How to limit muliple dial-up connection duration


Hi

I would like to know if Linux help me limit or fix the dial-up internet duration of connection for multiple phone lines (5 or 6) attached to 1 PC server.
For instance , I want to install 6 internal 56K modems (attached to 6 phone lines) on my PC and configure them in such a way that the 1st line connects to the internet 3h/day and disconnects automatically then the 2nd line connects for another 3h/day and disconnects, and so on for the 4 remaining lines

Thanks
 
Old 02-25-2005, 06:38 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"I want to install 6 internal 56K modems (attached to 6 phone lines) on my PC and configure them in such a way that the 1st line connects to the internet 3h/day and disconnects automatically then the 2nd line connects for another 3h/day and disconnects, and so on for the 4 remaining lines"

You could set up wvdial scripts to connect to each line. Then set up cron jobs to run each wvdial script for a set time period each day. Each cron job would first issue kill commands for all of the wvdial processes and then start the one for the current time period.

---------------------------
Steve Stites
 
Old 02-26-2005, 05:56 PM   #3
morosband
LQ Newbie
 
Registered: Feb 2005
Posts: 6

Original Poster
Rep: Reputation: 0
steve
do u have a link explaining wvdial scripts & cron jobs

thanks
 
Old 02-26-2005, 06:29 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"do u have a link explaining wvdial scripts & cron jobs "

There are the man pages:
man wvdial
man cron
man crontab

Here is a wvdial readme:
http://open.nit.ca/wiki/index.php?page=WvDialReadMe

Here is a cron HOWTO:
http://www.tech-geeks.org/contrib/md...ron-howto.html


----------------------------
Steve Stites
 
  


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
How do I Limit Bandwidth on a Per Connection Basis? farmerjoe Linux - General 1 11-09-2005 07:28 PM
Network connection limit abneru SUSE / openSUSE 4 06-23-2005 05:00 AM
KInternet - Connection duration RogerW Linux - Newbie 0 04-16-2005 02:20 AM
How to limit muliple dial-up connection duration morosband Linux - Software 1 02-28-2005 08:46 AM
Connection Limit with what? Gorbachov Linux - Networking 1 12-25-2003 11:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:28 AM.

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