Raspberry Pi Image: Difference between revisions

4 bytes removed ,  18:40, 31 December 2020
m
Line 91: Line 91:
:* Add a DHCP reservation
:* Add a DHCP reservation
:* Assign a static IP address
:* Assign a static IP address
:If you need to use a fixed ip address for your Raspberry Pi,
:If you need to use a fixed ip address for your Raspberry Pi, you have to edit this file: « '''/etc/network/interfaces''' »
:you have to edit this file: « '''/etc/network/interfaces''' » :
:For Ethernet connexion a line specefying port '''eth0''' is needed to describe your ethernet configuration, as this sample:
:for Ethernet connexion a line specefying port '''eth0''' is needed
:to describe your ethernet configuration, as this sample:
  allow-hotplug eth0
  allow-hotplug eth0
  iface eth0 inet static
  iface eth0 inet static
39

edits