EthEmbedded / Raspi-Eth-Install

95 stars 18 forks source link

Unable to change DHCP to static IP #6

Open EasonWang01 opened 7 years ago

EasonWang01 commented 7 years ago

Hi,I have the same setting on another ubuntu image and it works,but on eth image when I change /etc/network/interfaces to following it still using DHCP rather then static IP.

auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.100
gateway 27.147.28.1
netmask 255.255.255.0