NFS tutorial

From ElphelWiki
Revision as of 09:57, 5 April 2012 by Nikolardo (talk | contribs) (Created a page describing the basic use of NFS for recording onto the hard drive for people without external camera drives.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NFS

Camomgui is the recommended tool to use for recording video to a hard drive. However, users who opted for the base camera, without the SATA port, are unable to use this without following the following steps.

Also, recording with mencoder, vlc, or similar, from a stream, will NOT create sufficient metadata in JP4 (raw) shooting to allow movie2dng to function. When shooting in a raw format, in is necessary to use Camomgui.

Create the folder "nfs" in your root directory. If you are using the livecd (or have installed it) then said directory already exists.

Determine the IP address of your computer. If it is not connected to a network, it may not have one. In that case, set it:

sudo ifconfig eth0 192.168.2.1

Click on the connected camera's icon on the desktop. Go into the browser-based terminal. Enter the following commands:

mkdir /var/hdd mount -t nfs -o nolock,tcp 192.168.2.1:/nfs/ /var/hdd

where "192.168.2.1" is replaced by your IP address, if it is different.

Set whatever shooting parameters you wish, then record using camomgui. The resulting shots will appear in the /nfs directory on your hard drive.

SOMETIMES the browser-based terminal is unresponsive after entering the second command. In these circumstances, occasionally a reboot of the camera and/or computer is required. Occasionally /var/hdd will already exist. That's fine.