The Cam.ly is a busybox linux device with a filesystem. Here are some ways that you can customize your operating system.
First, you must find the IP address of your camera locally. On Linux, you can use nmap to scan your local subnet to see what IP addresses are connected. For example, if you are using a router as a gateway at 192.168.1.1, you could run the command:
nmap -sP 192.168.1.1/24 Starting Nmap 5.00 ( http://nmap.org ) at 2010-08-24 00:36 CDT Host 192.168.1.1 is up (0.0013s latency). Host 192.168.1.100 is up (0.00026s latency). Host 192.168.1.102 is up (0.100s latency). Host 192.168.1.103 is up (0.094s latency). Host 192.168.1.104 is up (0.095s latency). Host 192.168.1.144 is up (0.0015s latency). Nmap done: 256 IP addresses (6 hosts up) scanned in 3.24 seconds
Once you find out the IP address of the camera, you can telnet in. For example:
rhett@rhett-laptop:~$ telnet 192.168.1.144 Trying 192.168.1.144... Connected to 192.168.1.144. Escape character is '^]'. (none) login: root Password: BusyBox v1.1.2 (2008.07.18-08:25+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands. Welcome to HiLinux.
By default, you can log in with
You are able to change the root password on the camera at any time.
Once logged in, there are several ways to modify or add files to the filesystem.
1. Good ole’ vi
Yes, vi is installed on the the camera. feel free to edit any init or text-readable files that way.
2. wget is there also
Any files that are hosted on a web server can be sent to the camera using “wget”, which is also installed on the camera by default.
3. scp (ssh) clients
The cameras ship with dropbear and openssh clients on them. We recommend that you use openssh as your scp client like this:
/bin/openssh-scp user@host:/path/to/file /local/path
4. Mount NFS filesystem
First, you must prepare a NFS filesystem on a local computer. On an ubuntu machine, for example, you need to install the required packages:
apt-get install nfs-kernel-server
Make a path to use as an nfs filestore:
mkdir -p /srv/nfs
Next, add this line to your /etc/exports (sudo nano /etc/exports):
Start the NFS server:
Telnet into the camera:
telnet ip_address_of_camera (enter root login and password)
Create a mount point on the camera
Mount the NFS filesystem from the linux server:
busybox mount <linux-server-ip-address>:/srv/nfs -t nfs -o nolock /mnt/mountpoint
You should now be able to share files between your Camly camera and any computer with access to the nfs filesystem you created.