My problem: after the modem connects and pppd starts up,
it dies after 10 seconds, without having established
a connection.
I'm getting some kernel messages that lead me to think that for
some reason pppd can't transmit anything via my modem
(which is funny, because minicom works fine). See below.
Here's the very short output on the system log:
[ chat script to dial, etc. ]
Jan 20 18:45:48 sebastian chat[1221]: CONNECT -- got it
Jan 20 18:45:48 sebastian chat[1221]: send (^M)
Jan 20 18:45:48 sebastian pppd[1217]: Serial connection established.
Jan 20 18:45:49 sebastian pppd[1217]: Using interface ppp0
Jan 20 18:45:49 sebastian pppd[1217]: Connect: ppp0 <--> /dev/modem
Jan 20 18:45:58 sebastian pppd[1217]: Hangup (SIGHUP)
Jan 20 18:45:58 sebastian pppd[1217]: Modem hangup
Jan 20 18:45:58 sebastian pppd[1217]: Connection terminated.
Jan 20 18:45:58 sebastian pppd[1217]: Exit.
(where /dev/modem is a symlink to the appropriate serial device)
So, at 18:45:49 pppd "Conects" and appears ready to go, but
less than 10 seconds later it dies.
Here's the (still short!) syslog output, this time with kdebug 1:
Jan 20 18:45:48 sebastian chat[1221]: CONNECT -- got it
Jan 20 18:45:48 sebastian chat[1221]: send (^M)
Jan 20 18:45:48 sebastian pppd[1217]: Serial connection established.
Jan 20 18:45:49 sebastian kernel: ppp_tty_ioctl: set flags to 10000
Jan 20 18:45:49 sebastian kernel: ppp_tty_ioctl: set flags to 10000
Jan 20 18:45:49 sebastian kernel: ppp_tty_ioctl: set xasyncmap
Jan 20 18:45:49 sebastian kernel: ppp_tty_ioctl: set xmit asyncmap ffffffff
Jan 20 18:45:49 sebastian pppd[1217]: Using interface ppp0
Jan 20 18:45:49 sebastian pppd[1217]: Connect: ppp0 <--> /dev/modem
Jan 20 18:45:49 sebastian kernel: ppp_tty_ioctl: set flags to 10000
Jan 20 18:45:49 sebastian kernel: ppp_tty_ioctl: set mru to 5dc
Jan 20 18:45:49 sebastian kernel: ppp_tty_ioctl: set rcv asyncmap 0
Jan 20 18:45:49 sebastian kernel: ppp_tty_ioctl: set flags to 10010
Jan 20 18:45:56 sebastian kernel: ppp: successfully queued 26 bytes, flags = f010010
Jan 20 18:45:56 sebastian kernel: ppp: successfully queued 24 bytes, flags = f010010
Jan 20 18:45:56 sebastian last message repeated 4 times
Jan 20 18:45:56 sebastian kernel: ppp: successfully queued 6 bytes, flags = f010010
Jan 20 18:45:56 sebastian kernel: ppp: successfully queued 24 bytes, flags = f010010
Jan 20 18:45:58 sebastian kernel: ppp: channel ppp0 closing.
Jan 20 18:45:58 sebastian pppd[1217]: Hangup (SIGHUP)
Jan 20 18:45:58 sebastian pppd[1217]: Modem hangup
Jan 20 18:45:58 sebastian pppd[1217]: Connection terminated.
Jan 20 18:45:58 sebastian pppd[1217]: Exit.
Could anybody please help? I don't know what's going on
here.
Some other details:
Distribution: Slackware 3.5.0
Kernel version: 2.0.34
pppd version: 2.2.0
Modem: Cardinal MVPV34ILC
About the modem: I don't know if this is a so-called
"Winmodem". Calls and email to the company tech
support have failed (no answer on either). Although the
front of the box says "Works with Windows 95", it also
says it works with "Windos 3.1 or higher / DOS 5.0 or higher".
And as I say, minicom works fine.
I'd be happy to provide more details if required. I hope
someone out there has the answer!
TIA,
Richard