Archive for Oktober, 2014
Ungarn plant Internetsteuer – 49 Cent pro Gigabyte
Montag, Oktober 27th, 2014Raspberry Pi – creating time lapse videos with mencoder
Sonntag, Oktober 26th, 2014To create a time-lapse video, you simply configure the Raspberry Pi to take a picture at a regular interval, such as every minute, then use an application to stitch the pictures together in a video
# apt-get install mencoder
# vi /usr/local/bin/stream/make_stream.sh
#!/bin/bash
DATE=$(date +“%Y-%m-%d_%H%M“)
cp /tmp/stream/pic.jpg /tmp/stream/$DATE.jpg
# crontab -e
* * * * * /usr/local/bin/stream/make_stream.sh 2>&1
# vi /usr/local/bin/stream/make_timplapse.sh
#!/bin/bash
cd /tmp/stream/
DATE=$(date +“%Y-%m-%d“)
ls $DATE*.jpg > stills.txt
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:aspect=16/9:vbitrate=8000000 -vf scale=1920:1080 -o timelapse.avi -mf type=jpeg:fps=24 mf://@stills.txt
Google’s Alan Eustace – beats Baumgartner’s Skydiving Record
Samstag, Oktober 25th, 2014Raspberry Pi – WLAN Router installieren
Samstag, Oktober 25th, 2014Access Point, Hot-Spot bzw. WLAN Router mit einem Raspberry Pi
# apt-get update
# apt-get upgrade
# apt-get install hostapd udhcpd
# nano /etc/udhcpd.conf
start 192.168.2.20
end 192.168.2.200
interface wlan0
remaining yes
opt dns 8.8.8.8 8.8.4.4
opt subnet 255.255.255.0
opt lease 864000
# nano /etc/default/udhcpd
# DHCPD_ENABLED=“no“
# nano /etc/network/interfaces
# allow-hotplug wlan0
# wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
# iface default inet manual
iface wlan0 inet static
address 192.168.2.1
netmask 255.255.255.0
# nano /etc/hostapd/hostapd.conf
interface=wlan0
driver=nl80211
ssid=<ssid>
hw_mode=g
channel=9
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=3
wpa_passphrase=<ssid-key>
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
ieee80211n=1
# nano /etc/default/hostapd
DAEMON_CONF=“/etc/hostapd/hostapd.conf“
# nano /etc/sysctl.conf
net.ipv4.ip_forward=1
# iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
# iptables -A FORWARD -i eth0 -o wlan0 -m state –state RELATED,ESTABLISHED -j ACCEPT
# iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT
# sh -c „iptables-save > /etc/iptables.ipv4.nat“
# nano /etc/network/interfaces
up iptables-restore < /etc/iptables.ipv4.nat
# update-rc.d hostapd enable
# update-rc.d udhcpd enable
# hostapd /etc/hostapd/hostapd.conf
Banana Pi IP Camera BPI-D1 – a built-in HD mini camera
Samstag, Oktober 25th, 2014Krankenhaus Agatharied – IT-Sicherheitskonferenz
Samstag, Oktober 25th, 2014Garmisch-Partenkirchen Riessersee – online webcam
Samstag, Oktober 25th, 2014