Παρασκευή 17 Αυγούστου 2012

/etc/apt/sources.list -- Lenny

Now that Lenny has been archived, you will need to update your /etc/apt/sources.list file. It should now look like this:

CODE: SELECT ALL
deb http://archive.debian.org/debian lenny main
deb http://archive.debian.org/debian-security lenny/updates main
deb http://archive.debian.org/debian-volatile lenny/volatile main
deb http://archive.debian.org/backports.org lenny-backports main

That'll keep you going for a few more years! . 


My Little Raspberry Pi

I just received my tiny Raspberry Pi (http://www.raspberrypi.org/). An ARM/Linux box for embedded linux projects for just 25$. Some projects to work on:



The Raspberry Pi® is a single-board computer developed in the UK by the Raspberry Pi Foundation with the intention of stimulating the teaching of basic computer science in schools. The design is based on a Broadcom BCM2835 system on a chip (SoC), which includes an ARM1176JZF-S 700 MHz processor, VideoCore IV GPU, and 256 megabytes of RAM. The design does not include a built-in hard disk or solid-state drive, instead relying on an SD card for booting and long-term storage. The Foundation plans to support Fedora Linux as the initial system software package/distribution, with support for Debian and Arch Linux as well -Wikipedia.

Σάββατο 4 Αυγούστου 2012

Debian - Free up some disk space

Just recently, I ran out of disk space and the lcd panel stopped working. The OWWUPDATE couldn't be updated and it was always null. How do you avoid this problem? 

clean up log files
rm /var/log/*.gz
rm /var/log/*.old
rm /var/log/*.1
rm /var/log/*.2


clear the apt-get cache. The apt's cache is never cleaned out. Apt caches all the .deb files and that can quickly eat your disc space. To clear it:

apt-get clean

Σάββατο 24 Σεπτεμβρίου 2011

SIOCDELRT: No such process - SOLVED

first off you need to edit your /etc/hosts file * use vi

Code:
vi /etc/hosts
add your ip address and your name at line three

Code:
127.0.0.1    localhost    linux
#127.0.1.1    linux.WorkGroup    linux
192.168.20.20    voyage # <------ add your ip and name 


then restart your network and the error is fixed, the edited /etc/host file is also need for the static changes you made

Σάββατο 2 Απριλίου 2011

Dashware

An example of Integration of GoPro Video with GPS data using DashWare.

http://www.youtube.com/watch?v=Nncw0KdZYgQ

Enhanced by Zemanta

Πέμπτη 6 Ιανουαρίου 2011

Hobby Boards - Humidity Sensor

Added the Hobby Boards Hummidity sensor at the meteo station in Marathon.

http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IATTICAM2

Δευτέρα 3 Ιανουαρίου 2011

InternetProxyOnAlixBoard

#!/bin/sh
echo "Setting up IPTABLES proxy..."
#
# enabling IP forwarding...
#
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
#
# Flushing packet filtering rules
#
iptables -t filter -F INPUT
iptables -t filter -F OUTPUT
iptables -t filter -F FORWARD
iptables -t nat -F
#
# Setting up default policies
#
iptables -t filter -P INPUT ACCEPT
iptables -t filter -P OUTPUT ACCEPT
iptables -t filter -P FORWARD DROP
iptables -t nat -P PREROUTING ACCEPT
iptables -t nat -P OUTPUT ACCEPT
iptables -t nat -P POSTROUTING ACCEPT
#
# Setting up NAT
#
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -t filter -A FORWARD -i ppp0 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -t filter -A FORWARD -i eth0 -o ppp0 -j ACCEPT

echo "proxy setup done."