You are here


Uditha Atukorala's picture

Linux chroot - things to remember

When you are creating a chroot jail, before you chroot make sure that you have mount the following;

1 - /proc
# mount -o bind /proc /mnt/chroot/proc

2 - /sys
# mount -o bind /sys /mnt/chroot/sys

3 - /dev
# mount -o bind /dev /mnt/chroot/dev

Finally when you are done,

# chroot /mnt/chroot /bin/bash

Uditha Atukorala's picture

Linux Kernel Modules - Some useful commands

Some useful commands to get information about kernel modules.

To get a list of loaded modules,

$ lsmod

Get more information about a module,

# modinfo

Load a module,

# modprobe

List PCI hardware with more information.

$ lspci -v

Uditha Atukorala's picture

HDMI Video tweaks for nVidia

After messing around a lot I learned through trial and error that you have to set two options in your X Config file to get proper video through HDMI. This is specially true if you are trying to connect a TV to your box and getting small fonts that you cannot read.

Hello this is made by ankit

Hello this is the body of the title i am going to add 10 words over here

Uditha Atukorala's picture

UPnP AV Client on Linux

If you have been messing around with UPnP media servers like mediatomb it is a good idea to have a UPnP Client installed in your Linux box. I use djmount for this purpose.

The following methods are tested on Debian Lenny (testing) to install and run djmount and should work with any other Linux distribution with the only change of installing FUSE.

Uditha Atukorala's picture

How to configure Proxy Settings for the Linux Console and APT

You can use the following methods to configure your console to use a proxy server so that console based programs like wget could get connect to the internet through the proxy.

1 - Set the environment variable
# export http_proxy=http://DOMAIN\USERNAME:PASSWORD@SERVER:PORT/

In the above configuration you can ommit the DOMAIN\USERNAME:PASSWORD@ part if you are not using proxy authentication.

Uditha Atukorala's picture

NVIDIA drivers on Debian Lenny (2.6.25 Kernel)

If you have tried to install install the nVidia drivers for your Debian Lenny 2.6.25 kernel probably you should have got the error about a Xen enabled kernel. Following is a little tweak that you can do in order to get this working and please note I found this while crawling the web so all regards to the original poster(s).

This method is tried on Debian Lenny Testing (2.6.25-2-686) with driver.


Subscribe to RSS - blogs