- Raspberry Pi 3 Cookbook for Python Programmers
- Tim Cox Dr. Steven Lawrence Fernandes
- 477字
- 2021-08-27 18:25:35
Getting ready
You will need Raspberry Pi with power and a standard network cable.
It may also be helpful to have a keyboard and monitor available to perform additional testing, particularly if this is the first time you have tried this.
To ensure that you can restore your network settings to their original values, you should check whether it has a fixed IP address or the network is configured automatically.
To check the network settings on Windows 10, perform these steps:
- Open Settings from the start menu, then select Network and Internet, then Ethernet, and click on Change adapter options from the list of Related Settings.
To check the network settings on Windows 7 and Vista, perform the following steps:
- Open Network and Sharing Center from the Control Panel and click on Change adapter settings on the left-hand side.
- To check the network settings on Windows XP, open Network Connections from the Control Panel.
- Find the item that relates to your wired network adapter (by default, this is usually called Ethernet or Local Area Connection, as shown in the following screenshot):
- Right-click on its icon and click on Properties. A dialog box will appear, as shown in this screenshot:
- Select the item called Internet Protocol (TCP/IP) or Internet Protocol Version 4 (TCP/IPv4) if there are two versions (the other is Version 6), and click on the Properties button.
- You can confirm that your network is set by using automatic settings or a specific IP address (if so, take note of this address and the remaining details as you may want to revert the settings at a later point).
To check the network settings on Linux, perform the following steps:
- Open the Network Settings dialog box and select Configure Interface. Refer to the following screenshot:
- If any settings are manually set, ensure you take note of them so that you can restore them later if you want.
To check the network settings on macOS X, perform the following steps:
- Open System Preferences and click on Networks. You can then confirm whether the IP address is allocated automatically (using DHCP) or not.
- Ensure that if any settings are manually set you take note of them so you can restore them later if you want to. Refer to the following screenshot:
If you just need to access or control Raspberry Pi without an internet connection, refer to the Direct network link section in the There's more...section.