Change the Ubuntu login screen background?

Changing the login screen background is easy but not obvious. The image file you want to use as the login screen background must have a read access for everyone. Open

Read More

How to Install libnfc for PN532 NFC Readers on Linux

Installing libnfc for PN532 based NFC reader is not exactly as described in the documentation. Some information is scattered in the documentation. This installation guide has been tested with the

Read More

How To Setup an Internet Gateway using Ubuntu

Setting up an Internet Gateway using Ubuntu is pretty straight forward. In order to do so, you will need: A computer with two network interfaces. One hooked to your WAN

Read More

Installing memcached to use it with php

Installing Memcached with php support in Ubuntu is a matter of a few steps: sudo apt-get install memcached php5-memcached sudo service apache2 restart You can test if memcached is active

Read More

How to rename a user in Linux

Simply issue this command: usermod -m -d /home/new-account-name -l new-account-name old-account-name It creates the home directory if it does not exists. It also copy the stuff of the old user

Read More

How To Restore Skype Status Bar Icon In Ubuntu 14.04

After installing Skype on Ubuntu 14.04, there is no icon in the status bar. To restore it, simply execute the following command: sudo apt-get install sni-qt:i386 . This procedure works

Read More

How to use the command line to make the internal speaker beep

Two simple steps: Install the beep utility. Executing beep on the command line will make the internal speaker beep. apt-get install beep Add pcspkr to /etc/modules to load it at

Read More

How to prevent SSHD to listen on an address family

It is possible to control on which address family sshd will listen to. In /etc/ssh/sshd_config, simply add AddressFamily any to listen to IPv4 and IPv6 addresses. This is the default.

Read More

How to assign a static IP address in Ubuntu

Setting a static IP address in Ubuntu involves editing /etc/network/interfaces. If the interface is currently using DHCP, you will find these lines in the file. auto lan iface lan inet

Read More

How to change the network interface name in Ubuntu 12/13

Two files need to be modified to change the name of a network interface in Ubuntu. For example, if you want to change eth0 for lan, simply change the NAME

Read More

How to find duplicate files on Linux?

It is pretty straight forward in Linux, install fdupes. sudo apt-get install fdupes Type the following command to display the documentation man fdupes

Read More

Accessing a serial port from a web server

On most Linux distribution, it is impossible to access a serial port (ex. /dev/ttyS0) from a web server such as Apache or lighttpd using a cgi. Simply add the user

Read More

Script listing all the keys on a memcache server

This script lists all the keys on a memcache server. #!/bin/bash nc localhost 11211 > /tmp/$$.1 <<EOF stats items EOF cut -d: -f2 /tmp/$$.1 | grep -v END | uniq

Read More

Ralink RT5572 based WiFi Usb Dongle setup on Ubuntu 12.04

The WiFi USB dongles based on the newest RT5572 chip set do not work out of the box on Ubuntu.  Unex DNUR-V72, D-Link DWA-160 Rev B and TP-Link TL-WDN3200 dongles are

Read More