0

I am trying to use my Raspberry Pis internet connection to share it with my old PC (which only has an ethernet port) using the following article

Connect Pi to PC via ethernet and share internet connection

but when I try using the internet on my PC it gives me the error No internet connection After running troubleshooting I get the error "Ethernet" does not have a valid IP configuration.

Why is this the case? Do I have to change my internet settings on my Pi or does it have something to do with the PC?

Additional Info:

Raspberry Pi: OS: Raspbian Model: 3B

Windows PC OS: Windows 10 Version 1803 (Build 17134.407)

8
  • So, you want to share your PC's internet connection with your Raspberry Pi?
    – GramThanos
    Jun 8, 2019 at 13:07
  • Which Pi? Is it a new-ish one with Wi-fi? How is your MS-Windows PC connected to the internet? Jun 8, 2019 at 20:09
  • This is a question about Windows
    – Milliways
    Jun 8, 2019 at 22:05
  • @Milliways How so? Isn't it about the Pi IP config?
    – Roxiun
    Jun 9, 2019 at 0:30
  • @ctrl-alt-delor It is a Pi 3B. And my Windows PC isn't connected to the internet that is why I am trying to connect the Pi via Ethernet in order for the PC to get internet via the Pi.
    – Roxiun
    Jun 9, 2019 at 0:31

1 Answer 1

1

You wrote in a comment: "I want to share the Pi's internet connection with the PC". At the answer to the question you have linked I find: "5. Now your Pi will obtain an IP address from your PC and can access internet through your PC". This is not what you want, you are using the wrong setup.

Because you use a Raspberry Pi 3B I assume you are connected to a local internet router by wifi. Now you have to make the RasPi a router so it routes data between the wifi interface and the wired interface to the PC. How to do it you can look at Can a Raspberry Pi Zero W be turned into an USB WiFi dongle to any USB Host like x86 PC or mini-PC?. Please follow there the section Use routing.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.