Archive

Archive for the ‘Linux’ Category

Debian apt-get duplicate entry error

August 9th, 2010 RanDrake No comments

When running apt-get/synaptic/etc… you get an error something like below:

W: Duplicate sources.list entry http://dl.google.com stable/main Packages (/var/lib/apt/lists/dl.google.com_linux_deb_dists_stable_main_binary-amd64_Packages)

Goto ‘/etc/apt/sources.list.d‘ and delete the duplicate entry from there or from ‘/etc/apt/sources.list‘.

Third party entries often go into this folder and are read as if in sources.list

Categories: Linux Tags:

Flashplayer with Debian ‘Testing’ and AMD64

August 5th, 2010 RanDrake No comments

Install needed packages ‘apt-get install fakeroot binutils nspluginwrapper ia32-libs

Download and run this script ‘http://people.debian.org/~bartm/flashplugin-nonfree/ia32-libs-workaround-499043-squeeze.sh

When the script is finished, install with ‘dpkg -i ia32-libs-workaround-499043_0.0.1+squeeze1_amd64.deb

Then install this package ‘http://people.debian.org/~bartm/flashplugin-nonfree/flashplugin-nonfree_10.1.53.64.1_amd64.deb

This info and more is located at http://wiki.debian.org/FlashPlayer#DebianTesting.27Squeeze.27amd64


Categories: Linux Tags:

Debian 2.6.32 Kernel and nVidia Driver

July 27th, 2010 RanDrake No comments

This has to be done with either a stock or custom kernel.

Before building the official nVidia driver on Debian you will have to blacklist the ‘nouveau‘ module.

You can find how to blacklist kernel modules from loading on this site also.

After the ‘nouveau‘ module has been unloaded (from reboot) you can build the nVidia module without errors.

Categories: Linux Tags:

Linux Kernel Module Blacklisting

July 27th, 2010 RanDrake No comments

Disable automatic loading of kernel driver modules in etch.

Create a file ‘/etc/modprobe.d/<modulename>.conf‘ with the line ‘blacklist <modulename>

Then update system with, ‘depmod -ae‘ and ‘update-initramfs -u

Reboot and the modules will not be loaded.

Categories: Linux Tags:

Disable ipv6 in Linux

July 27th, 2010 RanDrake No comments

As root navigate to ‘/etc/modprobe.d/aliases

Change the line ‘alias net-pf-10 ipv6‘ to ‘alias net-pf-10 off

Now on the next reboot ipv6 will be disabled and not autoloaded on boot.

Categories: Linux Tags:

Allow root logins in KDE and Debian

July 26th, 2010 RanDrake No comments

As root edit ‘/etc/kde4/kdm/kdmrc

and change ‘AllowRootLogin = false

to ‘AllowRootLogin = true

Categories: Linux Tags: