next up previous contents
Next: 4.2 Configuring the HP Up: 4 Connecting a PC Previous: 4 Connecting a PC   Índice General


4.1 Configuring the PC

We create a /usr/sbin/cebox.sh file with the following content:

 #!/bin/sh
 pppd call cebox

This file is executed in PC to run the ppp server. A /etc/ppp/cebox.chat file contains the next:

 AT OK
 AT OK
 AT OK
 AT OK
 AT OK
 ATDT CONNECT

This file contains the authentication options for the PC and the HP Jornada.

Finally, you have to make a link between /dev/irnine and /dev/ircomm0:

ln /dev/ircomm0 -s /dev/irnine

and to create the next file (named /etc/ppp/peers/cebox):

 /dev/irnine 115200 nocrtscts
 connect /usr/sbin/chat -v -f /etc/ppp/cebox.chat
 noauth
 local
 dirIPpc:dirIPjornada
 ms-dns servidorDNS

You have to change dirIPpc for the PC's IP address and dirIPjornada for the HP Jornada's IP address. You also have to change servidorDNS for your DNS server's IP address.



Diego Chaparro 2002-01-29