Difference between revisions of "Eeebox"
From ElphelWiki
(Created page with "===Live-USB=== Boot and install the system ===Installation from the CVS=== Get [http://downloads.sourceforge.net/elphel/elphel353_80_install_from_cvs.sh.tar.gz elphel353_80_ins...") |
|||
Line 14: | Line 14: | ||
sudo kate rc.local | sudo kate rc.local | ||
add | add | ||
− | iptables -A POSTROUTING -t - | + | iptables -P FORWARD REJECT |
+ | iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT | ||
+ | iptables -A FORWARD -i eth0 -j ACCEPT | ||
+ | iptables -A POSTROUTING -t nat -i eth0 -j MASQUERADE |
Revision as of 12:19, 4 August 2011
Live-USB
Boot and install the system
Installation from the CVS
Get elphel353_80_install_from_cvs.sh open archive that contains the shell script and execute it. It is recommended that you create subdirectory in your home directory, i.e. "elphel_projects", move and execute elphel353_80_install_from_cvs.sh script there. Directory "distfiles" will be created there and used as a cache for software archives that will be downloaded during installation.
mkdir -p ~/elphel_projects; cd ~/elphel_projects wget "http://downloads.sourceforge.net/elphel/elphel353_80_install_from_cvs.sh.tar.gz" tar zxvf elphel353_80_install_from_cvs.sh.tar.gz ./elphel353_80_install_from_cvs.sh
IP forwarding (in case the camera wants to see the big world)
sudo kate rc.local
add
iptables -P FORWARD REJECT iptables -A FORWARD -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -i eth0 -j ACCEPT iptables -A POSTROUTING -t nat -i eth0 -j MASQUERADE