Open the terminal and type
sudo pico interfaces
Then change the content to this,where you will have to set the corresponding values depending upon your network.
iface lo inet loopback
iface eth0 inet static
to save and exit.
Now we have to set the DNS and that is done by esiting the file resolv.conf.So you can edit it by
sudo nano /etc/resolv.conf
and add below shown to the file and save it like before.
Now reboot your system by giving command
That’s all you are ready to go.
Latest posts by Bikash Panda (see all)
- RPi GPIO Programming using Arduino Web IDE - August 12, 2018
- Arduino: String to Array Conversion based on delimiter - July 20, 2018
- OpenHAB2Installation on Ubuntu Server (16.04) - May 29, 2018