This blog is NOFOLLOW Free!

The magic space of the IT find what you seek or get lost

4Feb/110

Quick Tip: Remove forced subtitle from mkv

Do you have ever created an mkv (perhaps with the great tool makemkv) and after playing it, you discovered that the subtitle is set on by default?

With the nice tool mkvpropedit you can simply change this. You can find this tool in the great MKVToolnix package which is avaiable for linux, Mac OsX and even Windows.

mkvpropedit file.mkv --edit track:s1 --set flag-default=0
Tagged as: No Comments
14Sep/106

Fix pygrub booting of debian squeeze

Debian Squeeze is now using grub2 as the default bootmanager. Because of this pygrub has some difficulties to boot the domU after installing it. Here are the things i found out, if you have more remarks, drop me a comment please.

14Sep/101

Direct mount xvda devices (or multi-partition isos)

Sometimes you will get in the need to directly mount an xvda device which is often used, if you (for example) install a debian virtual system in xen. Then this block device consists out of several partitions, which can not directly be used. But of course you can access the data of it, without the need of booting the guest os (domU).
This is the same if you get an iso or any other type block devices which uses multiple partion slices.

14Jan/100

Using independent clocks in xen domU (ntp)

Normally the xen domU´s are using the same clock as the dom0. But I had the problem, that there was a timeshift of 20 minutes on one of my hosts. I did not find out the reason for this, so I decided to simply setup ntp also on this.

To make this work you have to tell the kernel of the virtual machine to use its on clock. With this command you set the parameter online.

echo 1 > /proc/sys/xen/independent_wallclock

To make this also boot safe, you will have to add a sysctl code to your /etc/sysctl.conf

# Set independent wall clock time
xen.independent_wallclock=1

After that you can already use your own clock. For example you can now setup openntp on it, which will not work otherwise.

Tagged as: , No Comments
13Nov/091

Fix Firefox Java Plugin after Ubuntu 9.10 Upgrade

I had the problem, that my java plugin for firefox was no longer working after I had upgraded my Ubuntu from 9.04 to 9.10 (karmic). In the old version it was necessary to add some lines to the sources.list. In the new version of ubuntu this is no longer necessary to install java.

After I had found this out, I thought the solution could be easy: Simply reinstall it!

So first the uninstall:

9Jan/080

UIQ3 cell phone as modem via usb

I got my new Sony Ericsson P1i a few weeks ago. Because I hate it to use Windows I wanted to get it working as an usb modem under linux. In my case again under gentoo 😉 My cell phone provider in Germany is Eplus. So if you use this with an other provider you will have to change some values of course. The cell phone itself has SymbianOS on it. The version its called UIQ3. The instructions should work for all QUI3 phones, as far as I know. I used very much sites to get this together, so I beg your pardon that I forgot which that all was.

So first check if you have the need kernel options enabled:

31Dec/070

syscp with libnss-mysql

After installing a new rootserver with syscp, I decided to also install libnss-mysql support on the system. The advantage is, that it is easy to see which file belongs to which user. I hate to only see the uids and gids 😉

Because I use gentoo on the server, I emerged libnss-mysql. If you use an other distribution, you have to install it with your package mananger if it is avaiable. I used version 1.5 of it.

Now it was a bit tricky to find the right config for syscp for it. After a long search and many tries now it works good. Here are my configs: