I have posted a part of this question here and now what Im questioning is an answer suggested - to create a static IP. Question in short: I have a headless PC(running Ubuntu) and I want to make this go online as soon as the router becomes available. In a case where I start the PC first and the router isn't available at PC's bootup (and the router becomes available later) I've seen that Im unable to query the PC from any of the IPs in the DHCP pool. However if the router was started earlier, then any of the first few IPs in the DHCP pool should give me a hit to the headless PC and Im able to SSH into it.
After creating a static IP in the interfaces
file and also adding the line auto eth0
(which was surprisingly missing) and other network stuff, I was able to create a static IP and it works well - now I know for certain if the headless PC is on the network or not with ONE IP.
However in the case where the router is brought up later, would the PC still be able to go online using the static IP ?