Networking and connecting your Raspberry Pi to the Internet via the LAN connector

The simplest way to connect the Raspberry Pi to the Internet is by using the built-in LAN connection on the Model B. If you are using a Model A Raspberry Pi, a USB-to-LAN adapter can be used (refer to the There's more… section of the Networking and connecting your Raspberry Pi to the Internet via a USB Wi-Fi dongle recipe for details on how to configure this).

Getting ready

You will need access to a suitable wired network, which will be connected to the Internet, and a standard network cable (with an RJ45 type connector for connecting to the Raspberry Pi).

How to do it…

Many networks connect and configure themselves automatically using Dynamic Host Configuration Protocol ...

Get Raspberry Pi for Python Programmers Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.