Managing Serial Networks Using UUCP and PPP in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

How to Activate UUCP for TCP/IP

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Edit the /etc/uucp/Systems file to ensure that the entries have the following fields:

    System-Name Time TCP Port networkname Standard-Login-Chat

    A typical entry would resemble the following:

    rochester Any TCP - ur-seneca login: Umachine password: xxx

    Notice that the networkname field permits you to specify explicitly the TCP/IP host name. This capability is important for some sites. In the previous example, the site has the UUCP node name rochester, which is different from its TCP/IP host name ur-seneca. Moreover, a completely different machine could easily run UUCP and have the TCP/IP host name of rochester.

    The Port field in the Systems file should have the entry -. This syntax is equivalent to listing the entry as uucp. In almost every situation, the networkname is the same as the system name, and the Port field is -, which says to use the standard uucp port from the services database. The in.uucpd daemon expects the remote machine to send its login and password for authentication, and in.uucpd prompts for them, much as getty and login do.

  3. Edit the /etc/inet/services file to set up a port for UUCP:
    uucp    540/tcp    uucpd        # uucp daemon

    You should not have to change the entry. However, if your machine runs NIS as its name service, you should make sure that the config/service of the svc:/system/name-service/switch service checks for files before nis. If the config/service property is not defined, then check the config/default property.

  4. Verify that UUCP is enabled.
    # svcs network/uucp

    The UUCP service is managed by the Service Management Facility. To query the status of this service, you can use the svcs command. For an overview of the Service Management Facility, refer to Managing SMF Service Instances in Managing System Services in Oracle Solaris 11.2 .

  5. (Optional) If necessary, enable UUCP by typing the following:
    # inetadm -e network/uucp