Raspberry Pi Image: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
441 bytes added ,  18:27, 31 December 2020
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,
: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:
<code>
allow-hotplug eth0
iface eth0 inet static
  address 192.168.11.100
  netmask 255.255.255.0
  gateway 192.168.11.1
  dns-domain example.com
  dns-nameservers 192.168.11.1
</code>


== Information ==
== Information ==
39

edits

Navigation menu