Enabling PPP services involves using the pppstart actor.
Change to the directory where you build system images:
host% cd build_dir |
Ensure that both serial lines and network interfaces are available for PPP by including the necessary commands in the conf/sysadm.ini that you build into the system image. For example:
mkdev tty 0 /pci/pci-isa/ns16550-2 # Create a tty interface
# using the second serial port
# because the first is reserved
# for the tip line
mkdev ppp 0 # Create a PPP interface that is
# not bound to the tty yet.
mknod /dev/tty01 c 0 0 # Create a tty special file
#mknod /dev/ttyp0 c 5 0 # Pseudo tty devices, needed
#mknod /dev/ptyp0 c 6 0 # for dialup on demand.
# Enable PPP
# Requires pppstart.r in system image
#
arun /image/sys_bank/pppstart &
pppd /dev/tty01 # Open a PPP line.
# Wait for the interface to be up.
#
ifwait ppp0
See the appropriate document in the ChorusOS 4.0 Target Family Documentation Collection for serial device IDs for other serial line hardware.
Start the ews configuration utility:
host% ews conf/ChorusOS.xml & |
Use the hints in the table below to set system image features and tunables:
|
Set... |
Comments |
|---|---|
|
VTTY=true |
PPP requires virtual ttys. |
|
PPP=true |
|
|
iom.nfs.rsize=1024 |
Optimizing NFS read and write buffer sizes for use with PPP by setting them to a maximum of 1024 |
|
iom.nfs.wsize=1024 |
|
Include the pppstart.r actor in the system image.
Rebuild the system image.
Copy the system image to the boot server:
host% rcp system_image_name boot_server:/tftpboot |
Reboot the target system:
host% rsh target reboot |