This page provides some information, about how to connect a Windows CE device with a Linux, using the Remote Networking. The Remote Networking of Windows CE has a strange behavior. Every time that we are trying to make a connection from Windows CE, WinCE sends the word CLIENT and wait for the response CLIENTSERVER (with out any CR at the end). This is exactly what the following scripts do.
where, x.x.x.x is the IP number you want to give to the Windows CE and ttyS1 is the serial port that you are using./dev/ttyS1 115200 :x.x.x.x asyncmap 0 lock local crtscts connect "chat 'CLIENT' 'CLIENTSERVER\\c'" proxyarp noauth -detach
You can start the connection from Linux with the command (as root):
pppd file /etc/ppp/options.ce
or you can create a small script like the following
/usr/local/bin/pppce
while true
do
pppd file /etc/ppp/options.ce
done
don't forget to chmod +x /usr/local/bin/pppce.
This script waits until a PDA is connected to the serial port and
loops for ever.
You can run it, in the background at boot time, by adding at
the end of the initialisation file /etc/rc.d/rc.local
the following lines. This file exists in the RedHat version, in
slackware, you should look in the /etc/rc.d directory
to find the appropriate user defined initialisation file.
echo "Starting PPP for Windows-CE at ttyS1" /usr/local/bin/pppce &
Last updated: Tue Nov 2 16:48:26 CET 1999