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)

Ingo
  • 42,107
  • 20
  • 85
  • 197
Roxiun
  • 235
  • 1
  • 9

1 Answers1

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.

Ingo
  • 42,107
  • 20
  • 85
  • 197