How to Install libnfc for PN532 NFC Readers on Linux
English · Français
February 25, 2015
Antre du Tryphon
Search

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 GO2NFC GO2NFC141U NFC Reader and the Adafruit PN532...

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:

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 by running this command: echo "stats settings" | nc localhost...

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 into the new user account.

How to display the version of Ubuntu you are running

April 18, 2014 · claude Ubuntu 11.10 Ubuntu 11.04 Ubuntu Ubuntu 12.04
From a terminal window, type in: lsb_release -a

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

March 1, 2014 · claude Ubuntu 11.10 Unix Ubuntu 11.04 Linux Ubuntu 12.04
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 boot time. You can load it manually by executing modprobe pcspkr

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. Alternatively, add one of these to listen only to IPv4 (inet) or...

How to assign a static IP address in Ubuntu

February 22, 2014 · claude Ubuntu 11.10 Unix Ubuntu 11.04 Ubuntu Linux Ubuntu 12.04
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 dhcp You will have to replace the above lines with a section that...

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

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 under which the web server runs (www-data for example) to the group dialout. To do so,...