Aug 252013
 

Recently I installed a Debian 7 VPS on Linode and as first thing I wanted to do an update of the system, but I found a small problem in doing this :

# apt-get update
0% [Connecting to ftp.us.debian.org (2610:148:1f10:3::89)] [Connecting to security.debian.org (2607:ea00:101:3c0b:207:e9ff:fe00:e595)]
Get:1 http://ftp.us.debian.org wheezy Release.gpg [1,672 B]                                                                           
...
Get:15 http://security.debian.org wheezy/updates/main Translation-en [56.6 kB]
Fetched 16.3 MB in <strong>4min 0s</strong> (67.5 kB/s)                                                                                                                                     
Reading package lists... Done

So 4 minutes to just update my repositories (and I had just the default for a Debian 7 just installed), this is due to the fact that linode VPS are IPV6 ready and so the servers of this company try to connect to security.debian.org via its IPv6 address by default when running apt-get update, and that results in having to wait for a lengthy timeout whenever you try to download updates of any sort.

But luckily change the system so apt-get will use IPV4 it’s not so hard.
Continue reading »

Flattr this!

Aug 212013
 

Recently I’ve published an article about “DynDNS and ddclient: access your Linux from anywhere“, and some people commented that the services on DynDNS are not free anymore, so this is an alternative by Adam Buchanan first published on his interesting blog

This has nothing to do with search engine marketing, but everything to do with automation. If you’ve ever wanted to host a server at a location that doesn’t have a static IP address then you know just how much of a pain it can be.

Hopefully by the time you read this you’re familiar with what DNS is and what dynamic DNS is. If not, those links should catch you up to speed quick enough. I’ve tried a few different dynamic DNS providers but for the past few years I’ve been using freedns.afraid.org. I don’t host this site (of course), but I do host FTP and a few other services that allow me to get to my machines at home where ever I am.

I’m writing this post today because I just happened to have to update my scripts that keep my DNS up to date when my IP changes today.

Continue reading »

Flattr this!

Aug 172013
 

sshI use ssh connections to manage remote servers it’s one of the main task in my work, so over time I’ve learnt some tricks to speed up the connection phase of the ssh protocol, so in this article I’ll show you how to:

Configure ssh to use ipv4 only
Configure ssh to use a particular authentication method
Reuse SSH Connection
Disable the Dns lookup on server side

Also if you are interested in ssh you can take a look at my previous articles about How to keep ssh connections alive on Linux and how to keep a Permanent SSH Tunnels with autossh.
Continue reading »

Flattr this!

Aug 132013
 

If you do a lot of typing it could be useful to have a program that can easily manage your custom shortcuts, create and test them.

For all these things you can use the program autokey.

AutoKey is a desktop automation utility for Linux and X11. It allows you to manage collection of scripts and phrases, and assign abbreviations and hotkeys to these. This allows you to execute a script or insert text on demand in whatever program you are using.

AutoKey features a subset of the capabilities of the popular Windows-based AutoHotkey, but is not intended as a full replacement. For a Linux-based implementation of AutoHotkey, see IronAHK. AutoKey’s GUI features a number of concepts and features inspired by the Windows program PhraseExpress.
Continue reading »

Flattr this!

Aug 012013
 

Article By Oussama Krifa

Transmission is a must for those looking for a simple and efficient BitTorrent client for convenient everyday use, especially for lovers of downloading free music and software.
The BitTorrent protocol is increasingly used, and sometimes almost indispensable, for example on a site of free music (http://www.jamendo.com/) is the official protocol, there are a few free clients such as Transmission. It is an open source, cross-platform, volunteer-based project.
Unlike some BitTorrent clients, Transmission doesn’t play games with its users to make money, consequently there are no advertisements or insidious links.
The software is not the kind to embarrass features, instead it focuses on the essentials, in order to provide a fast, lightweight and functional client: it is designed for easy, powerful use.
Continue reading »

Flattr this!