Archive for the 'Linux' Category

Adding nameserver to dhcp

Tuesday, January 10th, 2012

 Today i came a cross a bit of a problem. At one of my customers im doing some testing on a lab system and needed to be patched into the labnetwork.

Its all handled by dhcp so thats ok, but for some strange network reason the dns lookup was very slow. So I needed to and another DHCP server to my /etc/resolv.conf. But this got overwritten as soon as the dhcp client got information again. So how do you fix that?

(more…)

Mysql replication fail

Thursday, December 22nd, 2011

Today i had an interesting problem.

I have a customer that we have upgraded the running system and database server for. And we have used mysql replication to be able to do this with a minimum of downtime. So we have a spare server that we set up as a database server. Started replication to it – when it was running as is should we stopped the system totally – ended the replication and made that system the master. All well. Then we upgraded the old server with new os and new server software and did the same thing back.

And by misstake the system was writing some data to the new server while we still where replicating from the “old” or “temporary” datbase servern. And this ofcuase made the database replication to stop whit an error message.

(more…)

Mediatomb to Pioneer BDP-440

Sunday, December 4th, 2011

Yesterday i got my new BluRay player. I got a Pioneer BDP-440 BlueRay player. And as it is suposed to play video from a DLNA server I wanted to install and get that going also.

So I did some search on the networks and after some reading it seems that one of the most used and the one I liked the most was Mediatomb.

(more…)

Sendmail and smarthost and authenticated submission on port 587

Monday, August 1st, 2011

Today I came across a small and interesting thing. One of our customer have been upgrading from suse to centos, and that also changed the mailer from postfix to sendmail. I consider myself a quite skilled sendmail person but this was a new one.

The system itself is a dumb system and we should forward everyting to a smart host. But we need to do that over port 587 and authenticated.

(more…)

Bitten in the arse by security

Monday, July 25th, 2011

Today I have frighted security. In 2 ways.

First I had to move a mysql database from one server to another. And then still running the application on the original server.

(more…)

Firefox 5 and ask to save when close and app tabs

Wednesday, July 20th, 2011

As I just said I have switched to Firefox 5 and is quite happy with it. But there are some small things one has to do to get it to work as I want.

(more…)

Switch to firefox 5

Wednesday, July 20th, 2011

I’m running Firefox as my main browser. I have chrome installed and I have been using it a bit but I don’t really like it (and I have had some interesting problems with it – like can’t go to page 2 on googles own search result). And I’m also using it for development and firebug and firephp is a necessary must for me. So I’m staying with Firefox.

(more…)

Dont trust facebook to keep you photos safe

Friday, July 1st, 2011

If you upload photos to facebook, perhaps you should make sure you have a backup of them.

In a post in my RSS feed today, there was a problem with digikams plugin that uploaded pictures to facebook. (more…)

svn frontend for kubuntu

Wednesday, June 29th, 2011

I mostly uses svn from the command line, but sometimes its nice to se a graphical view of a svn tree so I installed kdesvn today.

This is a nice GUI frontend to SVN.

(more…)

EVE Incursion and Wine and pulseaudio

Saturday, June 18th, 2011

Last week has been – lets say – full of work. So after a long sleep in, in the morning, I decided to start up my old friend EVE. And I remembered that the on Tuesday the 21:th it is time for Incarna. So I read a bit about it on the forums and it seems that I needed to patch wine. But to be sure I started EVE on Sisi and downloaded the patch and tested.

(more…)