Quantcast
Browsing all 95 articles
Browse latest View live

Escape from ssh

If you ever get an ssh session that seems to be stuck, try closing the connection using one of the ssh built-in escape sequences. Just type at the beginning of a new line: ~. If you have to close a...

View Article


Protected: HFS TSM backup client installation

This content is password protected. To view it please enter your password below: Password:

View Article


Temporary rsync server installation

I have recently had to make a backup of the ‘My Documents’ directory of a Windows XP user to a CentOS server. If this was a Linux to Linux backup exercise I would automatically use rsync over ssh....

View Article

gpsim, Ubuntu and the case of the missing GUI

Update 13/1/2015 Following an upgrade to Ubuntu 12.04 I wanted to install gpsim again. I was pleased to see that it was included in the standard repositories and so I duly installed the stock packages....

View Article

Linux and Nexus 7 USB connection

Update 12/1/2015: It appears that the Nexus 7 is now automatically recognised and made available in xubuntu 14.04.1 Trusty; however, if you are still having trouble, read on. Install the required...

View Article


CentOS 6.5 kernel compile for VIA C7 CPU

After a recent kernel update I found that the stock CentOS kernel was less than optimal for the CPU I am using, and so I decided to create a kernel optimised for my VIA C7 CPU. As root: • Set up build...

View Article

Microchip MPLabX installation on 64-bit Ubuntu system

The Microchip MPLabX IDE, IPE and XC8 packages need additional 32-bit libraries and so their installation is slightly more involved than just running the installer scripts. The details: sudo apt-get...

View Article

Apple keyboard with Linux

After having installed Ubuntu Linux 14.04 on an Apple Mac I found that the keyboard layout was not quite correct, e.g. function keys were not easily accesible and some characters were missing. The...

View Article


Install pyUSB 1.x latest version

pyUSB is an excellent Python package that can significantly simplify USB programming. For most Linux distributions there are packages only for older versions of pyUSB, but since it is actively...

View Article


Wireshark installation and use as non root

Following the default installation of wireshark it is only possible to capture packets as root, which is clearly less than ideal. It is much better to run wireshark as a non-root user: sudo apt-get...

View Article

Get started with git

There are many excellent tutorials on using git (see below). This page is just a list of git commands for my reference. sudo apt-get install git gitk git-gui git config --global user.name your name git...

View Article

System Program Problem Detected – disable apport

A system component crashing will activate the apport reporting system. What is really annoying about this is that the warning pop-up windows will keep appearing long after the problem is solved. To get...

View Article

Install or update mplabx, gputils, gpsim and sdcc

This is a summary of the steps involved in setting up development tools under Linux for Microchip PIC microcontrollers. I have created Ubuntu Trusry packages for the most recent versions of gputils,...

View Article


Add “Copy To” and “Move To” custom actions in Thunar file manager

If you are missing the split view or dual pane functionality in Thunar, at least you can implement a workaround by adding the following custom action definitions to your Thunar config file: nano...

View Article

Script to encode HTML special characters

Have you grown tired of typing in all those HTML special characters? Use a perl script instead: nano ~/bin/html_special_char_encoder.pl #!/usr/bin/perl use HTML::Entities; while (<>) { print...

View Article


Netbeans cannot open old / existing project

After having installed Netbeans 7.0.1+dfsg1-5ubuntu2 I found that I cannot open old projects. Netbeans will find list the project directories, but will not open the projects. The solution is quite...

View Article

Turn your desktop computer into a wireless access point

My desktop computer has a wired connection to the internet and so the built-in wifi card is normally not used. I decided to enable and use it as a wireless access point. Unfortunately NetworkManager...

View Article


Send message to user logged in to an X11 session at a remote host

There are occasions when you want to contact a user working at a remote computer, but his/her phone is switched off. If the remote user is running an X11 session, and you have ssh access to the remote...

View Article

List ssh tunnel connections

There are occasions when you would like to list ssh tunnel connections established to or from your server with information about the port numbers used. Tunnels and other ssh connections to your server:...

View Article

Humax HDR-FOX-T2 dropbear ssh / sftp password change

On the Hummy, dropbear passwords are kept in /mod/etc/dropbear/shadow. To change the password, this file will have to be edited directly. Assuming you are running a custom firmware and have installed...

View Article
Browsing all 95 articles
Browse latest View live