How to access device over Internet

From RidgeRun Developer Wiki
Revision as of 17:03, 21 January 2012 by Tfischer (talk | contribs) (Created page with '= Introduction = At the early stages of product development there is often not enough prototype product hardware to go around. One of the wonderful things about using embedded ...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

At the early stages of product development there is often not enough prototype product hardware to go around. One of the wonderful things about using embedded Linux is many people can access the device at the same time.

In my office I use a Linux firewall running dnsmasq and iptables. To allow others to access the prototype product hardware I give the device a fixed MAC address in uboot, assigned a fixed IP address to that MAC address, and punch a hole in the firewall to allow incoming telnet connections using NAT.

Fixed Ethernet MAC address in uboot =

I added ethaddr to the uboot environment variable in both the attached_board and sd_card installer default uboot environment file.

echo "ethaddr=00:04:a3:2e:18:15" >> $DEVDIR/installer/u-boot-installer/methods/attached_board/installer_uEnv.txt
echo "ethaddr=00:04:a3:2e:18:15" >> $DEVDIR/installer/u-boot-installer/methods/sd_card/installer_uEnv.txt