I am attempting to SSH a Windows 11 laptop into a pi using an ethernet cable to have a camera send its images to my laptop. However, I am having difficulty in establishing a valid IP address for the laptop. The current listed is a 169.254 IP address, and when I try to renew the address I receive the error message "An error occurred while renewing interface Ethernet : unable to contact your DHCP server. Request has timed out.".

I am able to SSH into the Pi (though the only assigned IP address is a dynamically assigned IPv6, for some reason an IPv4 address isn't generated), but I think there is an issue with the Pi sending the data back to my laptop, which I assume is because my laptop isn't being assigned a valid IP address. This error only happens when connection to my Pi via ethernet - all other internet services work fine. Also, I'm uncertain if this is a symptom of the problem or a separate issue but running hostname -I once SSH'd does not have an output.

Thanks in advance, and apologies if there isn't enough information/if the question is unclear.

  • 1
    "I am having difficulty in establishing a valid IP address" how have you attempted to set an address? Why don't you just connect the Pi to your router?
    – Milliways
    May 15 at 11:49
  • I've restarted my laptop's DHCP client, attempted to manually set an IPv4 address and tried disabling IPv6 for this ethernet connection. I'm not connecting it to the router because it is configured so I can't connect with the Pi, and I don't own the router so can't change it. May 15 at 11:56
  • 1
    Configuring a Windows computer is not a Pi question. Ask a Windows support site but configuring a DHCP client has NOTHING to do with allocating IP addresses.
    – Milliways
    May 15 at 12:21
  • I asked here because the client is still able to receive an address for my internet connection, however it isn't on the Pi's network, implying the issue is at least connected the device. From my (limited) understanding, the DHCP client should assign an IP address to my laptop which the Pi can use to send its data to, and without it I cannot access the camera. May 15 at 12:50
  • 1
    169.254 is a Link-local address. Most normal systems can ssh to a Link-local address and hostname.local allows connection over Link-local. It is possible to setup a Pi as a DHCP server but usually if you have created a Hotspot. DHCP clients solicit an address from a DHCP server they don't assign ANYTHING.
    – Milliways
    May 15 at 13:06


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.