I've been trying to follow a several conflicting web pages that have
instructions on how to set up diald.

They are:

DIALD Configuration 
(http://www.r-senior.demon.co.uk/linux/diald.html#setup)

diald 5-minute howto 
(http://www4.smart.net/~jcovey/diald.html)

Setting up diald for Linux - an example
(http://home1.pacific.net.sg/~harish/diald.config.html)

I started setting up my /etc/diald/diald.conf file ala "DIALD
Configuration" 
It got a bit confusing at:

/etc/diald/diald-start

#! /bin/bash

/usr/sbin/diald /dev/modem \
  mode ppp accounting-log /var/adm/diald.log \
  local [my_ip_address] remote [demon_gateway] netmask 255.255.0.0 \
  reroute defaultroute \
  connect "/usr/sbin/chat -v -f /etc/ppp/chat.script --" \
  modem speed 115200 crtscts lock \
  retry-count 2 died-retry-count 2 \
  ip-up /etc/ppp/ip-up

I'm not really clear on what I should be putting in for [my_ip_address]
and [demon_gateway]

Would these relate to the nameserver values that I have in my
/etc/resolv.conf file
or to the inet addr, P-t-P, and Mask values that I see when I run the
ifconfig command?

At any rate I decided to fall back to the "diald 5-minute howto" (sounds
promising).  This author had me editing the/etc/diald.conf file.  I
looked and I had diald.conf's in the following locations: 

[eric@localhost eric]$ locate diald.conf
/etc/diald.conf
/etc/diald/diald.conf
/restore/etc/diald/diald.conf
/usr/lib/diald/contrib/isdn4linux/etc/diald.conf
/usr/lib/diald/contrib/plain/diald.conf
[eric@localhost eric]$ 

Which one of these does diald look at first?  Does this depend upon the
path of the particular user?  Do all these diald.conf's need to be in
place and identical?

"Setting up diald for Linux - an example" recommended using the
/etc/diald.conf file (unchanged from stock distribution).  It also had
been editing the /etc/rc.d/rc.local file which the other two don't
mention, the main addition to which seems to be the following bits:

/usr/lib/ppp/diald.pacific.internet
/usr/lib/ppp/diald.pacific.internet 
/usr/sbin/diald /dev/ttyS1 /dev/ttyS1 lock debug 20 -m ppp local
127.0.0.2 \
  remote 127.0.0.3 defaultroute modem crtscts \ 
  connect "chat -v -f /usr/lib/ppp/pppchat.pi" \
  dynamic -- debug noipdefault  


The only other files it had me edit were /usr/lib/ppp/pppchat.pi, and a
Blind PPP script.  

I currently have a dialer script that I use to connect and I have
previously gotten a ppp connection using minicom.  I have previously
tried setting up diald using "Setting up diald for Linux - an example"
with no results except a bunch of error messages at startup.



-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to