Solved

Two modems under diald

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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to add a new SAN disk to a linux vmware box 8 37
deny acl with basic authentication user on squid 7 79
Embeded Linux on Router 9 109
FTP output from Wireshak 6 98
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
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…

856 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