= Computer Networks = In its broadest sense, a [https://en.wikipedia.org/wiki/Computer_network network] consists of two or more devices, sharing resources and information via a medium. The desktops on the school are all connected via the school network. Your mobile phone is part of your service providers mobile network. The devices can be interconnected using physical cables or wireless. The [https://en.wikipedia.org/wiki/Internet Internet] is the global system of interconnected computer networks that uses the [https://en.wikipedia.org/wiki/Internet_protocol_suite Internet protocol suite (TCP/IP)] to communicate between networks and devices == How are messages delivered over the network. == === What happens when you mail a letter to a friend === 1. Write a letter on a piece of paper 1. Put the letter in an envelope 1. Write your friends address on the envelope 1. Write your address on the envelop (in case your friend wants to send a reply) 1. We carry the letter to the mailbox and mail it. 1. Mail man picks up the letter and takes to the post office 1. Post Office sorts all incoming Letters and send yours to your friends home 1. Mail man delivers the mail to your friends home. 1. Your friend receives your letter, opens the envelope and reads your message. === What happens when Control Station send messages to the Robot. === 1. Driver engages the joystick button. Software running on the (Driver Station) Laptop detects it. Software issues a command to Robot 1. FRC library encapsulates the command in an IP = Troubleshooting Network Issues = == Useful tools == * [https://en.wikipedia.org/wiki/Ping_(networking_utility) ping]: Used to test the reachability of a host on a network * Usage "ping ''IP_Address''" * [https://en.wikipedia.org/wiki/Ifconfig ifconfig](linux) / [https://en.wikipedia.org/wiki/Ipconfig ipconfig](windows): display network interface configuration * Usage "ifconfig" * [https://en.wikipedia.org/wiki/Traceroute traceroute(linux)/tracert(Windows)]: Diagnostic command for displaying possible routes (paths) for packets across the network * Usage "traceroute ''IP_Address''" * route: Command to display the routing configuration on a host / router * Usage "route -v" * [https://en.wikipedia.org/wiki/Address_Resolution_Protocol arp]: List the ARP table entries on the host/router * Usage "arp -a"