Quote:
Originally Posted by bloodh101
You may need to disable dhcpcd
Code:
sudo systemctl disable dhcpcd
Also have a look at this.
|
Sir, In both cases i can configure the static IP. But for first method that is by using dhcpcd file, static IP is assigned only when a device is connected to the port. I used ifconfig to view the IP but inet addrs is not shown until i connected my laptop to eth1 port of Rpi.
But this problem is not present in the second method. In the second method, i have already disabled the dhcpcd by sudo systemctl disable dhcpcd. Static IP is assigned to eth1 port even if i haven't connected my laptop.