motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.87k stars 902 forks source link

Connecting MotionEyeOS camera to Network Share #1742

Open Nilocsemliw opened 5 years ago

Nilocsemliw commented 5 years ago

I know that many people have had issues with connecting file storage network shares, but I have not found one using a Network share on a Netgear Nighthawk Router. On the Netgear Genie Operating system, it has a tab called ReadySHARE and I have set up an external hard drive with the folder that I would like videos to be uploaded to. I have access to the folders on all the devices on my network but do not understand the settings to link it to the motion eye. The IP adress for the network share should be the same as the router at 192.168.1.1 but I can't figure it out. The share doesnt have have a password. Thank you in advance for any help! motioneyeos readyshare ready share folder location

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue.

I confirm that I have read the FAQ before opening this issue.

motionEyeOS Version

I am running motionEyeOS version: motionEyeOS 20181209

Board Model

Raspberry PI 3B+

Camera

MMAL Raspberry Pi Camera

Network Connection

WiFi

Peripherals

Nothing

Log Files

I consider the following log files relevant to this issue: motioneye.log boot.log

MCSTN commented 5 years ago

Just thinking.... Could be that the necessary open ports SMB and CIF are blocked by your router

135 | TCP UDP | RPC 137 | TCP UDP | NetBIOS Name Service (nbname) 138 | UDP | NetBIOS Datagram Service (nbdatagram) 139 | TCP | NetBIOS Session Service (nbsession) 445 | TCP UDP | Shared folders

Also be aware that SMB sharing on linux with windows as client is a complicated thing because of auth protocol used on both sides even when no password is set...

In the followings tutorial have a look at section 6. Configuring File Storage For the RPi Zero https://randomnerdtutorials.com/cctv-raspberry-pi-based-system-storage-motioneyeos/