Author Topic: Raspberry Pi 3 remote usb webcam - help!  (Read 737 times)

Offline ssfc72

  • Posting Member
  • Hero Member
  • *
  • Posts: 880
  • Karma: +0/-0
    • View Profile
Raspberry Pi 3 remote usb webcam - help!
« on: November 25, 2017, 09:07:02 pm »
OK, I am trying to use my RPi with a usb webcam attached and view the webcam video output via wifi, on a local network computer monitor.

The following tutorial is what I am following.
http://www.instructables.com/id/How-to-Make-Raspberry-Pi-Webcam-Server-and-Stream-/

I am stuck at using Putty on my Windows 10 notebook. Putty complains of a network error when I type in the IP address of the RPi. Putty should connect to the RPi, running Raspbian, and after putting in the Pi's user name and password, I should get connected to the Pi, but I can't get that far.

In Putty, along with putting in the RPi IP address, the default Port is 22.
I am wondering if the port number is not the correct one??

I have been unable to figure out how to find which port my RPi is using.

Anyone there who can see what I am doing wrong?

Note - I have the RPi wireless connected to my Local network and Raspbian (Jessie, I believe) can connect to the internet using its Browser.
Note 2 - The software program used for capturing movement in the video, from a webcam/ip camera etc, is called Motion.  It appears to work quite well.

« Last Edit: November 29, 2017, 04:22:26 am by ssfc72 »
Mint 18.3 on an HP Pavilion X360, 11" k120ca notebook
Tried Mint 19, but too many bugs. Went back to Mint 18.3
Cellphone ZTE Axon 7 Mini, PCMobile pay as you go

Offline Jason Wallwork

  • Administrator
  • Hero Member
  • *****
  • Posts: 1808
  • Karma: +5/-0
    • View Profile
Re: Raspberry Pi 3 remote usb webcam - help!
« Reply #1 on: November 25, 2017, 10:53:10 pm »
Are you able to login via SSH locally? That is, can you hook up a monitor and keyboard to the RPi and run this command successfully on it?

Code: [Select]
ssh localhost
It should ask for your password and enter it so you can log in. Type exit to disconnect from the local server.

That will confirm that the ssh server is running correctly. And yes, that is the correct port number.

Also, make sure (after doing the above check) that RPI isn't running a firewall of some sort. If so, you either have to turn it off or set to allow incoming connections to port 22.

Primary: Desktop w/ Win10Pro/OpenSUSE Leap  on i5-3.2 GHz w/ 12 GB RAM, 480 GB SSD boot & 2x2 TB RAID 10 array for extra storage

Secondary/Test: Toshiba Satellite Ultrabook Z830-00K w/ Win10/Kali Linux 2019.2  (i3-1.4 GHz, 4GB RAM, 128GB SDD)

Phone: Sony Xperia XA1 Ultra w/ Android Oreo 8.0

Offline ssfc72

  • Posting Member
  • Hero Member
  • *
  • Posts: 880
  • Karma: +0/-0
    • View Profile
Re: Raspberry Pi 3 remote usb webcam - help!
« Reply #2 on: November 26, 2017, 04:46:37 pm »
Thanks Jason!  I can now ssh into my RPi. :-)

In Raspbian, there was a menu of Services that could be toggled on or off.  The SSH was defaulted to Off, so I toggled it on and then I was able to SSH, using Putty, from my Win 10 notebook.

Now I can try and install the Motion software, on Raspbian, so that the usb webcam will stream the video and I can view it on my Win 10 notebook.
Mint 18.3 on an HP Pavilion X360, 11" k120ca notebook
Tried Mint 19, but too many bugs. Went back to Mint 18.3
Cellphone ZTE Axon 7 Mini, PCMobile pay as you go

Offline Jason Wallwork

  • Administrator
  • Hero Member
  • *****
  • Posts: 1808
  • Karma: +5/-0
    • View Profile
Re: Raspberry Pi 3 remote usb webcam - help!
« Reply #3 on: November 26, 2017, 06:50:23 pm »
Good job on getting it working.
Primary: Desktop w/ Win10Pro/OpenSUSE Leap  on i5-3.2 GHz w/ 12 GB RAM, 480 GB SSD boot & 2x2 TB RAID 10 array for extra storage

Secondary/Test: Toshiba Satellite Ultrabook Z830-00K w/ Win10/Kali Linux 2019.2  (i3-1.4 GHz, 4GB RAM, 128GB SDD)

Phone: Sony Xperia XA1 Ultra w/ Android Oreo 8.0

Offline ssfc72

  • Posting Member
  • Hero Member
  • *
  • Posts: 880
  • Karma: +0/-0
    • View Profile
Re: Raspberry Pi 3 remote usb webcam - help!
« Reply #4 on: November 29, 2017, 04:25:42 am »
During the install of the video movement capturing program, Motion, I got a few command line complaints.
However, when I used my browser to view the video from the webcam, everything worked fine.
« Last Edit: March 26, 2018, 05:12:48 pm by ssfc72 »
Mint 18.3 on an HP Pavilion X360, 11" k120ca notebook
Tried Mint 19, but too many bugs. Went back to Mint 18.3
Cellphone ZTE Axon 7 Mini, PCMobile pay as you go

Offline Jason Wallwork

  • Administrator
  • Hero Member
  • *****
  • Posts: 1808
  • Karma: +5/-0
    • View Profile
Re: Raspberry Pi 3 remote usb webcam - help!
« Reply #5 on: April 19, 2018, 09:54:38 pm »
Did you recall if they were listed as WARNING or ERROR beside the messages, usually in all-caps? WARNINGs are often just about deprecated code that still works but the warning is given because upcoming versions of the libraries or built-in functions in the future might not support the code. That's more for the developers to worry about. If it's an ERROR, that could be an actual problem. In other words, if it works, don't worry about :-)
Primary: Desktop w/ Win10Pro/OpenSUSE Leap  on i5-3.2 GHz w/ 12 GB RAM, 480 GB SSD boot & 2x2 TB RAID 10 array for extra storage

Secondary/Test: Toshiba Satellite Ultrabook Z830-00K w/ Win10/Kali Linux 2019.2  (i3-1.4 GHz, 4GB RAM, 128GB SDD)

Phone: Sony Xperia XA1 Ultra w/ Android Oreo 8.0