PPP Dial up - UNIX

The following outlines how to configure a Silicon Graphics(TM) or Linux workstation, enabling it to make a dial-up connection to the camera server. Other UNIX (TM) based workstations will require similar configuration, consult your system documentation!


Silicon Graphics

The following files may require editing:
/etc./uucp/Systems and /etc./uucp/Devices

  1. Log in as root, by entering su in a shell window.
  2. Use a text editor to edit /etc./uucp/Devices. If you have already configured a modem for use with PPP on your workstation, you can skip the next step.
  3. Add an entry for your modem to the file. The format of an entry in /etc./uucp/Devices is as follows:
    <ACUmodemname> <port> null <speed> 212 x hayes24
    on a single line.<port> specifies which serial port the modem is connected to, ttyf2 indicates port number 2, the f informs the system that hardware CTS/RTS flow control should be used. hayes24 specifies the dialer to use.>
Example:
ACUcourier ttyf2 null 38400 212 x hayes24
  1. Connect the modem to the port you selected. Make sure the modem has been configured to use CTS/RTS flow control.
  2. Add an entry for the camera server in /etc./uucp/Systems. The format you should use for the camera server is as follows:
    <name> Any <ACUmodemname> Any <phone number> "" on a single line. <name> is an arbitrary name for the connection, such as neteye1. <ACUmodemname> is the name of the modem from /etc./uucp/Devices.
Example:
neteye1 Any ACUcourier Any 5551234 ""
  1. Make sure that the user running PPP has permissions to access the serial port. chmod 666 /dev/ttyf2 will allow all users to use the serial port ttyf2.

Linux

  1. Log in as root, by entering su in a shell window.
  2. Make sure you have pppd installed. Try entering pppd in a shell. If you have it, garbage will be printed to your shell for about 30 seconds. This is actually what the PPP negotiation looks like in ASCII. If you do not have pppd, or you see an error message saying that you do not have kernel support for PPP, look here for more help .
  3. Create a file with the following contents:
    ABORT BUSY ABORT 'NO CARRIER' '' ATDT<phone number> CONNECT
    in a single line. Save the file, for example as /root/ppp/neteye1.dialscript.
  4. Create a script to start the connection, for example /usr/sbin/ppp. Enter the following in the file:
    #!/bin/sh
    pppd crtscts connect "/usr/sbin/chat -f /root/ppp/$1.dialscript" /dev/modem 38400
  5. Make the script executable: chmod 755 /usr/sbin/ppp.
  6. Make sure that the user running PPP has permissions to access the serial port. chmod 666 /dev/acu0 will allow all users to use the serial port acu0. Usually /dev/modem is a symbolic link to the actual serial port. You can change it if the modem is to be connected to another port.

Connecting to the camera server

If you have followed the suggested names for files and connections in the previous steps, all you will have to do to start the PPP connection is to enter the following in a shell, logged in as a user who has aproporite permissions on all devices and files (typically root):

Silicon Graphics

ppp -r neteye1

Note:
By default, only root will be allowed to do this in IRIX, since /etc/uucp/Systems may contain passwords in plain text, and thus is only readable by root by default.

Linux

ppp neteye1

After the modems have established connection, you can test it either by using a browser, specifying the camera server's IP address or host name, or by pinging the camera server using the ping command.