Categoria: Informatica
-
Mysql bug parade
Ok, just to tell the truth this is not a real bug parade, but today I’m struggling with many different bugs. The worst thing is that each time you spend a lot of time trying to figure out what is wrong in your code. So when there is a bug in something like mysql the…
-
Strange locale things happen under Tomcat/Jasper
I recently installed a webapp which uses tomcat and jasper on one of my server. Everything worked well until a template used some special chars, I got the ‘?’ chars which indicate the typical encoding issue. Everything seemed correct, DB in UTF-8, virtual machine started with -Dfile.encoding=UTF-8, application in UTF-8, data files in UTF-8. After…
-
NetworkManager no wakeup on Ubuntu
Since the last six months I have an issue with my NetworkManager, sometimes it doesn’t wakup correctly after a standby or suspend. After some test I found that the problem comes out each time the suspend/standby procedure freezes the system and I have to manually shutdown. To make the NetworkManager the only way is to…
-
Configurare una VPN con OpenVPN
Configurazione generale della rete Ipotizziamo una rete interna che utilizza gli IP 192.168.6.X. Nella rete interna abbiamo un router al indirizzo 192.168.6.1 e un server DNS per la intranet all’indirizzo 192.168.6.2. Il server che vogliamo utilizzare per la VPN utilizza l’IP interno 192.168.6.102 ed è visibile dall’esterno su un ip pubblico a cui è assegnata…
-
Passwordless SSH – Mini howto
Recently I had to administer a new site on which I was not allowed to change th password for policy reasons and the password was very complex, something like this: Un&U2p3rC@s0 (not real password 😉 ) Each time I had to log on I lost a lot of time, so for the first time I…