I am totally confused with setting up Internet connection for my PI 3. My router is setup for static IP distribution. So, all the ip addresses are fixed for each and every devices on my Network including my PI. The usual way I setup Internet Connection for my PI 3 is as follows.
auto eth0 iface eth0 inet static static ip_address=192.168.1.3 static routers=192.168.1.1 static domain_name_servers=192.168.1.1 netmask 255.255.255.0 gateway 192.168.1.1
That always worked for me on PI 2. PI 2 would immediately connect to the Internet and it would save that settings forever and ever. However, on PI 3. Those settings are hit or miss. Sometime it makes the connection and other times it wouldn't or even save the settings. So, I went searching for answers on this forum and came across this question ( LAN on RPi2 not working ). I followed the chosen answer. It looks like I am able to get my PI 3 to connect to the Internet using the first step listed there. However, /etc/resolv.conf seems to be changing all on its own. Sometimes it says nameserver 192.168.1.70 on reboot and other times it says domain name nameserver 192.168.1.1 When I do finally manage to get my PI 3 to connect to the Internet, it looses all the settings on Reboot. This doesn't make sense to me. I am running Raspbian Jessie. Could someone please give me guidance?