I am just new to the pi and I like to play with it when I am home. Now I would also like it if I would be able to play with it when I am on the go. I figured out that it is possible to connect the pi to my phone network and then I am able to use termius to work with the pi. Now i would like to know if it is possible to give the pi a static ip address for when it is connected to my home wifi and a different static ip address for when it connects to my phone network when i am on the go? so for example i would like to give static ip adress 192.168.179.95 tot my pi when it connects to my home wifi but ip adress 192.168.44.95 when it connects to my phone wifi.
Asked
Active
Viewed 120 times
2
-
You may want to view https://raspberrypi.stackexchange.com/questions/58304/how-to-set-wifi-network-priority (which is mostly about how to configure it to search for preferred WiFi networks (e.g. a home network vs. your phone network when the home network is not available) and set the priority. – Tim Campbell May 08 '19 at 15:22
-
Also see: https://raspberrypi.stackexchange.com/questions/37920/how-do-i-set-up-networking-wifi-static-ip-address – Tim Campbell May 08 '19 at 15:32
-
1Does the pi search for familiar networks and connect to them automaticly? No, not out of the box. – user96931 May 08 '19 at 15:32
-
1Possible duplicate of How do I set up networking/WiFi/static IP address? – Milliways May 09 '19 at 00:29