Linux

Ubuntu and clicking sound from the harddrive

I have experienced that my harddrive makes a clicking sound about every 10th second on my Ubuntu 9.10 and a fix to this problem is to disable APM using hdparm. This behaviour comes from very activ APM modes that some drive manufacturers use and that leads to excessive head parking and can reduce a harddrives […]

Read More
Windows

Enable or disable ping in Windows Server 2008 R2

I always forget where to change the ping setting in the Windows Server 2008 R2 Firewall. To enable ping Go to Start >> Administrative Tools >> Windows Firewall with Advanced Security >> Inbound Rules >> File and Printer Sharing (Echo Request – ICMPv4-IN) >> right click and select Enable Rule. To disable the ping rule […]

Read More
Web

Logon to Norsk Tipping using Ubuntu 9.10

This post is a short howto how I managed to use my Ubuntu 9.10 (Karmic Koala) to log on to the web pages of Norsk Tipping using a USB CardMan 3121 buypass card reader and Firefox web browser. First of all you need to install Java to login to Norsk Tipping webpages. # aptitude install […]

Read More
Linux

Change ethernet settings using ethtool

Force network speed on a network card to 100 MBit Full Duplex and in the same time disable auto negotiation # ethtool -s eth0 speed 100 duplex full autoneg off These settings are active until you reboot the machine or restart the network. In order to keep this change on each system reboot, append the […]

Read More
Linux

Create a temporary “Site Down” notice in Apache

This post describes how to make a “Site down for maintenance” notice using Apache .htaccess and the mod_rewrite module. I assume you know how to enable the Apache htaccess directive and the mod_rewrite module. First you need to create a .htaccess file in your root level of your website. Next you add the following lines […]

Read More