0

I have raspberry pi zero connected to my wifi via my android phone's usb internet sharing, and pc connected to router via ethernet cable.

On raspberry I can connect to internet, ping router, even ping my pc, however I am unable to ping raspberry from my pc.

How to connect to my raspberry from pc?

closed as off-topic by joan, Steve Robillard, goldilocks Mar 29 '18 at 18:10

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be specific to the Raspberry Pi within the scope defined in the help center." – joan, Steve Robillard, goldilocks
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Not Pi specific. – joan Mar 29 '18 at 11:04
  • This is really a question about software on your phone; the brand of hardware of the connected device is irrelevant. android.stackexchange.com – goldilocks Mar 29 '18 at 18:10
0

This is NORMAL (at least on most OS, presumably including Android).

You can have EITHER ICS OR ssh etc access to the Pi, not BOTH.

It is not impossible to have both, but this requires additional software and complex configuration on the host system, and this is off-topic for this site. NOTHING you can do on the Pi is going to make it work.

0

I guess you have your raspberry pi zero connected to your android phone with USB-Tethering and your phone is connected through wifi to your router and the internet. So it is member of your local network and can see your pc. With this over tethering your pi can also get to the internet and to your pc. But USB-Tethering is a generic connection to the internet. It can also use your mobile phone connection to your phone provider without using wifi. So it is very likely that it has a NAT connection for security reasons. With this you can go out to the internet but not from internet to your phone. That is why your pc cannot reach your pi. To solve this you have to connect direct to your router with the pi e.g. with a USB to ethernet or USB to wifi dongle.

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