[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

diald & pppd trouble query



Debian R6 diald fails to establish a ppp connection when I ping or
ftp.  Pppd by itself works fine: dials the service, shakes hands, and
works flawlessly.  Diald causes chat to connect to my service provider
and then just drops the connection.  For my experiments with diald I
renamed /etc/ppp/options to prevent pppd from reading in the options
since the diald documentation seemed to indicate that was necessary.
I believe I tried ttyS3 instead of cua3 to no avail.  It seems as if
pppd is not getting invoked once chat makes contact.  When I looked at
the stdout of diald in -daemon debug 31, I saw the puzzling message:

   Sorry - this system lacks PPP kernel support

I'm hopeful that I can get diald working, it seems to offer great
convenience: I won't have to login and out as root to fire up a
connection. 

Any thoughts on this problem or directions where to look next would be
appreciated.


/etc/diald.options:
  mode ppp
  -daemon
  debug 31
  accounting-log /etc/ppp/accounting-log
  local   204.183.64.34
  remote  198.69.10.6
  netmask 255.255.255.0
  connect "/usr/sbin/chat -f /etc/ppp/connix.chat"
  disconnect "/usr/sbin/chat -f /etc/ppp/hangup.chat"
  defaultroute
  modem
  crtscts

For the chat script, &C1&D2 are in effect, though I think there might
be something funny about DCD with my Zoom internal 14.4 modem.
I use setserial to put it on port 0x2E8 irq 5.


kale:~ # diald /dev/cua3 -m ppp -f /etc/diald.options -- /dev/cua3
  diald[313]: Starting diald version 0.10
  diald[313]: Proxy device established on interface sl0
  diald[313]: Setting pointopoint route for sl0
  diald[313]: Establishing routes for sl0
  diald[313]: Changed snoop device to sl0
  diald[313]: Daild initial setup completed.
  diald[313]: filter accepted rule 21 proto 17 len 56 packet 204.183.64.34,1032 => 198.69.10.2,53
  diald[313]: new state CONNECT action 22112 timeout 60
  diald[313]: Running connect (pid = 319).
  diald[313]: filter accepted rule 21 proto 17 len 56 packet 204.183.64.34,1034 => 198.69.10.2,53
  diald[313]: filter accepted rule 21 proto 17 len 56 packet 204.183.64.34,1035 => 198.69.10.2,53
  diald[313]: filter accepted rule 21 proto 17 len 56 packet 204.183.64.34,1036 => 198.69.10.2,53
  diald[313]: filter accepted rule 21 proto 17 len 56 packet 204.183.64.34,1038 => 198.69.10.2,53
  diald[313]: SIGCHLD[1]: pid 319 dial
  diald[313]: new state START_LINK action 22720 timeout 60

  diald[313]: Running pppd (pid = 320).
  Sorry - this system lacks PPP kernel support

  diald[313]: SIGCHLD[2]: pid 320 link
  diald[313]: Setting pointopoint route for sl0
  diald[313]: Establishing routes for sl0
  diald[313]: Setting pointopoint route for sl0
  diald[313]: Establishing routes for sl0
  diald[313]: new state DISCONNECT action 23552 timeout 60
  diald[313]: Reopening modem device
  diald[313]: Running connect (pid = 326).
  diald[313]: SIGCHLD[3]: pid 326 dial
  diald[313]: new state CLOSE action 23824 timeout 30
  diald[313]: Closing modem line.
  diald[313]: Delaying 30 seconds before clear to dial.

At this point I kill diald to prevent redial.


Reply to: