Linux

Openbox goes weird with R.A.T.5 Mad Catz

Problem: when you connect the Mad Catz R.A.T.5 mouse to a Linux box running openbox window manager, the window handling stops working. Sometimes mouse follow focus does not work, sometimes even  clicking a window cannot activate it. Sometimes clicking window borders does not work, sometimes clicking into windows is ignored. Solution: This mouse has a mode button, which is

Openbox goes weird with R.A.T.5 Mad Catz Read More »

USB SCSI Disconnects when Idle

Problem: An external USB harddrive disconnects and immediately reconnects with different device name. You find log entries like these: Jan 17 00:46:52 workstation kernel: [212306.086568] sd 33:0:0:0: [sdj] Attached SCSI disk Jan 17 01:51:14 workstation kernel: [216168.064075] usb 2-4: USB disconnect, device number 11 Jan 17 01:51:15 workstation kernel: [216168.596514] usb 2-4: new SuperSpeed USB device

USB SCSI Disconnects when Idle Read More »

Howto generate an SSL key and self signed cert with openssl

For SSH, HTTPS, TLS SMTP,POPS, IMAPS you need a RSA key pair. Most Linux package installers produce this pairs automatically, but if you like, you can generate them yourself. The quickest method I found is: openssl req -x509 -nodes -newkey rsa:2048 -keyout servername.key -out servername.crt -days 1024 This command asks you some questions. The most

Howto generate an SSL key and self signed cert with openssl Read More »

Unix/Linux date command fails when calculating “yesterday”

Problem: A shell-script running every day short after midnight doesn’t work properly once per year after daylight-saving time adjustment. e.g. an expected logfile is missing (“somefile.YYYYMMDD.log”) Discussion: The Unix date command calculates the wrong date when used with “–date yesterday” on the day after daylight-saving time adjustment. # date Mon Mar 31 00:15:03 CEST 2014 # date

Unix/Linux date command fails when calculating “yesterday” Read More »

Openbox Config File

I don’t use desktop environments on Linux. I prefer small,fast, efficient window managers. Some years ago I used olvwm (open look window manager) which was dicontinued by sun. Then I switched to wmx which I patched for my needs, but still it was missing some features. Now I use openbox which is highly configureable yet

Openbox Config File Read More »

Ping to Windows Server 2012 with Direct Access fails

Problem: Ping from Linux computers to Windows Server 2012 with Direct Access fails for hours (no response) although connectivity is working (eg. HTTPS) Discussion: Ping from other windows machines and Cisco machines worked, but from Linux machines ping was not answered. I tried to find the difference between those ICMP Echo Request Packets, and reduced it to

Ping to Windows Server 2012 with Direct Access fails Read More »