3
I recently moved. I have a fairly standard setup at my new place:
- A modem, connected to cable
- TPLINK TL-WR940N router, connected to the modem on the WAN port
- A raspberry pi, connected to the router on its 1st LAN port
- A bunch of other devices connect to the router through Wifi
The router works fine with its default settings as long as the raspberry pi is disconnected. Plugging in the Raspberry Pi, however, seems to confuse my router: the raspi gets an IP, but every device that tries to connect on Wifi after that is rejected (Android says "IP configuration failure"), and the logs of the router fill with messages saying "no ip addresses to give, OFFER abandoned"
. Setting a static IP on my Wifi devices does allow me to connect them, despite the raspberry pi.
What programs or services on the raspi could possibly be confusing my router's DHCP? Which logs should I inspect? The raspi was offline for a few months due to the move, and used to connect through wifi to my router, so I can't say whether the bug appeared due to e.g. and update (IIRC, raspbian recently moved to DHCPCD).
The raspi is running a web server (nginx), an SSH server (openSSH), and a VPN server (OpenVPN), and I have confirmed that it's not running a DHCP server (apt remove isc-dhcp-server
, nor dnsmasq
).
The router has a dynamic IP on its WAN port. I've confirmed that a factory reset or the router doesn't fix the problem. Unplugging the raspberry pi immediately allows other devices to connect.
Every single symptom shouts DHCP server... I agree this is the most likely culprit. – BloodPhilia – 2019-04-13T21:45:14.983