I have a neighbour who complains currently about my music which is too loud in
the night. So we agreed that I turn of my music at 11PM. First I tried to look
on my watch and to turn off music at 11PM. Most I failed and my neighbour stands
in my door. The fun partis that I'm listening to music via my Linux based HTPC.
So I deceided to create a cronjob that sets the volume to 0 every day at 11PM.
The first thing I needed was a list of all available alsa controls (where -c 0
is the first sound card):
Friday, March 28, 2014
Thursday, March 27, 2014
(MIT) Kerberos for Slackware
With this article I want you to show how to set up Kerberos in Slackware. I have setup two VM's to write this article. The first VM is named kdc01 and will be the Kerberos server. The second VM is named kdc02 and will be the Kerberos client. This article contains the following sections:
1. Install and configure the Kerberos server (kdc01)
1.1. Install Kerberos
1.2. Configure Kerberos
2. Install and configure the Kerberos client (kdc02)
2.1. Install Kerberos
2.2. Configure Kerberos
2.3. Install PAM
2.4. Configure PAM for Kerberos
1. Install and configure the Kerberos server (kdc01)
1.1. Install Kerberos
1.2. Configure Kerberos
2. Install and configure the Kerberos client (kdc02)
2.1. Install Kerberos
2.2. Configure Kerberos
2.3. Install PAM
2.4. Configure PAM for Kerberos
Monday, February 10, 2014
Ripping DVD's with K3b and Slackware(64)-14.1
K3b has the nice option to rip DVD's. Unfortunatly this requires transcode which doesn't come with Slackware by default.
When you open K3b and navigate to "Tools" -> "Rip Vide DVD..." then you will get the following error message:
"K3b uses transcode to rip Video DVDs. Please make sure it is installed."
When you open K3b and navigate to "Tools" -> "Rip Vide DVD..." then you will get the following error message:
"K3b uses transcode to rip Video DVDs. Please make sure it is installed."
Friday, January 24, 2014
Sendmail with LDAP support in Slackware
The sendmail package that comes with Slackware has no LDAP support. In case that you need it then this article might help. It covers the following topics:
1. Recompile and reinstall sendmail with LDAP support
2. Reconfigure OpenLDAP
3. Reconfigure sendmail and import aliases into LDAP
Before you try to use this description make sure that you know a little about OpenLDAP and sendmail itself! This article was tested on a Slackware environment but should also work for any other Unix/Linux (except for recompiling the sendmail package).
1. Recompile and reinstall sendmail with LDAP support
2. Reconfigure OpenLDAP
3. Reconfigure sendmail and import aliases into LDAP
Before you try to use this description make sure that you know a little about OpenLDAP and sendmail itself! This article was tested on a Slackware environment but should also work for any other Unix/Linux (except for recompiling the sendmail package).
Saturday, January 4, 2014
Combining SNMP and LM-SENSORS
Little known is that you can query lm-sensors with snmp. Unfortanatly the Slackware net-snmp package does not support that. This article will describe the current situation and how to change it.
First take a look at my lm-sensors output on the command line:
First take a look at my lm-sensors output on the command line:
Sunday, December 29, 2013
Slackware as a VM host with qemu
With this article I want you to show how to use Slackware as a host for virtual machine(s) using qemu and kvm. The physical machine I'm using is an old AMD 4000+ single core CPU, has 1GB of RAM, a single 1GBit network interface and is running Slackware64-14.0. I assume that you've basic Slackware and qemu knowledge because this article does not focus to much on Slackware or qemu. The focus of this article is to get both working with each other.
This article covers the following topics:
1. Prepare your physical network interface for bridging
2. Load the kvm module
3. Install qemu
4. Setup a little Slackware sample VM
5. Start/Stop a VM during booting and shutting down the host
This article covers the following topics:
1. Prepare your physical network interface for bridging
2. Load the kvm module
3. Install qemu
4. Setup a little Slackware sample VM
5. Start/Stop a VM during booting and shutting down the host
Monday, December 16, 2013
ORA-28000: the account is locked
When you try to login as a user to your database and you get the following error:
$ sqlplus "user/password@database"
...
ORA-28000: the account is locked
$ sqlplus "user/password@database"
...
ORA-28000: the account is locked
Wednesday, December 11, 2013
VxVM vxassist ERROR V-5-1-15304 Cannot allocate space for dco volume
That one gave me a headache and I couldn't find any solution on the internet. So maybe this article might help some one some day.
Story so far: a customer has a RAC envinment based on Veritas CVM. One day a disk was in state FAILING like this:
Story so far: a customer has a RAC envinment based on Veritas CVM. One day a disk was in state FAILING like this:
Friday, November 22, 2013
StorEdge 6180: Battery {0} has expired.
Today a customer called in telling me that one of his batteries for his StorEdge 6180 has expired the lifetime. Since the customer doesn't have any valid support for the storage I deceided to set the lifetime expiration to never. To do this I needed the sscs and service command (package SUNWstkcam, SUNWsefms etc) in my environment. In normal cases these packages are installed to /opt:
Monday, November 18, 2013
Initial Ramdisk
A short howto for using a initial ramdisk (initrd) in Slackware Linux.
A initrd is very handy when you need a special module already during booting and you don't want to recompile the entire kernel. So let's get started directly by creating a simple initrd without any particular modules etc:
A initrd is very handy when you need a special module already during booting and you don't want to recompile the entire kernel. So let's get started directly by creating a simple initrd without any particular modules etc:
Subscribe to:
Posts (Atom)