Objective

The objective is to blacklist selected modules from loading.

Operating System and Software Versions

  • Operating System: - Debian, Ubuntu, Mint

Requirements

Privileged access to your Ubuntu System as root or via sudo command is required.

Difficulty

EASY

Conventions

  • # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ - given linux commands to be executed as a regular non-privileged user

Instructions

There maybe a time when you need to disable some modules from being loaded during your system's boot time. In this "how to" we will discus some of the few ways how to blacklist module including its dependencies, that is, disable permanently module from loading during the boot time.

First, we need to know how to list all modules currently loaded by your Linux system:
$ lsmod
....
ehci_hcd               40249  0 
usbcore               128741  4 ehci_hcd,ohci_hcd,usbhid
usb_common             12354  1 usbcore
e1000                  86156  0 
libata                140630  4 libahci,ahci,ata_piix,ata_generic
....

DAAP server is an Apple Inc. proprietary protocol to share media files over the network. DAAP server allows share media files among network connected devices where the central media share repository resides on main server. In this simple tutorial we will be installing and configuring DAAP server share using forked-daapd media server with support for RSP, DAAP, DACP and AirTunes.

In the first step create a media share directory and upload all you media files to this directory. In our example we are going to use /mnt/media directory:
# mkdir /opt/media
# COPY YOUR MEDIA FILES TO /opt/media
Next, install forked-daapd daemon:
# apt-get install forked-daapd
Once the installation is finished confirm that forked-daapd is running:
# /etc/init.d/forked-daapd status
forked-daapd is running
and you may also want to check on what port is forked-daapd listening. The default socket is 0.0.0.0:3689.

If you have not installed wireless firmware to support your wireless network card during Debian wheezy installation you can do so later by enabling debian's non-free repository. Here is how you do it. First open your /etc/apt/sources.list file and change line ( your repository mirror may be different ):

from:

deb http://http.debian.net/debian/ wheezy main

to:

deb http://http.debian.net/debian/ wheezy main non-free

Once done update packages list with a command:

# apt-get update

Debian by default comes with Iceweasel web browser instead of firefox. Although it is recommended to use Iceweasel you may have a need to install firefox are here is a simple way how to install firefox on Debian wheezy by using Linux mint's debian import repository. First edit your /etc/apt/sources.list file and add the following line:

deb http://packages.linuxmint.com debian import

Update your package list:

# apt-get update

The above command will fetch mint package repository list. As a last step install firefox browser:

ARE YOU LOOKING FOR A LINUX JOB?
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed on LinuxCareers.com.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.