Monthly Archives: January 2014

Easy Debian DVD

If you think you can play dvd on plain Debian just by inserting dvd in the tray, you are wrong. But fortunately we can install needed library easily. I did the steps described on this page.

1. Add these two line into “/etc/apt/source.list”.

deb http://download.videolan.org/pub/debian/stable/ /
deb-src http://download.videolan.org/pub/debian/stable/ /

2. Add apt-key for this repository by doing this:

wget -O - http://download.videolan.org/pub/debian/videolan-apt.asc|sudo apt-key add -

3. Update the apt.

sudo apt-get update

4. Install libdvdcss2.

sudo apt-get install libdvdcss2

5. That’s it! Now you can play dvd with your favorite video player.

Tiny Core Linux: nfs-client Setup

I think for some people the nfs-client setup on Tiny Core Linux is pretty easy and straightforward. But it took me couple of days to figure it out. So here I will document this mainly for myself.

1. Install nfs-utils (make sure it is loaded on boot):

tclnfs_012. This is very important step! By making nfs-utils to load on boot doesn’t mean that nfs-client service will be started on boot. To start it on boot we have to add “/usr/local/etc/init.d/nfs-client start” into file “/opt/bootlocal.sh”:

~$ sudo echo "/usr/local/etc/init.d/nfs-client start" >> "/opt/bootlocal.sh"

3. Create a script file in folder “.X.d” to mount the nfs folder:

~$ vi .X.d/nfsmount

4. Put following lines into that file:

#! /bin/sh
sudo mount <your.nfs.server.ip>:/<nfs/folder/path> /home/tc/<mount/directory>

5. Reboot computer and the nfs folder should be mounted automatically on boot.

6. Enjoy!