[ILUG] diald issues

kevin lyda kevin at suberic.net
Thu May 18 00:31:47 IST 2000


using redhat rpm's for diald and ppp (this is a redhat 6.1 box):

diald-0.99.1-2
ppp-2.3.10-3

using the following /etc/diald.conf file:

mode ppp
connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0"
device /dev/ttyS0
speed 115200
modem
lock
crtscts
local 192.168.5.29
remote 192.168.5.30
debug 0x0008
dynamic
defaultroute
pppd-options name Oceanfree
include /usr/lib/diald/standard.filter

using the following chat file (name as specified above):

TIMEOUT 60
ABORT BUSY
ABORT ERROR
ABORT 'NO CARRIER'
ABORT 'NO DIAL TONE'
ABORT 'NO DIALTONE'
ABORT '** Bad Password'
'' ATZ OK
ATM1 OK
ATDT2434321 CONNECT

the error i get is:

May 18 00:29:35 inle diald: diald startup succeeded
May 18 00:29:35 inle diald[677]: Proxy device established on interface
tap0
May 18 00:29:35 inle diald[677]: Diald initial setup completed.
May 18 00:29:45 inle diald[677]: Trigger: udp     
192.168.5.29/1114       194.72.6.51/53   
May 18 00:29:45 inle diald[677]: Calling site 192.168.5.30 
May 18 00:29:46 inle chat[684]: Can't get terminal parameters: Invalid
argument
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
May 18 00:29:46 inle diald[677]: Connect script failed.
May 18 00:29:46 inle diald[677]: Closing /dev/ttyS0
May 18 00:29:47 inle diald[677]: Delaying 30 seconds before clear to
dial.
May 18 00:29:52 inle diald[677]: SIGTERM. Termination request received.
May 18 00:29:52 inle diald[677]: Diald is dieing with code 0
May 18 00:29:52 inle diald: diald shutdown succeeded

i ran the chat script via strace and noticed this in the strace log:

ioctl(0, TCGETS, 0xbffffc68)            = -1 EINVAL (Invalid argument)

and i also found that diald sets up pipes to connect up chat diald, and
/dev/ttyS0.

has anyone here gotten diald running under redhat using the standard
chat scripts?  i'd rather do it that way then install bits that will be
a pita to upgrade later.

kevin
-- 
kevin at suberic.net       "we were goin' for breakfast.  in canada.  we
fork()'ed on 37058400    made a deal: if she'd stop hookin', i'd stop
meatspace place: home    shootin' people.  maybe we were aiming high."
                                                   --porter, "payback"




More information about the ILUG mailing list