1

I try to connect my ps4 with my vpn connexion without using the computer. I install the vpn on a raspberry pi 2 and i connect my raspberry to internet by the ethernet connexion. I use the raspberry with SSH on my laptop. I also have an usb/ethernet shield and I want to plug this shield on my raspberry in order to share the ethernet connexion through usb/ethernet adaptor. Do you know how can i configure my usb/ethernet shield as output on my raspberry pi2 ? Thank you

2
  • I don't see a question here.
    – user10489
    Jul 24 at 14:14
  • Sorry, i edit my message and ask my question Jul 24 at 15:58
1

Ethernet shields are neither input or output, they are both. Generally they are used as a transceiver where data is sent and received by the same shield over the same cable. If you can open a web page with it, it is working just fine both sending and receiving. I believe your best solution is to purchase a small ethernet switch, they are only a few shekels and already debugged.

2
  • Thank you for your answer. I know that ethernet/usb shield are input or output. But is it not necessary to define the ethernet/usb shield as output on my raspberry like the same thing on windows for exemple ? Because if i use the ethernet port of my pi2 as input and i plug the ethernet shield on the usb, how do the pi2 know that usb port is output for sharing connexion? Jul 25 at 20:38
  • That would be software on the Pi and defined by the protocol you are using. For it to share it has to receive a request so somebody else knows it exists unless your protocol uses some form of broadcast.
    – Gil
    Jul 28 at 22:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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