3.5 Connecting Raspberry Pi to a Network

There are two ways to connect Raspberry Pi to a network.

3.5.1 Connection via router

  1. Connect raspberry pi to router via Ethernet cable.
  2. From your PC/ Laptop login to the router settings page and check the IP address of the Raspberry Pi in the DHCP reservation table.
  3. Copy the IP address on to putty and login.

3.5.2 Connection via DHCP Server

3.5.2.1 Dynamic Host Configuration Protocol

The Dynamic Host Configuration Protocol (DHCP) is a standardized networking protocol used on Internet Protocol (IP) networks for dynamically distributing network configuration parameters, such as IP addresses for interfaces and services. With DHCP, computers request IP addresses and networking parameters automatically from a DHCP server, reducing the need for a network administrator or a user to configure these settings manually.

3.5.2.2 Procedure

  1. Download DHCP Server for Windows. It is a 100kB download available at http://www.dhcpserver.de/dhcpsrv.htm
  2. Go to the IPv4 properties page of the Ethernet adapter and set a fixed IP address, say 192.168.2.1
  3. Run the DHCP Server Wizard (downloaded above).
  4. Select the Ethernet adapter from the list shown.
  5. Save the configuration file and start up the DHCP Server.
  6. Click the 'Continue as tray app' button in the server control panel.Boot up the Raspberry Pi.
  7. A popup notification shows the IP address assigned by the DHCP server to the Raspberry Pi.
  8. Use a SSH client, like PuTTy, to connect to the IP address shown

results matching ""

    No results matching ""