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)
- Firmata protocol with Raspberry Pi and Arduino - September 13, 2017
- IOT:Power outlet controlled from internet using WeMOS - August 9, 2017
- OSMC on Raspberry PI with Setup and Control using Android App - July 7, 2017