Solved

Two modems under diald

Posted on 1998-06-01
2
279 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 200 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
squid3 ntlm and itunes authentication 5 104
Exploits in Kali Linux 4 484
Linux alternative boot CD? 28 149
touch cat vi differences 7 40
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

710 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