First, connect the network to the Raspberry Pi and do an update by entering:
Then do an upgrade by doing:
We can now set up the network so that the Raspberry Pi uses a fixed IP address which does not change when the router is rebooted.
First find the MAC address and IP address of your Raspberry Pi using the command:
The MAC address is a unique number assigned to network interfaces – it is a network address and we can use it to link to an IP address.
The MAC address will look something like: b8:27:eb:ad:31:3c
The IP address will look something like: 192.168.1.75
Once you have the MAC and IP address you need to log into your router. Somewhere in the menu system, you should be able to find devices on your network. This will of course depend on your router and you may have to find the documentation for it. Usually you enter in the MAC address and the IP address to link them together. Now, if the router is re-booted, the IP address should stay the same and hence still point to your Raspberry Pi.