![]() ![]() Power up and log into your Raspberry Pi via WiFi or ethernet, then enter route -ne at the command prompt to see your network routing information: ![]() ![]() If you already know what it is, just skip this step. The computers on your network use it to communicate with the router and access the internet. This is the local IP address of your network router. The first step is to find out your default gateway IP. If you only need one or the other, just omit the code below for the connection you don’t need. In this tutorial we’ll set up static IP’s for both WiFi and ethernet connections. Check out our tutorials How to Set Up WiFi on the Raspberry Pi and How to Set Up a Raspberry Pi Without a Monitor or Keyboard to see how to do that if you haven’t already. Setting up a Static IP on the Raspberry Piīefore starting, make sure you’ve already set up and configured a way to access the command prompt. ![]() With a static IP, you’ll be able to use the same IP address every time you connect to your Pi. This makes it more reliable when using services that depend on a stable internet connection, like online gaming, VOIP, or remote desktop applications. Static IPĪ static IP (as you could probably tell by the name) is one that doesn’t change. A program installed on your network router called the dynamic host configuration protocol (DHCP), automatically changes and assigns new dynamic IP addresses to computers on your network. A dynamic IP can change every time you log in, or only at certain intervals. If a hacker gets access to your IP address, you’ll be less vulnerable to attack since your IP changes frequently. Dynamic IP Dynamic IPĭynamic IP’s are good to use if you’re concerned about security. It covers all of the steps and code you need to get started. BONUS: I made a quick start guide for this tutorial that you can download and go back to later if you can’t set this up right now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |