LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Slow DNS lookups

Posted 11-16-2012 at 06:11 PM by serafean

Since quite some time I had been experiencing slow DNS lookups on some linux boxes. Today I finally got around to fixing it.
Symptoms : KDE fails to load google/wikipedia sometimes. firefox too, less often.

ping was the main tool in this case.
What I found was that
Code:
ping www.google.com
got an IP to ping very fast, however before anything appeared onscreen, it took up to 5 seconds. Pinging the IP address however returned immediately.
On a hunch, I tried disabling...
Member
Posted in Random fixes
Views 532 Comments 0 serafean is offline
Old

Lirc & xbmc time

Posted 09-21-2011 at 01:34 PM by serafean
Tags htpc, imon, lirc, xbmc

The Enna media center project stagnating, and the KDE Plasma Media center being developed in GSoC bursts, I got back to using xbmc. xbmc supports lirc, and having an imon panel with a remote, I finally decided to set it up.

The key here was understanding that the iMon device is now supported in the kernel using the new infrastructure. What this did is make the iMon device send normal input events. (I think this is mostly because it does the IR decoding directly in hardware). What...
Member
Views 927 Comments 0 serafean is offline
Old

A little ALSA magic

Posted 03-11-2011 at 07:27 PM by serafean

Wanted configuration :
  • user kde can play sound using the Optical output
  • user enna can play via analog and optical simultaneously (optionaly HDMI)
  • Both users can play via Optical at the same time
  • Both have access to an upmixing device that encodes the stream into A52 and sends via the Optical output

first we name the outputs (link numbers to names, this will be different on your hardware) and add a dmix device for the digital output to the global asoundrc:
Code:
pcm.analog{
...
Member
Views 1263 Comments 0 serafean is offline
Old

My fight against ads.

Posted 12-13-2010 at 11:22 AM by serafean
Updated 12-13-2010 at 04:57 PM by serafean

Running openwrt on my router and hating advertisements, I decided to look into dnsmasq's possibilities. And indeed it supports hard binding of addresses to Domain names.

adding
Code:
conf-dir=/etc/dnsmasq.d/
to dnsmasq.conf, and putting a file generated by http://pgl.yoyo.org/as/ in there (as ablock.conf) quite securely blocks all ads on my network (and from basic testing, it seems that even ads at the beginning of flash videos are filtered out. YAY!).

I know using /etc/hosts...
Member
Posted in Uncategorized
Views 615 Comments 0 serafean is offline
Old

X dual head, one graphic card

Posted 10-25-2010 at 11:48 AM by serafean
Updated 11-04-2010 at 05:20 PM by serafean

X configuration

Goal : 2 separate X screens working as dual-head(like 2 mice, 2 keyboards), powered by one graphic card(nvidia ion, 1st gen).

features used :
  • X multiple screens (Zaphod mode?)
  • MPX (multiple input X)

First configure the X server through xorg.conf :
Code:
Section "ServerLayout"
    Identifier     "Monitor"
    Screen      0  "Screen0" 1500 0
    Screen      1  "Screen1" 0 0  #LeftOf "Screen0"
...
Attached Files
File Type: txt xorg.conf.txt (2.9 KB, 8 views)
Member
Views 1342 Comments 0 serafean is offline

  



All times are GMT -5. The time now is 04:44 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration