
So if I'm at home, no matter whether the network cable is plugged or unplugged, the Raspberry Pi will always be on the same IP. If the network cable is unplugged, and we are at home, use the same static IP on WiFi that I would otherwise be using through the ethernet cable. Meanwhile, ignore WiFi completely regardless of whether the USB WiFi nano dongle is plugged in or not. If the network cable is plugged in, assume that we must be at home, and use a static IP. However if I'm taking it elsewhere, I want to be able to quickly and easily configure it for another wireless network. That means I have to manage without the desktop tools to configure the network I have to use the command-line network tools over an SSH connection.Īnother problem I have is that I want the Raspberry Pi to use a static IP if it's in my house - with no monitor, I can't read the IP address off the screen, so the IP address needs to stay the same so I know where to connect to.
Quite often I want to run my Raspberry Pis "headless" - that is to say, without a keyboard, mouse or monitor.
Raspberry Pi Networking - Switching between wired and wireless networks in Raspbian & Debian - Andrew OakleyĪ Raspberry Pi Networking - Switching between wired and wireless networks in Raspbian & Debian