Ethernet networking

From edgertronic slow-motion video camera
Revision as of 10:40, 3 February 2017 by Tfischer (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Overview

There is a standard 10/100 Mbit/sec Ethernet jack on the back of the edgertronic high speed camera.


The camera has two Ethernet related LEDs.

LED location Ethernet LED Meaning
Back of camera on the Ethernet connector near power connector Network
link and activity
Off - no network connection
On - network connection
Blinking - network activity, packets being sent or received
Back of camera on the Ethernet connector near USB connector Network
10 or 100 Mbit/s
Off - 10 Mbit/s link
On - 100 Mbit/s link
back of edgertronic high speed camera with Ethernet labeled

Ethernet configuration

You have two Ethernet network configuration choices.

  • Internet networking - Connect your computer and the camera to your existing network infrastructure.
  • Stand alone networking - Connect a network cable between your laptop and the camera.

Internet networking - camera connected to existing network

Your PC should already be connected to the existing network and you should be able to browse the Internet.

Your existing network will assign an IP address to the camera. The camera creates a file on the big SD card with the IP address in the filename. After the system LED blinks red/blue, remove the big SD card, insert it into your PC and you will be able to read the IP address of the camera.

Once you know the camera's IP address, stick the SD card back in the camera and type the IP address into your brower's address bar.

Stand alone networking - laptop to camera networking

If you are using the camera in a location where it is inconvenient to connect to an existing network, you can simply connect a network cable between your laptop and the camera. The camera will detect there is no network infrastructure and configure itself accordingly. You will need to modify your laptop network settings so the laptop can communicate with the camera.

Your laptop needs to be configured to use IP address 10.11.12.1. If you are familiar with laptop network configuration, you can make the changes now or click on one of the following links for step-by-step instruction:

Once your laptop is configured, you can browse to the camera using the URL:

http://10.11.12.13

Changing the fixed IP address

For stand alone operations, the camera uses a default IP address:

10.11.12.13

Changing the fixed IP address is an experimental camera feature. If you make a mistake reset the camera to factory default values.

Software release 2.2 and newer

It is possible to change the camera's fixed IP address by saving a file named interfaces on the SD card and powering on the camera.  After the camera LED is solid green, remove the SD card and check the file named cam_pi_address to verify the interfaces file was correct.  For example, if you are changing the camera's IP address to 10.11.12.14, you should find the file cam_ip_address.10.11.12.14 on the SD card.

If you have two cameras, store the following contents into the interfaces file on the SD card on the second camera. It will have IP address 10.11.12.14.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.11.12.14
netmask 255.255.255.0
network 10.11.12.0
broadcast 10.11.12.255

If you have three cameras, store the following contents into the interfaces file on the SD card on the third camera. It will have IP address 10.11.12.15.

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.11.12.15
netmask 255.255.255.0
network 10.11.12.0
broadcast 10.11.12.255


If you can no longer interact with the camera, reset the camera to factory default values.


Software release 1.7 and older

It is possible to change the camera's fixed IP address. Unfortunately, changing the fixed IP address can not be made via the web interface or by storing a configuration file on the SD card. You need to feel comfortable with command line tools like telnet and the text editor vi. You also need to understand IP networking concepts such as the network mask. The change is stored in non-volatile memory so you only have to make the change once.

The camera runs Linux and uses the standard /etc/network/interfaces file. The default contents of the interfaces file contains:

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 10.11.12.13
netmask 255.255.255.0
network 10.11.12.0
broadcast 10.11.12.255

You adjust the eth0 settings to use a different fixed IP address. To make the change, you can telnet into the camera as user root (no password) and use the vi editor to modify the file.

On your computer, bring up a command or terminal window.

telnet 10.11.12.13 # or the DHCP IP address 
vi /etc/network/interfaces

Make your changes, double check everything is correct, and save your changes. Then you can activate your changes

ifconfig eth0 down ; ifconfig eth0 up

As soon as the camera takes down the eth0 interface, telnet will close. You should then be able to telnet back into the camera using the fixed IP address you configured. If you can no longer interact with the camera, reset the camera to factory default values.

Personal tools