Networking - showmewebcam/showmewebcam GitHub Wiki

Enable networking

Networking requires a future version of Showmewebcam that is not currently available. Please stay tuned. We'll change this page whenever the feature is merged.

The networking interface is quite a bit more convenient compared to the serial debug interface, because it provides the much-loved SSH protocol with SCP.

On Linux and Mac

  • Place a file named enable-usb-network in the /boot partition.

  • You need to set up a link-local IPv4 address for the host computer.

  • If you use Linux, also remember to install avahi.

  • You should be able to SSH to the Pi by issuing this command ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected].

  • Alternatively, add this entry to your ~/.ssh/config, then you'll be able to do ssh pwc:

Host pwc
    HostName piwebcam.local
    User root
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null

On Windows

  • Due to some interaction of showmewebcam with Windows that we do not yet understand, you need to disable the webcam functionality for the networking to work. Place a file named disable-webcam in the /boot partition.

  • Place a file named enable-usb-network that has only the word RNDIS in the /boot partition.

  • You should see a RNDIS device under "Other devices" with a exclamation mark (!) in Device Manager. Click Update driver > "Let me pick" > Network adapters > Microsoft > Remote NDIS Compatible Device. Say "Yes" to the warning prompt.

  • You should be able to SSH to the Pi by issuing this command ssh -o StrictHostKeyChecking=no [email protected] on the command prompt.