beautypg.com

To configure for point-to-point protocol – Sun Microsystems Sun PCI High Speed Quad Port Serial Interface Adapter 819-1207-11 User Manual

Page 35

background image

Chapter 3

SunHSI PCI Software Installation

15

▼ To Configure for Point-to-Point Protocol

1. Change to the /etc/ppp directory and create an executable file called

conf_hsip

, containing the following information:

2. Create another executable file called demand, containing the following

information:

3. Change to the /etc/ppp/peers directory and create an executable file called

far-hsip

, containing the following information:

4. Add the client site hosts on the server machine and add the server site hosts on

the client machine.

a. Edit the server’s /etc/hosts file and add the client site local hosts.

#!/bin/ksh -x

DEVICE=‘echo $DEVICE | sed ‘s/?dev?//’’

/opt/SUNWconn/bin/hsip_init $DEVICE speed=2048000 mode=fdx loopback=no \

nrzi=no txc=baud rxc=rxc txd=txd rxd=rxd signal=no 2>&1 > /dev/null

if [ -f /var/run/ppp-demand.pid ] &&

/usr/bin/kill -s 0 ‘/bin/cat /var/run/ppp-demand.pid’

then

:

else

env DEVICE=hihp0 /usr/bin/pppd hihp0 :qa1b-hihp0 call far-hsip

env DEVICE=hihp1 /usr/bin/pppd hihp1 :qa1b-hihp1 call far-hsip

env DEVICE=hihp2 /usr/bin/pppd hihp2 :qa1b-hihp2 call far-hsip

env DEVICE=hihp3 /usr/bin/pppd hihp3 :qa1b-hihp3 call far-hsip

fi

connect ‘/etc/ppp/conf-hsip’

local

sync

noauth

0:

ipcp-accept-local

nodefaultroute

passive

persist

noccp

nopcomp

novj

noaccomp