using redhat rpm's for diald and ppp (this is a redhat 6.1 box):
using the following /etc/diald.conf file:
connect "/usr/sbin/chat -v -f /etc/sysconfig/network-scripts/chat-ppp0"
pppd-options name Oceanfree
using the following chat file (name as specified above):
ABORT 'NO CARRIER'
ABORT 'NO DIAL TONE'
ABORT 'NO DIALTONE'
ABORT '** Bad Password'
'' ATZ OK
the error i get is:
May 18 00:29:35 inle diald: diald startup succeeded
May 18 00:29:35 inle diald: Proxy device established on interface
May 18 00:29:35 inle diald: Diald initial setup completed.
May 18 00:29:45 inle diald: Trigger: udp
May 18 00:29:45 inle diald: Calling site 192.168.5.30
May 18 00:29:46 inle chat: Can't get terminal parameters: Invalid
May 18 00:29:46 inle diald: Connect script failed.
May 18 00:29:46 inle diald: Closing /dev/ttyS0
May 18 00:29:47 inle diald: Delaying 30 seconds before clear to
May 18 00:29:52 inle diald: SIGTERM. Termination request received.
May 18 00:29:52 inle diald: 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
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 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."
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!