Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
1 answer
673 views

How can I go back from static IP to dynamic IP?

In the past, I set a static IP to my Raspberry Pi 3. Now, I want to use it to other purpose and the subnet has changed. I don't remember how I set it to static. I have looked some questions but no one ...
Developing Electronics's user avatar
0 votes
2 answers
5k views

How to disable the dynamic IP address after assigning a static IP in Bullseye?

Background I upgraded my Pi3B from Buster to Bullseye using these instructions. WiFi is disabled on the Pi. Before the upgrade I had static IP setup and working fine by adding the following lines to ...
user68186's user avatar
  • 514
0 votes
1 answer
454 views

How to set static IP address with a backup if given address is not available?

I found this tutorial to set a static IP address: https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-give-your-raspberry-pi-a-static-ip-address-update All this is fine! However, what if given IP ...
Roman Matveev's user avatar
0 votes
1 answer
105 views

Use static or Dynamic IP based on GPIO Pin

I have a switch on my PI and I want to be able to use a static ip or dynamic ip based on the switches position. Is it possible to get GPIO pin data in dhcpcd.conf?
user2570937's user avatar
5 votes
2 answers
6k views

How to have fallback to dynamic IP when static IP fails?

I have a headless raspberry pi zero. It is configured to be connected to home network and my mobile hotspot (Android phone). When I am home, I would like it to get a static IP, where I know I can ...
Saren Tasciyan's user avatar
1 vote
1 answer
743 views

dhcpcd fallback in reverse

I need the following action in my Raspberry Pi 3. When the pi boot, it will try to use static IP (which already configured) on an Ethernet interface. If it fails, then it will get an IP from the DHCP ...
Black Glix's user avatar