MCSE Boot Camp Notes :

Networking Guide
Chapter 3, Administering TCP/IP

Configuring UUCP over TCP/IP with TLI

Configuring UUCP over TCP/IP with TLI

The following steps demonstrate how to configure UUCP over TCP/IP using TLI between the systems london and thames. The example shown by the following procedure is a configuration where the host london initiates all UUCP requests, while the host thames listens and responds to all requests. If you want both hosts to be able to use the uucp command to initiate a UUCP transaction, repeat this procedure on each host, exchanging host names where appropriate.

  1. Pick a TCP port on which thames will listen for incoming UUCP requests. The sample following procedure uses port 698. The port chosen should not already appear in the /etc/services file and should not be port 540.

  2. Determine the address on which thames will listen for requests. This number is the representation of a sockaddr_in structure as defined in the /usr/include/sys/netinet/in.h header file. This number is a 16-byte number and needs to be constructed both in hexadecimal and in octal. Use of the bc(C) command is helpful here. To construct the number in hexadecimal, note that:

    • The first byte represents the address family. This is always AF_INET, or 02, as defined in the header file /usr/include/sys/socket.h. 

    • The second byte is always 00.

    • The third and fourth bytes are the hexadecimal representation of the port on which thames listens for UUCP requests. In our case, decimal 698 equals 2ba in hexadecimal, hence the third byte is 02, and the fourth byte is ba.

    • The fifth, sixth, seventh, and eighth bytes represent the hexadecimal equivalent of each octet of the IP number of thames. If the IP number of thames is 132.147.118.3, then the fifth, sixth, seventh, and eighth bytes are 84, 93, 76, and 03, respectively.

    • The last eight bytes are all 00.

    • Putting it all together, the address constructed is:
         02 00 02 ba 84 93 76 03 00 00 00 00 00 00 00 00
      
      for a total of 16 bytes.

    • To create the octal representation of the address, convert each hexadecimal byte above into octal:
         \002\000\002\272\204\223\166\003\000\000\000\000\000\000\000\000
      

  3. Set up the Network Listening Service on thames:

    a.
    As root, enter: 

    nlsadmin -i inet/tcp

    This creates the directory /usr/net/nls/inet/tcp and allows us to add services that listen on the device /dev/inet/tcp.

    b.
    Enter on one line:

    nlsadmin -a 101 -c "/usr/lib/uucp/uucico -r0 -iTLI -unuucp"
    -w uucp -y "TLI UUCP" inet/tcp

    This adds service number 101, which executes the command /usr/lib/uucp/uucico -r0 -iTLI -unuucp as the user uucp, when a request for service number 101 is received on the device /dev/inet/tcp.

    The options and arguments to nlsadmin are:

    -a 101
    Add a service with label 101 (service code).

    -c "command"
    Fork the command in quotes.

    -w uucp
    Enter the command given in the -c option as the user uucp.

    -y "TLI UUCP"
    Add a comment.

    inet/tcp
    Specify that this service is to listen on /dev/inet/tcp. This step requires that the command in step 3a has already been executed.

    The options to the uucico command in the -c option of nlsadmin are:

    -r0
    Act in slave mode.

    -iTLI
    Use the TLI interface.

    -u nuucp
    Start up as the user nuucp. This is different from the -w option in the nlsadmin command.

    c.
    Enter the command:

    nlsadmin -l "\x020002ba849376030000000000000000" inet/tcp

    This is the hexadecimal representation of the address constructed in step 2.

  4. Add the following line to /usr/lib/uucp/Systems on thames:
       london Never TLI,e Any
    
    If this line for london has already been added for TLI so that thames can initiate a connection, make no changes to the /usr/lib/uucp/Systems file.

  5. Add the following set of lines to /usr/lib/uucp/Permissions on thames:
       MACHINE=london LOGNAME=nuucp \
               COMMANDS=rmail:rnews:uucp \
               READ=/usr/spool/uucppublic:/usr/tmp \
               WRITE=/usr/spool/uucppublic:/usr/tmp \
               SENDFILES=yes REQUEST=yes
    

  6. Add the following line to the /usr/lib/uucp/Systems file on london:
       thames Any TLI,e Any address
    
    where address is the octal representation of the address constructed in step 2. Thus the line to add is: 
       thames Any TLI,e Any \002\000\002\272\204\223\166\003
               \000\000\000\000\000\000\000\000
    
    This should all be on one line. The backslashes surrounding each octal byte are required.

  7. Add the following line to the /usr/lib/uucp/Devices file on london:
       TLI inet/tcp - Any TLI \D nls
    

  8. Add the following line to the /usr/lib/uucp/Dialers file on london: 
       nls "" "" NLPS:000:001:101\N\c
    
    Note that the ``101'' specified here matches the service code added with nlsadmin -a in step 3b.

  9. Add the following lines to the /usr/lib/uucp/Permissions file on london:
       MACHINE=thames LOGNAME=nuucp \
               COMMANDS=rmail:rnews:uucp \
               READ=/usr/spool/uucppublic:/usr/tmp \
               WRITE=/usr/spool/uucppublic:/usr/tmp \
               SENDFILES=yes REQUEST=yes
    

  10. Verify that each host is listed in the other's /etc/hosts file or resolvable by the nameserver. Add the following lines to the end of the file /etc/rc2.d/P87USRDAEMON on thames, so that the listener is started when the system is booted:
       nlsadmin -s inet/tcp 2>/dev/null
       [ $? = 0 ] && echo "Started listener"
    

  11. Shut down and reboot both systems. Verify that the process called ``listen'' is running on thames. You should now be able to issue uucp requests for thames from london.

Networking guide
Call : 800-519- 2267

MCSE CCNA Certification boot camp
Testimonials
 Join MCSE Boot Camp & CCNA Boot Camp Back to Back Certification Today.
MCSE Boot Camp links  MCSE Boot Camp 270  MCSE Boot Camp  290  MCSE Boot Camp  291  MCSE Boot Camp 293  MCSE Boot Camp  294  MCSE Boot Camp 298  MCSE Boot Camp 299  MCSE Boot Camp Security  MCSE Boot Camp 640-801  MCSE Boot Camp routing MCSE Boot Camp 811  MCSE Boot Camp 821  MCSE Boot Camp 831  MCSE Boot Camp Resources MCSE Boot Camp MCSE + CCNA  MCSE Boot Camp Training  MCSE Boot Camp Card pay  MCSE Boot Camp Papal  MCSE Boot Camp MCSE Notes  MCSE Boot Camp CCNA Notes    MCSE Boot Camp index MCSE Boot Camp main  MCSE Boot Camp root MCSE Boot Camp link  MCSE Boot Camp resources MCSE Boot Camp home    Ref1 Ref2
Microsoft MCSE Boot Camp
MCSE Boot Camp, MCSE Certification boot camp, MCSE Training boot camps, MCSE certification  boot camp training at California and Maryland USA. Also CCNA, CCNP, CISSP, Red Hat Linux Certification notes.

Vibrant boot camp offers MCSE, CCNA, CCNP Certification back to back

Vibrant offers MCSE certification training boot camp for $5400 all inclusive, instructor led at California and Baltimore.

Vibrant Bootcamp Participants come from All Around the World. Vibrant has trained students from more than 15 countries like USA, UK, (Scotland, Ireland, Wales), Switzerland, Germany, Australia, Canada, France, Holland, Japan, Belgium, Bahrain, New Zealand, Tanzania, Turkey, Kenya and more.

100BASE-X

100VG-AnyLAN

10BASE2

10BASE5

10BASE-FL

10BASE-T

Access Methods

Active Hubs

Additional Administrative Tasks

Address Resolution Protocol (ARP)

Addressing at the Data Link Layer

Advantages of Packet Switching

Analog Waveforms

AppleTalk

Assigning File-Level Permissions on an NTFS Partition

Asynchronous Transfer Mode (ATM)

Asynchronous Transmission

Attenuation

Attenuation

Attenuation

Attenuation

Auditing

Backup

Band Usage (Baseband or Broadband)

Bandwidth

Bandwidth

Bridges

Bridges

Brouters

Bus Topologies

Cable Media

Capacity

Capacity

Capacity

Centralized Computing

Characteristics of Transmission Media

Choosing a RAID Level

Circuit Switching

Coax and Fire Code Classifications

Coaxial Cable

Coaxial Characteristics

Collaborative Computing

Communications Devices and OSI

Comparing Contention and Token Passing

Configuring Network Adapter Cards

Connection Services

Connection-oriented and Connectionless Modes

Connectivity Devices

Connectors for Coaxial Cable

Connectors for STP

Connectors for UTP

Contention

Controlling the Flow of Data

Cost

Cost

Cost

Cost

Creating and Assigning Permissions to a Shared Folder on Windows NT

Data Encryption

Data Link Control (DLC)

Data Migration

Database Services

Datagram Packet Switching

Defining a Network Adapter Card

Delivering Packets

Demand Priority

Digital and Analog Signaling

Disaster Recovery

Disk Duplexing

Distance Vector Routing

Distributed Computing

Domain Name System (DNS)

Electromagnetic Interference

Electronic Mail

EMI Characteristics

EMI Characteristics

EMI Characteristics

EMI Characteristics

Error and Flow Control at the Data Link Layer

Establishing Troubleshooting Connectivity and Communication

Ethernet

Ethernet Cabling

Exercise 1.1: Logging on as a Peer

Exercise 1.2: Windows NT Access Permissions

Exercise 1.3: Exploring the NT Workstation Service

Exercise 10.1: Network Adapter Resource Settings

Exercise 10.2: Windows NT Diagnostics

Exercise 11.1: Mapping a Network Drive

Exercise 12.1: Using Network Monitor

Exercise 12.2: Creating a Chart in Performance Monitor

Exercise 12.3: Performance Monitor Alerts, Logs, and Reports

Exercise 13.1: Modem Troubleshooter

Exercise 13.2: Windows NT Books Online

Exercise 2.1: Gateway Services for NetWare

Exercise 2.2: SLIP and PPP in Dial-Up Networking

Exercise 3.1: Shopping for Network Cabling

Exercise 4.1: Matching Topologies to Applications

Exercise 5.1: Installing Network Protocols in Windows NT

Exercise 5.2: Network Bindings

Exercise 6.1: Enabling IPX Routing

Exercise 7.1: Accessing an X.25 Network Through NT Dial-Up Networking

Exercise 8.1: Creating a User Account in Windows NT

Exercise 8.2: Creating Groups on Windows NT

Exercise 8.3: Sharing a Directory on a Windows NT FAT Partition

Exercise 8.4: Setting NTFS Permissions on a Shared Folder

Exercise 8.5: Sharing a Directory Using Share-Level Security

Exercise 8.6: Sharing a Directory Using User-Level Security

Exercise 8.7: Creating a Local Printer with Windows NT

Exercise 8.8: Sharing a Printer on the Network with Windows 95

Exercise 9.1: Exploring Windows NTs Disk Administrator

Exercises

Exercises

Exercises

Exercises

Exercises

Exercises

Exercises

Exercises

Exercises

Exercises

Exercises

Exercises

Exercises

Extended LANs (Wireless Bridging)

Fiber-Optic Cable

Fiber-Optic Characteristics

Figure 1.1

Figure 1.10

Figure 1.2

Figure 1.3

Figure 1.4

Figure 1.5

Figure 1.6

Figure 1.7

Figure 1.8

Figure 1.9

Figure 10.1

Figure 10.2

Figure 10.3

Figure 10.4

Figure 10.5

Figure 10.6

Figure 10.7

Figure 10.8

Figure 11.1

Figure 11.2

Figure 12.1

Figure 12.10

Figure 12.11

Figure 12.2

Figure 12.3

Figure 12.4

Figure 12.5

Figure 12.6

Figure 12.7

Figure 12.8

Figure 12.9

Figure 13.1

Figure 13.2

Figure 2.1

Figure 2.10

Figure 2.11

Figure 2.12

Figure 2.13

Figure 2.14

Figure 2.15

Figure 2.16

Figure 2.17

Figure 2.2

Figure 2.3

Figure 2.4

Figure 2.5

Figure 2.6

Figure 2.7

Figure 2.8

Figure 2.9

Figure 3.1

Figure 3.10

Figure 3.11

Figure 3.12

Figure 3.13

Figure 3.14

Figure 3.15

Figure 3.16

Figure 3.17

Figure 3.18

Figure 3.19

Figure 3.2

Figure 3.20

Figure 3.3

Figure 3.4

Figure 3.5

Figure 3.6

Figure 3.7

Figure 3.8

Figure 3.9

Figure 4.1

Figure 4.10

Figure 4.11

Figure 4.12

Figure 4.13

Figure 4.14

Figure 4.15

Figure 4.16

Figure 4.17

Figure 4.2

Figure 4.3

Figure 4.4

Figure 4.5

Figure 4.6

Figure 4.7

Figure 4.8

Figure 4.9

Figure 5.1

Figure 5.10

Figure 5.11

Figure 5.2

Figure 5.3

Figure 5.4

Figure 5.5

Figure 5.6

Figure 5.7

Figure 5.8

Figure 5.9

Figure 6.1

Figure 6.10

Figure 6.11

Figure 6.12

Figure 6.13

Figure 6.14

Figure 6.15

Figure 6.2

Figure 6.3

Figure 6.4

Figure 6.5

Figure 6.6

Figure 6.7

Figure 6.8

Figure 6.9

Figure 7.1

Figure 7.10

Figure 7.11

Figure 7.12

Figure 7.13

Figure 7.14

Figure 7.15

Figure 7.16

Figure 7.2

Figure 7.3

Figure 7.4

Figure 7.6

Figure 7.7

Figure 7.8

Figure 7.9

Figure 8.1

Figure 8.10

Figure 8.11

Figure 8.12

Figure 8.2

Figure 8.3

Figure 8.4

Figure 8.5

Figure 8.6

Figure 8.7

Figure 8.8

Figure 8.9

Figure 9.1

Figure 9.2

Figure 9.3

Figure 9.4

Figure 9.5

Figure 9.6

Figure 9.7

File Archiving

File Services

File Storage

File Transfer

File Transfer Protocol (FTP)

File-Update Synchronization

Finding Resources on Microsoft Networks

Frame Relay

Frequency-Division Multiplexing

Gateway Services

Gateways

Getting Support

Global and Local Groups

Groups

Groups

Groupware

Handling Broadcast Storms

Handling Other Network Problems

Hardware Access at the Data Link Layer

How Peer Layers Communicate

Hubs

IBM Cabling

IEEE 802.11

IEEE 802.12

IEEE 802.2

IEEE 802.3

IEEE 802.3 and IEEE 802.5 Media

IEEE 802.4

IEEE 802.5

IEEE 802.6

IEEE 802.9

Implementing a Fault-Tolerant Design

Implementing Security on Windows 95

Implementing Security on Windows NT

Infrared Transmission

Initiating the Troubleshooting Process

Installation

Installation

Installation

Installation

Installing Network Adapter Cards

Intelligent Hubs

Internet Control Message Protocol (ICMP)

Internet Protocol (IP)

Internet Protocols (TCP/IP)

ISDN and B-ISDN

Keeping Records

Laser Transmission

Leased Line Types

Link-State Routing

Local and Wide Area Networks

Local Area Networks (LANs)

Logging Events

Managing and Securing a Microsoft Network

Managing User Accounts and Groups Using Windows NT

Message Switching

Microwave

Mobile Computing

Models of Network Computing

Modems

Monitoring Network Traffic

Monitoring Network Trends

Monitoring Performance

Monitoring the Network

Multiplexing

Narrow-Band Radio Transmission

NDIS and ODI

NetBEUI

NetBIOS Background

NetBIOS Names

NetBIOS Names

NetWare IPX/SPX

Network Adapter Cards

Network Applications

Network File System (NFS)

Network Layer Addressing

Network Models: Comparing Server-Based and Peer-to-Peer Configurations

Network Operating Systems

Network Printing

Network Security

Network Topologies and Architectures

Networking Concepts and Components

Networking Essentials

Networking Standards

Networking Terms and Concepts

Open Shortest Path First (OSPF)

OSI Application Layer Concepts

OSI Data Link Layer Concepts

OSI Network Layer Concepts

OSI Physical Layer Concepts

OSI Presentation Layer Concepts

OSI Session Layer Concepts

OSI Transport Layer Concepts

Packet Routing Services

Packet Switching

Packets and Protocols

Passing Data on Token Rings

Passive Hubs

Peer-to-Peer Networking

Permissions

Physical and Logical Topologies

Preparing Data

Printer Sharing with Windows 95

Printer Sharing with Windows NT

Protecting Data

Protocol Stacks

Protocols and Protocol Layers

RAID 0

RAID 1

RAID 5

Reasons for Wireless Networks

Recovering from System Failure

Remote Terminal Emulation (TELNET)

Repeaters

Repeaters

Resolving Hardware Conflicts

Resource Sharing Basics

Resources

Rights

Ring Topologies

Routers

Routers

Routing

Routing Algorithms

Routing Information Protocol (RIP)

Rules and the Communication Process

Satellite Microwave

Securing Hardware

Security for Printer Resources

Sending Data

Serial Line Internet Protocol (SLIP) and Point-to-Point Protocol (PPP)

Server-Based Networking

Session Layer Session Administration

Share-Level Security on Windows 95

Sharing

Shielded Twisted-Pair (STP) Cable

Simple Mail Transfer Protocol (SMTP)

Spread-Spectrum Radio Transmission

Standards

Standards Organizations and the ISO

Star Topologies

Summary

Summary

Summary

Summary

Summary

Summary

Summary

Summary

Summary

Summary

Summary

Summary

Summary

Summary of Cable Characteristics

Synchronous Transmission

Table 3.1

Table 3.2

Table 3.3

Table 4.1

Terrestrial Microwave

The Beaconing Process

The IEEE 802 Family

The OSI Reference Model

The Public Telephone Network

Thicknet

Thinnet

Time-Division Multiplexing

Token Passing

Token Ring

Token Ring Cabling

Transmission Control Protocol (TCP)

Transmission Frequencies

Transmission Media

Transport Layer Connection Services

Transport Protocols

Troubleshooting

Troubleshooting Cables and Connectors

Troubleshooting Hubs and MSAUs

Troubleshooting Modems

Troubleshooting Network Adapter Cards

Troubleshooting Network Performance

Twisted-Pair Cable

Types of Coaxial Cable

Uninterruptible Power Supply

Unshielded Twisted-Pair (UTP) Cable

User Accounts

User Datagram Protocol (UDP)

User-Level Security on Windows 95

Users

Using RAID

Using Troubleshooting Tools

Virtual Circuit Packet Switching

Virtual Circuits

Virus Protection

Wide Area Networks (WANs)

Windows NT Networking

Wireless Communications with LANs

Wireless Media

X.25