Oscit on elphel

From ElphelWiki
Revision as of 04:08, 18 May 2009 by Gaspard (talk | contribs) (Preparing sources)
Jump to: navigation, search

Network setup

The first step is to plug the camera on the network and make sure it is powered and has a decent IP.

3COM POE.png

The easiest way to get started is to connect the computer to the camera (without passing by any switch or router) so that you can manually set your IP to match the camera's default:

My laptop ip:

IP:   192.168.0.10
mask: 255.255.0.0

Camera default ip:

192.168.0.9

If you are like me and changed the IP of the camera but forgot the value, you can use an ip scan tool like Angry IP scanner.

Once you can connect to the camera using it's default IP, you might want to change it (from the web browser). My network is based on 10.0.0.x addresses, so I changed the camera's IP to

IP:   10.0.0.99
mask: 255.255.255.0

The IP of the virtual machine (bridged) running Ubuntu is:

IP: 10.0.0.41

Preparing sources

I created a VM machine that runs Ubuntu and followed the steps described in the article Elphel Software Kit for Ubuntu. What I did:

1. I set my sources list to multiverse
2. installed the minimal set of packages
3. installed Cris-GCC
3.1 changed gcc version for 4.2 (fixing files did not work)
 aptitude remove gcc
 aptitude remove g++
 aptitude install gcc-4.2
 aptitude install g++-4.2
 ... see main page for instructions on how to install Cris-GCC
 ... if you have problems, you may need to read this cris howto.
 ... I finally installed using the binary: cris-dist_1.64-1_i386.deb.
4. configure nfs. /etc/exports content:
 /nfs  192.168.0.0/255.255.0.0(rw,sync,no_root_squash)
 /nfs  10.0.0.0/255.255.0.0(rw,sync,no_root_squash)
5. installed sources for elphel cameras in ~/git/elphel