For the life of me I can’t figure out how to get port forwarding to work on my RPi3 running Jessie. I think the problem is getting a properly configured static ip for the Pi. I have tried /etc/network/interfaces & /etc/dhcpcd.conf, but neither seem to work. I am using internet sharing and VNC, with a Belkin router, if that helps at all. I have the proper port set up (8123) from the router gateway, but doesn’t seem to want to work.
Would DuckDNS solve this problem?
Also, how do I change the temperature for my Nest from C to F. I already have the temperature set as F in the yaml, but Nest is still showing C. Thank you and sorry for the silly questions!
For static IP I usually set it on my router rather than in LINUX on the device.
Given it is a Belkin router, you should be able to login to the router, determine what IP address you are using and either set up that address as the static address, or change it for the relevant MAC for your RPI3 to one you want it to have (ie I usually set my static IP’s outside the range of my “automatically allocated” pool. This may require you re-starting the router to then re-allocate the new IP address to the RPI3
I assume you want port forwarding so you can see the RPI3 from outside your network?
Correct, I am trying to get remote access to work and haven’t had much luck thus far. My router is a Belkin N300, and it seem that there isn’t an option for assignable static ip address. I think I would need to turn the DHCP server off under my Local Network Settings and then assign a static ip address to every device on my network. Does that sound right or am I missing some way to assign a static ip to the Pi alone?
Would it be simpler to go the DuckDNS route? Also, does any one have any insight on how to change the default temperature on Nest from C to F? Thank you so much!
For the router, you can still have DHCP enabled, just have it for a smaller range than all your IP possibilities (eg from 10.10.1.20 to 10.10.1.100) - that leaves you the numbers below 10 & above 100 that will never be allocated by DHCP. Anything unknown by the router that has the password to login will be assigned an IP address from the DHCP pool.