-1

I have a Raspi 2B running Raspbian and I want to connect it to the Internet with an Ethernet cable via my laptop (which is connected with WiFi to my router).

Unfortunately, I am officially connected (according to the icons in the GUI), but I can't go to the Internet and my PC cannot detect the Pi

However, when I connect my raspi directly to the router with an Ethernet cable, it works perfectly and I have a good connection.

But my router is 2 floors down, and I really can't use my Raspberry Pi properly when it is there, so I really need to connect it through my laptop (running Windows 10)...

-What I precisely want to do is to use my raspi with PuTTY on my laptop, so I enabled SSH.

-In the Network and Sharing Center on my laptop, I allowed other devices to connect to the WiFi network via my computer.

(If I don't connect it to my laptop, I know I can get a WiFi adapter, but I prefer not wasting money and trying to solve the problem instead...)

Any idea what could be wrong?

Thanks for helping

2 Answers2

0

If you are just using a standard Ethernet cable to connect the Pi to the PC you'll likely run into problems. You will probably need to use a Crossover cable for that or put an ethernet switch (old ISP router will probably do) in between the two and assign them both static IPs on the same subnet.

As per Goldilocks' smackdown, turns out the Pi can manage crossover... Connecting the Pi direct to my Win10 PC, enabling Allow other users to connect via this connection on WiFi allowed a newly flashed Jessie/Raspbian image to connect straight away so definitely doable. Can ping the Pi's IP and {hostname}.mshome.net from PC and the Pi can ping google. Can Putty back to the Pi (after enabling SSH). Both the Windows machine and the Pi configured themselves for 192.168.137.x - can only suggest you confirm they are on the same network.

0

Try with this way, it works for me https://www.youtube.com/watch?v=NUHRhNB67F4

Mauricio