I just upgraded to Red Hat 5.0 and i'm having a hell of a time getting
diald to work. I had diald 0.16.4 working on Red Hat 4.0 with pppd 2.2.0
and kernel 2.0.30. I then upgraded to Red Hat 5.0, kernel 2.0.33, pppd
2.3.3 and diald 0.16.3 (a downgrade, actually :), all for glibc. I tried
0.16.5 but it didn't seem to change things. 

The problem is that pppd "hangs" when invoked by diald. If I use pppd by
itself it connects fine:

May  3 23:12:40 road connect: Protocol started
May  3 23:12:40 road pppd[553]: Serial connection established.
May  3 23:12:41 road pppd[553]: Using interface ppp0
May  3 23:12:41 road pppd[553]: Connect: ppp0 <--> /dev/modem
May  3 23:12:45 road pppd[553]: local  IP address 200.36.51.135
May  3 23:12:45 road pppd[553]: remote IP address 200.36.51.2

however, if I use diald, it brings the link up using the same chat script
I use for plain ppp, then:

May  3 23:20:21 road connect: Protocol started
May  3 23:20:21 road diald[618]: Running pppd (pid = 640).

and it just hangs there. Eventually, I get:

May  3 15:05:17 localhost diald[1006]: pppd startup timed out. Check your
                pppd options. Killing pppd.
May  3 15:05:17 localhost diald[1006]: child process 1763 terminated with
                signal 2

I've gotten as far as:

May  3 15:16:48 localhost diald[1906]: Running pppd (pid = 1919).
May  3 15:16:48 localhost kernel: PPP: version 2.2.0 (dynamic channel
May  3 15:16:48 localhost kernel: PPP Dynamic channel allocation
May  3 15:16:48 localhost kernel: PPP line discipline registered.
May  3 15:16:48 localhost kernel: registered device ppp0
May  3 15:17:48 localhost diald[1906]: pppd startup timed out. 

but it doesn't bring the link up and pppd still times out.


I've tried several combinations: kernel 2.0.32, pppd 2.2.0f (thinking that
pppd 2.3.3's dial-on-demand features might conflict with diald), even
diald 0.16.4 for libc (not recommended, goes to show how desperate I am).
So far nothing has seemed to help. I tried setting
/proc/sys/net/ipv4/ip_dynaddr to 1, didn't help. I've also tweaked both
ppp's options and diald.conf to no avail. 


my /etc/diald.conf is as follows:

fifo /etc/diald/diald.ctl
redial-timeout 12
mode ppp
connect "/etc/ppp/connect"
device /dev/modem
speed 57600
modem
crtscts
local 192.168.0.1
remote 192.168.0.2
dynamic
defaultroute
pppd-options asyncmap 0
include /usr/lib/diald/standard.filter

and /etc/ppp/options has:

kdebug 1
debug
lock    #I tried removing the lock and nada... nothing


I'd really appreciate any help I can get.
Diald is essential to me because my link is a bit unstable. Using plain
pppd is a pain in the ass because I have to restart all my sessions.
I have no clue what's happening because pppd doesn't even reach the point
where it starts giving debugging information (even with kdebug 7). 

Thanks in advance,

        - Daniel Manrique






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

Reply via email to