Solved

Two modems under diald

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.

821 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