Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Two modems under diald

Posted on 1998-06-01
2
Medium Priority
?
290 Views
Last Modified: 2010-03-18
I have diald up and running. It works almost out of the box with 1 interface to
bring ppp up. Now I have two modems to dialup (among other things) and I
want diald to use any of them, whichever be free. I succesfully configured pppd
and chat to use any of two interfaces, but when I use diald, it wants the device
locked before calling chat or pppd.

I remember I saw somewhere I have to hack some diald script, but I don't
remember which and how... I'm using diald 0.16.5-5 under RedHat 5.1.
0
Comment
Question by:marcelofr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Author Comment

by:marcelofr
ID: 1584433
Adjusted points to 200
0
 
LVL 3

Accepted Solution

by:
sauron earned 800 total points
ID: 1584434
In your diald configuration file, you should specify a line for each modem you want diald to use. So for a system with two modems on com1 and com2 you might have:-

device /dev/cua0
device /dev/cua1

in the configuration file. Diald will sequence through all the specified devices when a link-up request is received, until it finds one that is not locked. When it finds one of these, it will lock the device, and then dial out. The 'lock' keyword in the conf file instructs diald to perform UUCP stlye locking of the serial line. It sounds as though you may wish to turn this off,  though I'm not convinced it's a good idea to do so.

With multiple dial-out device, you probably also want to use the rotate-devices command.

One potential problem - if you have another process listening on the modem, but you want diald to use this modem anyway if a call is not in progress, you might have trouble. If diald can't find a non-locked device in the list, it won't dial out. Getting round this is not a diald configuration issue - you need to tell the listening process to not lock the device until a connection is made. Doing this will be dependant on what software you are using to listen on the modem...
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question