Hey, The problem is solved. from what i read There is something called dhcpcd (daemon) service. This seems to be run before the system parses the /etc/network/interfaces
file.
so to overcome that the daemon dhcpcd should be disabled using this command sudo update-rc.d -f dhcpcd remove
or another option is to force the daemon dhcpcd to retrieve the IP address you like by reconfiguring nano /etc/dhcpcd.conf
file. That’s what i did actually.
I wonder how come that no one had this problem before. Anyway thanks for the suggestions you gave guys.
1 Like