DenRaf's Blog

  • Contact

Contact
View Raf Nijskens's profile on LinkedIn
OpenSource
Linux
Powered by Drupal, an open source content management system
Get Firefox
Fosdem
Visit Inuits Technical home

Locations of visitors to this page

Tags in TagCloud

5 6 ADP1 Android apache automaticmenu caching cardreader cats Centos closed source cron Debian dell Dell R200 deploy Dream driver drupal drupalcron eclair Fosdem funambol mysql node_page O2Micro old openfire OpenID OSD otrs password trigger password_trigger plutado Ports presentation recover response header rpm script svn sync syncml tagadelic taxonomy terminal logging theme ubuntu update upgrade user filter user_import virt-manager wordpress wordpress 2.3 wp2drupal xmlsitemap zabbix zimbra Zimbra LDAP
more tags

OSD2010: Day 2

Submitted by DenRaf on Mon, 03/08/2010 - 09:09
  • [View]

Day 2 at the conference was much more interesting then day 1, cause it the talks way more technical.

Only on the lego talk I had some comments: java on embedded devices --> WTF.

Sejo had some issues with his server while doing his presentation on djagios, but nevertheless it was like the best talk I saw.

For both lunch and dinner we ended up in Haiku sushi which was VERY good. For dinner we took a bunch of people with us, cause the lunch was so good. So if you're in Copenhagen and like sushi, that's the place to be!

  • DenRaf's blog
  • Add new comment
Tags:
  • OSD

OSD2010: Day 1

Submitted by DenRaf on Sat, 03/06/2010 - 09:42
  • [View]

I have to say we didn't see that much talks at day 1. First of all day 1 is the commercial day and second we had some things to do.

As we, Sejo and I, are now members of the exherbo infra team, we had to introduce us to all exherbo people here and start our contribution to it.
So we ended up in the cafeteria ( best place for wifi access ) setting up some virtual machines for the infrastructure we want to setup and debugging some issues with bind for delegated subdomains.

The only talk we did see, was the nokia talk about QT. After that one we left with a bunch of guys to eat something downtown. We called it a day after some more drinks in the hotel with a few people of the dinner.

  • DenRaf's blog
  • Add new comment
Tags:
  • OSD

OSD2010: Pre notes

Submitted by DenRaf on Fri, 03/05/2010 - 12:01
  • [View]

Because of the injury of my colleague Sejo I had to go with him to OpenSourceDays. One of the Exhebo developers, Ingmar, joined us.

As Sejo doesn't like to take a plane, we drove all the way up here. After some detour and two border controls we arrived at Copenhagen after a 13 hour drive. ( Me likes! ) Was a very nice roadtrip!

We did meetup with some people of the organisation and after checking it at the very fine hotel ( A big thanks to the OpenSourceDays organisation ) we went out to dinner. ( First food of the day ). After that we called it a day.

  • DenRaf's blog
  • Add new comment
Tags:
  • OSD

Howto: Android 2.1 on G1/ADP1/Dream

Submitted by DenRaf on Sun, 02/14/2010 - 16:17
  • [View]

This is a short howto for installing an Android 2.1 rom (e.g. OpenEclair) on the HTC G1/ADP1/Dream.

First of all you the Amon Ra recovery tool.
A howto on installing this can be found here

Notice: To be able to continue this howto you need at least amon ra 1.3.2.
I used the recovery-RA-dream-v1.5.2.img. You can find more information on the xda-forum

Then you need to format your SD card. ( Backup your SD card to your computer as you will format your SD! )
A video howto can be found here

But here you have the written one:

  • Boot in to recovery mode ( HOME + END )
  • Select "Partition SDcard"
  • Select "Partition SD"
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
    • Then you will be able to select the swap-size. Use the trackball to change.
      Select the preferred value ( I selected 128MB ) and hit HOME.
    • Then you will be able to select the ext2-size. Use the trackball to change.
      Select the preferred value ( I selected 640MB ) and hit HOME.
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
      Now the formatting starts and will show you some progress - dots.
  • Select "SD: ext2 to ext3"
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
      Now the convertion starts and will show you some progress - dots.
  • Select "SD: ext3 to ext4"
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
      Now the convertion starts and will show you some progress - dots.
  • Hit BACK
  • Select "Go to console"
    • Hit Enter
    • Type "reboot recovery" and hit Enter
      This will reboot your device directly in recovery mode.

Now you can start the installation of your new Android 2.1 rom. Here I will use the OpenEclair 1.2.1.

A video howto can be found here

On your PC

Get all files you need:

  • Latest radio image: ota-radio-2_22_19_26I.zip
  • Danger/Death SPL: spl-signed.zip
  • Android 2.1 based rom: OpenEclair-v1.2.1.zip

Connect your phone to your computer.

On your phone

  • Select "USB-MS toggle"
    This will mount your SD card to your computer.

On your PC

  • Put all 3 files you just downloaded on the root of your SD card.
  • Unmount/eject the SD card.

On your phone

  • Hit HOME.
  • Select "Wipe"
  • Select "Wipe data/factory reset"
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
  • Hit BACK
  • Select "Flash zip from sdcard"
  • Select "ota-radio-2_22_19_26I.zip"
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
    • It will ask you to reboot by pressing HOME + BACK. ( So hit HOME + BACK )
      This will reboot your phone and will bring you back to the recovery mode.
  • Select "Wipe"
  • Select "Wipe data/factory reset"
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
  • Hit BACK
  • Select "Flash zip from sdcard"
  • Select "spl-signed.zip"
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
    • It will ask you to reboot by pressing HOME + BACK. ( So hit HOME + BACK )
      This will reboot your phone and will bring you back to the recovery mode.
  • Select "Wipe"
  • Select "Wipe data/factory reset"
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
  • Hit BACK
  • Select "Flash zip from sdcard"
  • Select "OpenEclair-v1.2.1.zip"
    • It will ask you to confirm by pressing HOME. ( So hit HOME )
    • It will ask you to reboot by pressing HOME + BACK. ( So hit HOME + BACK )
      This will reboot your phone and will bring you back to the recovery mode.
  • Tab the android.
  • Select "Skip"
  • Select "Skip"
  • Select "Next"

You're now at the home screen of your new image. If want to setup your google account, do this by the marker.

P.S: Try this at own risk. It is possible that you brick your phone!

  • DenRaf's blog
  • 22 comments
Tags:
  • ADP1
  • Android
  • Dream
  • eclair
  • G1

Updated look

Submitted by DenRaf on Sun, 02/14/2010 - 13:23
  • [View]

Since the first day of my blog running on drupal I always used the garland layout and now time has come to finally change that.

After seeing the fervens theme at my colleagues Lefred blog and the display suite demo site, I liked it that much that I'm also using it now.

  • DenRaf's blog
  • 1 comment
Tags:
  • drupal
  • drupal

Zimbra monitoring with zabbix

Submitted by DenRaf on Fri, 12/04/2009 - 17:37
  • [View]

At our company we run zimbra as our collaboration tool and we use zabbix as our monitoring solution. Almost every service we have is monitored nicely, but unfortunately our zimbra was not. Because zimbra exists out of several services you want to know the status of every service. For that I wrote a little script.

First of all the zabbix agent configuration:


UserParameter=zimbra.clamav,/etc/zabbix/check_zimbra.sh antivirus
UserParameter=zimbra.spam,/etc/zabbix/check_zimbra.sh antispam
UserParameter=zimbra.logger,/etc/zabbix/check_zimbra.sh logger
UserParameter=zimbra.mailbox,/etc/zabbix/check_zimbra.sh mailbox
UserParameter=zimbra.mta,/etc/zabbix/check_zimbra.sh mta
UserParameter=zimbra.snmp,/etc/zabbix/check_zimbra.sh snmp
UserParameter=zimbra.spell,/etc/zabbix/check_zimbra.sh spell
UserParameter=zimbra.stats,/etc/zabbix/check_zimbra.sh stats

This use the custom check_zimbra:

#!/bin/bash

check=$1
maxage=30
file='/tmp/zimbra_status'

#check if file exists
if [[ -e $file ]]
then
OLD=`stat -c %Z $file`
NOW=`date +%s`

export PATH=$PATH:/opt/zimbra/bin
# if older then maxage, update file
if [[ `expr $NOW - $OLD` -gt $maxage ]]
then
sudo -u zimbra zmcontrol status > $file
fi

else

export PATH=$PATH:/opt/zimbra/bin
sudo -u zimbra zmcontrol status > $file
fi

AVSTATUS=`cat $file |grep $check|awk '{ print $2 }'`

if [[ $AVSTATUS != "Running" ]]; then
echo 0
fi

echo 1

As you can see we store the output of the slow zmcontrol in a file for a configurable amount of time. This way you can cache that output and win some time.
For this to run you need to add the next rule to the /etc/sudoers file:


zabbix ALL=(zimbra) NOPASSWD:/opt/zimbra/bin/zmcontrol

  • DenRaf's blog
  • 3 comments
Tags:
  • SysAdmin
  • zabbix
  • zimbra

New module: Node Page Template

Submitted by DenRaf on Thu, 09/03/2009 - 20:44
  • [View]

Last Monday I released a first version of Node Page Template.
This little module makes it possible to configure a page template per content type and per node. It also makes a node template suggestions based upon that page template.

Default theme function makes an Node template suggestion per content type and per node, and this adds a Page template suggestion. When 'Default' is selected, there is no additional suggestion.

More information can be found at http://drupal.org/project/node_page

Happy theming.

  • DenRaf's blog
  • 15 comments
Tags:
  • drupal
  • drupal
  • module
  • node_page

AutomaticMenu module for drupal 6

Submitted by DenRaf on Thu, 09/03/2009 - 20:39
  • [View]

Last Monday I released a patch for AutomaticMenu to make it Drupal 6 compatible. While I was at it, I included i18n support, with the possibility to select a different parent menu item per language per content type. I use it at a customers site and no problems reported so far. You can find more information about the patch and the port in total at http://drupal.org/node/275889

  • DenRaf's blog
  • 1 comment
Tags:
  • drupal
  • automaticmenu
  • drupal
  • Ports

Drupal synchronisation

Submitted by DenRaf on Fri, 06/12/2009 - 11:09
  • [View]

Everybody knows de difficulties of managing content when using staging for his website. To tackle that problem I started writing my own sync module and when I created a project page for it on drupal.org, one of the first issues created was stating that the Deploy module was practically the same thing. After checking out the deployment module myself I had to agree with that.

Since I discussed this issue up front with a lot of people and no one even mentioned this module it is clear that this really wanted module is just unknown.

So spread the word and start testing the deploy module.


The deployment framework is a series of modules which are designed to allow developers to easily stage Drupal data from one site to another. This includes content (nodes, taxonomy, users, etc) as well as configuration (views, content types, system settings, etc.) Not only can it push new content, it can also push updates to existing content. Deploy automatically manages dependencies between nodes (IE nodereferences) as well as between other objects. It is designed to have a rich API which can be easily extended to be used in a variety of situations. Check out the screencast for a demo!

  • DenRaf's blog
  • 2 comments
Tags:
  • drupal
  • deploy
  • drupal
  • sync

Imagefield_gallery module for drupal 6

Submitted by DenRaf on Thu, 06/11/2009 - 21:46
  • [View]

I was creating a new website for a customer and I thought imagefield_gallery would be a nice to have. Since the module didn't have a drupal 6 version, I ported the module to D6. Today I released the patch at http://drupal.org/node/299122#comment-1691890

Please test and comment.

  • DenRaf's blog
  • Add new comment
Tags:
  • drupal
  • drupal
  • imagefield_gallery
  • Ports
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • next ›
  • last »
Syndicate content

Guided search

Click a term to initiate a search.

Categories

  • drupal (26)
  • Linux (6)
  • SysAdmin (6)
  • Uncategorized (5)
  • Linux-tools (3)

Date authored

  • 2010 (5)
  • 2009 (10)
  • 2008 (27)
  • 2007 (11)

TagCloud

  • drupal (26)
  • Ports (7)
  • cron (6)
  • drupalcron (6)
  • 6 (3)
  • OSD (3)
  • zimbra (3)
  • cats (2)
  • Fosdem (2)
  • funambol (2)
  • more...

Recent blog posts

  • OSD2010: Day 2
  • OSD2010: Day 1
  • OSD2010: Pre notes
  • Howto: Android 2.1 on G1/ADP1/Dream
  • Updated look
  • Zimbra monitoring with zabbix
  • New module: Node Page Template
  • AutomaticMenu module for drupal 6
  • Drupal synchronisation
  • Imagefield_gallery module for drupal 6
more

Recent comments

  • Please help me
    3 weeks 1 day ago
  • This is so dumb
    4 weeks 16 hours ago
  • I've installed it on my
    6 weeks 6 days ago
  • I am also having the same
    8 weeks 5 days ago
  • No Video
    9 weeks 3 days ago
  • Good, just finished the
    10 weeks 4 days ago
  • Screenshot Item Trigger
    10 weeks 6 days ago
  • You don't need 2 because
    15 weeks 5 days ago
  • Oracle plugin
    15 weeks 6 days ago
  • Thanks much for providing
    16 weeks 2 days ago

Syndicate

Syndicate content
I love Smashing Magazine!
Fervens Drupal theme by Leow Kah Thong. Designed by Design Disease and brought to you by Smashing Magazine.