I've followed the various instructions for getting my Linux machine to
talk to my WinCE handheld over IrDA.
The irattach goes fine, and I get an irda0 interface reported by
ifconfig.
Starting ppp seems to go fine, and the chat script completes. With pppd
debug enabled, the /var/log/messages file then shows "Serial connection
established" but then goes no further. The next message should be "Using
interface ppp0" but this never comes.
I *can* connect to the same WinCE device over a serial link on
/dev/ttyS0 with no problems, with an almost identical pppd startup
script.
What's happening here ? Why can't I get PPP running over IrDA to my
handheld ?
The relevant files are attached:
ce.up - the startup script
ppp.chat.ce - the chat script
--
David Gurr WWW: http://www.sco.co.uk
SCO UK & Ireland
#!/bin/sh
# /etc/ppp/ppp-up
# ppp-script for WinCE
#
#
# Debugging is turned on, turn it of after the first successful connections
#
CHATDEBUG="-v -V"
DEBUG="debug"
#CHATDEBUG=
#DEBUG=
device=/dev/ircomm0
pppflags="9600 crtscts noauth local 192.168.55.101:192.168.55.100 ms-dns 150.126.14.2"
#
# start the ppp daemon
#
/usr/sbin/pppd lock $DEBUG \
connect "/usr/sbin/chat $CHATDEBUG -f /etc/ppp/ppp.chat.ce" \
$device $pppflags
TIMEOUT 3600
"CLIENT" "CLIENT\c"
"" "SERVER\c"