Getting SNMPD to work on Ubuntu

June 22nd, 2010 No comments

Setting up snmpd on ubuntu seems easy, but i never got it full working. It was working locally, but not for a cacti setup from another server. The problem was that the default install of snmpd on Ubuntu starts the demon on the loopback interface only, refusing connections from other computers.

Edit /etc/default/snmpd to fix that:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# This file controls the activity of snmpd and snmptrapd
 
# MIB directories.  /usr/share/snmp/mibs is the default, but
# including it here avoids some strange problems.
export MIBDIRS=/usr/share/snmp/mibs
 
# snmpd control (yes means start daemon).
SNMPDRUN=yes
 
# snmpd options (use syslog, close stdin/out/err).
#SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'
SNMPDOPTS='-Lsd -Lf /dev/null -u snmp -g snmp -I -smux -p /var/run/snmpd.pid'
 
# snmptrapd control (yes means start daemon).  As of net-snmp version
# 5.0, master agentx support must be enabled in snmpd before snmptrapd
# can be run.  See snmpd.conf(5) for how to do this.
TRAPDRUN=no
 
# snmptrapd options (use syslog).
TRAPDOPTS='-Lsd -p /var/run/snmptrapd.pid'
 
# create symlink on Debian legacy location to official RFC path
SNMPDCOMPAT=yes

that’s it. To restart the snmp server enter $ sudo /etc/init.d/snmpd restart

Categories: Sysadmin Tags: , , ,

Sonisphere 2010

June 19th, 2010 No comments
Metallica 1

Sonisphere Festival 2010 Jonschwil (CH) with Metallica, Megadeth, Slayer, Motörhead, Anthrax, Volbeat, Amon Amarth, … Read more…

Categories: Private Tags:

JVC GY-HM100E, Final Cut Pro and Card Media

April 29th, 2010 No comments

JVC released Version 1.0.3 of it’s Final Cut Pro Log and Transfer plugin, which can be found here: JVC_Plugin1_0_3.dmg.

Caution:

If you’ve already been using Sony’s Final Cut Pro Plugin for it’s EX1/EX3 Camcorders, you have to uninstall that first!

delete these files/folders:
/Library/Application Support/ProApps/MIO/RAD/Plugins/SonyXDCAM.RADPlug
/Library/Receipts/XDCAM EX Log and Transfer Plugin 1.0.pkg

to do that open Terminal and type these commands (enter your user’s password if asked – you have to be admin btw):

1
2
sudo rm -R /Library/Application\ Support/ProApps/MIO/RAD/Plugins/SonyXDCAM.RADPlug
sudo rm -R /Library/Receipts/XDCAM\ EX\ Log\ and\ Transfer\ Plugin\ 1.0.pkg

Then install JVC’s Plugin the normal way.

Categories: Video Tags: ,

Enable your webserver to feed iPhone with MP4 videos

March 23rd, 2010 No comments

I’m using iPhone OS 3.x on my iPhone and recently i had problems to get my .mp4 files displayed in mobile Safari. I tried different settings for encoding the files but not a single one worked. When i clicked the link to the .mp4 file in mobile Safari, all i got was the “file can’t get downloaded” error. After some googling i found a clue that it might has something to do with MIME types and the apache server hosting the videos.

Solution:

  1. encode your videos for iPhone / iPod Touch (Compressor, Quicktime, Adobe Media Encoder, …)
  2. test them on the device (add the video to your iTunes library and upload it to your iPhone and watch it!)
  3. upload the video to your webserver
  4. make sure you have the following line in your apache config or in a .htaccess file in your directory on your webserver:
?View Code APACHE
1
AddType video/mp4 mp4 mp4v mpg4 m4v

That’s it, now progressively watching .mp4 videos from your webserver on your iPhone should work (again).

Enable Time Machine Backup to network disc

March 10th, 2010 No comments

To enable Time Machine to use your network attached share type this in Terminal:

1
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Now you can select your network share in the Time Machine preferences:

Categories: Mac OS X Tags: , ,

Concert: Lamb of God

February 27th, 2010 1 comment

FotopassVolkshaus Zürich 26.02.2010

Read more…

Categories: Private Tags: ,

Using CentOS 5.4 as a Webserver

February 1st, 2010 No comments

The first troubles i ran into was SELinux. For the sake of securing your server, it’s a good idea to leave it enabled, but it’s a pain in the ass at the beginning. So start reading the SELinux Manual.

rpmforge package repository

A lot of useful tools can’t be found with the yum command, because these packages don’t reside in the default CentOS repositories. rpmforge is a third-party repository of thousands of rpm packages, but to use it, we need to install it first:

instructions on how to to that can be found here

After your Apache server is up and running, we want to add a statistic tool for your webserver’s log files:

awstats 6.x on CentOS 5.4

1
2
3
sudo yum install awstats
sudo yum install perl-Geo-IP
sudo yum install GeoIP-data
Categories: Sysadmin Tags:

(Deutsch) Unterlagen Workshop “Rechtradikalismus und neue Medien”

October 27th, 2009 No comments

Sorry, this entry is only available in Deutsch.

Categories: Uncategorized Tags: ,

Flash on the Beach 2009 – Notes

September 22nd, 2009 No comments

FOTB KeynoteSome notes i made during the presentations at Flash on the Beach 2009 (#fotb):

Bytelevel Workshop

by Lee Brimelow

Links:

getMicrophone()
ByteTrainer
http://www.bytearray.org/

number.toString(2); // displays the number with base 2

Chuck Freedman:

do some research on OSC and flash, email Chuck!

Cybernetic Art Revisited

by Dr. Woohoo

homepage: www.drwoohoo.com

links: OpenFrameworks

Epiphany

by Joel Gethin Lewis

homepage: www.joelgethinlewis.com

links:

OpenCV
OpenFrameworks
Box2D

Quick as a Flash

by Grant Skinner

Slides: http://www.gskinner.com/talks/quick/#1
Homepage: www.gskinner.com

optimizing and benchmarking Flash

things to learn:

  • unittesting with flash!
  • performance testing

NEVER MIND the Buffer! FMS Made Easy

by Lisa Larson-Kelley

homepage: www.flashconnections.com

steps inside a app:
1) connect to FMS
2) wait for conneciton + monitor
3) setup stream control

only one NC needed!

mpeg 4 video and fms: MP4:name.f4v
MP4: is the important stuff!!!

fms.ini most important parameters of the server (admin pass, license, …)

dynamic streaming using an SMIL file as the input defining different bandwith files with bitrates as parameter

DVR feature:

in Flash Media Live Encoder make sure “DVR Auto Record” is checked

it’s possible to do DVR without FMLE, but it’s hard to do

Live Encoder vs. Camera object in Player: FMLE better quality, because player has no h.264 encoding possibilities!

Pixel Blender

by Paul Burnette

Slides:
Blog: www.mad.com.au

Pixel Blender uses Pixel Blender Kernels and Pixel Blender Graphs

A Pixel Blender kernel gets compiled into a .pbj file, this has to be loaded into flash / embedded into flash.

In Flash the only allowed function is evaluatePixel!

Always use float datatype in PB! Send an 1.0 instead of 1 to PB.
Always send an array from Flash to PB: ["1.0"]

Pixel Blender Toolkit is the tool to use, but it’s hidden inside the Adobe folder in /Applications, so search for it!

?View Code ACTIONSCRIPT
1
2
[Embed("filename.pbj", mimeType= "....")]
var simpleFilter:Class;

For Audio processing use shader jobs!

Play with Vectors!

by Koen de Weggheleire

Slides:
Homepage: www.newmovieclip.com

Connecting the Dots

by Mario Klingemann

Homepage: www.quasimondo.com

Union and Megaphone

by Colin Moock

Homepage: www.moock.org/

Links:

www.unionplatform.com/
www.user1.net/

dentsu elevators

Union demos:

Union test platform
Multiuser Tenonion

MegaPhone

Jam Throwdown

Andre Michelle talking and showing audio DSP in Flash 10:

http://blog.andre-michelle.com/
Kling Klang Flash Audio DSP (link???)

Joa Ebert was livcoding a processing app in only 9:40 min!!!! fucking awesome and it worked!

Seeing Sound – Sound Visualization in Nature & Code

by Jared Ficklin

homepage: jaredficklin.com | www.frogdesign.com

links:

dataplot.zip
frogDB.zip

Awesome show, crazy guy :-)

Showed what is possible with sound and Flash 10, i loved the Crowd Star game and the autocrowd feature for playing sounds ;-) And it’s awesome what you can do with some propane, flames and sound -> analog sound visualisation rocks!

Space

by Joshua Davis

slides: http://bit.ly/Mm84J

homepage: www.joshuadavis.com

links:

www.flickr.com/photos/joshuadavis
twitter.com/JoshuaDavis
Facebook
hype
hype WIKI

Categories: Web Tags:

Flash on the Beach 2009 – Brighton, UK

September 21st, 2009 No comments

Brighton sunny day - 8Some pictures from Flash on the Beach, Brighton
Read more…

Categories: Web Tags: , ,