I am working with Pocket beagle bone debian 9.2 version, i have interfaced Wiznet W5500 Ethernet IC with SPI1 of PBB.
I would like to set IP as static(192.168.3.213) but the PBB is taking IP as Dynamic for every reboot.
For setting IP as static, I followed the below procedure.
- sudo ifconfig eth0 192.168.3.213 netmask 255.255.255.0
with the above command it happend to set IP but after reboot again PBB is taking IP as Dynamic.
- I have modified below file
auto eth0 iface eth0 inet static address 192.168.3.213 netmask 255.255.255.0
After changing the file, i have rebooted the PBB but still it is not modified IP as Static.PBB is taking IP as Dynamic
Can any one help on the above.
Thanks in advance.