Nvidia stealing audio
by burdy on Jan.03, 2012, under Linux
I recently tried to connect a Samsung led- tv to a simple Nvidia G210 display adapter, causing my analog sound to dissappear completely.
The fix can be found as decribed here:
http://analogbit.com/hdmi_dvi_audio
First update nvidia drivers to the latest:
sudo apt-add-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update sudo
apt-get install nvidia-current
Then following this instruction found on the mythtv website:
http://www.mythtv.org/wiki/Configuring_Analog_Sound_DVI_to_HDMI#Apply_Modified_EDID
In short, the xorg.conf needs to be adjusted with a modified EDID which prevents audio to be send through HDMI.
Socks Proxy
by burdy on Feb.28, 2011, under Linux
I needed to update a couple of debian and ubuntu servers in an protected lan.
Always handy to update using a socks proxy with tsocks. A problem arose with name resolution. Resolving DNS servers wasn’t possible. I think because DNS uses also udp which can not be proxied using tsocks.
ssh password prompt delay
by burdy on Feb.18, 2011, under Linux
When connecting through ssh locally I often mention a delay after username is entered and before the system is prompting for a password.
An easy way to prevent this delay is to edit:
/etc/ssh/sshd_config
and add this line
UseDNS no
Restart the ssh daemon after this:
/etc/init.d/ssh restart
Nagios3 on Ubuntu 10.04
by burdy on Feb.17, 2011, under Linux
After installing nagios3 on Ubuntu 10.04 I needed a couple of configchanges.
After reading this, I would suggest the following:
Download a msi installer for nsclient from here. In that way you don’t have to install the service manually.
Check windows machines with: /usr/lib/nagios-plugins/nt.cfg
- Remove the ‘ characters
- specify port: 12489
- Expand commandline with: $ARG2, $ARG3 $ARG4
- Change ‘windows-server’ to ‘generic-host’
LM-Sensors and Asus PC-PL
by burdy on Feb.17, 2011, under Linux
After installing an Asus PC-DL motherboard I discovered that sensors-detect from the lm-sensors package, did not work right.
Sensors-detect reported a w83627hf chip.
Modprobing this module wasn’t possible. The system responded that the module was in use. It wasn’t according lsmod.
IRC logging using eggdrop
by burdy on Jan.29, 2011, under Linux
Setup irc history logging in a few steps.
- Install an IRC server of choice
- Install the eggdrop bot and pisg for generating statistics.
- Install eggdrop module: logs2html
MRTG
by burdy on Jan.29, 2011, under Linux
For years I use MRTG to monitor several kinds of things, like: disksize and temperature, network traffic analysis and availability, cpu and motherboard temp, cpu load, disk-io.
~$ sudo aptitude mrtg snmpd apache2
Everything about setting up mrtg can be found here.
If using debian this will be a quick help
bluetooth audio (and mythtv)
by burdy on Dec.29, 2010, under Linux, Mythtv
Today I decided to test a brandnew bluetooth transmitter and receiver which were delivered to me shortly. After some googling I was convinced it should not take to long to configure this.
This transmitter can be connected with the 3.5 jack audio plug to a soundcard audio-out interface.
It is also possible to connect the device to a computer with a USB cable which comes within the package for this purpose. Another purpose of the USB connection is delivering power to the device.
I decided to stick with option 2.
(continue reading…)
avi to flash
by burdy on Sep.22, 2010, under Linux
Yesterday I had to convert some avi video quickly to flash in order to embed this in some blog.
ffmpeg -i S5002930.AVI -ar 22050 -ab 32000 -f flv -s 320×240 – | flvtool2 -U stdin S5002930.flv
You need to install flvtool2 package for this to work.
