Making service survives reboot on Ubuntu

Posted on: Mon, 03/23/2009 - 20:15 By: dae
Tags

This might seems trivial to many people. However, I don't really know how to have some of my SysV init scripts being executed every time a machine restart. For Fedora, this is very simple using chkconfig. However, I don't know what is its equivalence on Ubuntu.

Googling around and I found that the command is actually update-rc.d. A default modus operandi is

update-rc.d foobar defaults

where foobar is my init script. This will place links to /etc/init.d/foobar on appropriate run levels.

Cheap earpiece

Posted on: Mon, 02/16/2009 - 08:26 By: dae
Tags

A few months ago, I bought an earpiece of the brand TDK, discounted @400 baht. The sound is good but I don't know whether it worth THB400. Anyway, last week I went to Pantip and saw an earpiece of the price THB69. Obviously I grabbed it and the result is that it is damn terrible. Seems like the TDK is a good deal for me.

The funniest point is that I was not satisfied with the TDK until I bought that THB69. Human, imperfect...

Thai LaTeX on MikTeX 2.7

Posted on: Mon, 02/02/2009 - 17:10 By: dae
Tags

I haven't write any paper since about last 6 months. That covers the period when I changed my PC. That's a good time to update my MikTeX installation. Now, with MikTeX 2.7 in hand, I can review again the process of installing Thai language support.

-- side note -- You can look at my detailed previous entry here. There contains the information to install Thai language in MikTeX 2.6 and 2.5. The process is very similar to that of 2.7 -- end side note --

OpenVPN with UFW

Posted on: Tue, 01/13/2009 - 13:05 By: dae
Tags

I feel very shameful to admit that, for past several months, I left my server being wide open. She didn't receive any protection from any local firewall. Of course, the IT depts. of my university and my faculty have done great jobs in implementing the firewall. These protect me from outside threat but my server still sit idly feeling clueless of any person who has a chance to plug into university network. That's why I was trying to enable firewall on my server.

NTFS SAMBA on Fedora 10

Posted on: Fri, 12/12/2008 - 22:58 By: dae
Tags

Just tried the new Fedora 10 on my PC. The problem is that I want to export all my NTFS drives on F10 via Samba, so that any machine can still access my file even though I am not on Windows. NTFS-3G works quite well and setting up Samba is no longer a problem. Of course, firewall must be adjusted to allow samba protocol. Firestarter is a nice application for the simple thing such as allowing a specific port, a feat that actually requires several rules in iptables config to efficiently permit the protocol.

Subscribe to