Licence
Creative Commons License

This work by Stephane KATTOOR is licensed under a Creative Commons Attribution 3.0 Unported License.
Feeling like tipping ?
If you find this blog useful, you might consider sending a few bitcoins to support it : 1BTtsC3beGJ6ysd8DhrXjdo6jVw5WD9mvY
RSS
 
RSS Feed
Follow me !
Tech@Sakana on Facebook
Search this site

Newsletter

Get latest posts by email (No spam, only posts):

Enter your email address:

Delivered by FeedBurner

Categories
Monthly archives
February 2012
M T W T F S S
« Jan    
 12345
6789101112
13141516171819
20212223242526
272829  
Asterisk 101 : How to get rid of your mother-in-law … - April 30, 2011 by Stephane Kattoor

… or anyone else really, with a little trick to implement a black list and filter unwanted callers.
read this entry »

Asterisk 101 – Ghetto GoogleVoice : Signing up for / using GV even if you’re not in the USA using Asterisk - January 9, 2011 by Stephane Kattoor

GoogleVoice (GV for short) is a great service (I won’t go into the details, but you can read up about it here), but it is unfortunately accessible only if you are in the USA.
Granted there is already plenty of documentation about how to circumvent this, but I’m not aware of any of those using Asterisk.

So this post will document how to sign up for a GV account as well as how to use it with Asterisk afterwards, in the prospect of using it if you are not in the USA.

In order to be able to sign up for GV, you need to meet 2 prerequisites :

  1. You need to have a US IP address
  2. You need to have a US phone number, which will be used to validate your GV account

Step 1 is left as an exercise to the reader (“Good luck ! I’m behind 7 proxies !” :D ).

Step 2 is the one we’re going to describe here, as an example of what you can pull with simple Asterisk configurations.

read this entry »

Unix 101 : Filesystem basics & Special files - December 8, 2010 by Stephane Kattoor

This post is meant to clarify a few key concepts about Unix filesystems such as directory permissions, hardlinks and symlinks.

read this entry »

D-Bus introduction in Perl - March 8, 2009 by Stephane Kattoor

As stated in Wikipedia :

D-Bus (Desktop Bus) is a simple inter-process communication (IPC) system for software applications to communicate with one another.

This post provides a simple code snippet in Perl to help you getting started with D-Bus programming. read this entry »

Gentoo : Managing software packages - November 9, 2008 by Stephane Kattoor

In this post I’ll cover the basics one needs to know to install, upgrade and remove packages on a Gentoo linux system. read this entry »

Linux : Using loop devices (eg : mounting an ISO file) - January 13, 2008 by Stephane Kattoor

If you downloaded an ISO file and you want to mount it into your filesystem, you can proceed as follows :

spaghetti% sudo losetup /dev/loop0 cdrom.iso 
spaghetti% sudo mount /dev/loop0 /mnt 
spaghetti% ls /mnt 
Autorun.inf  setup.exe  setup.ico
spaghetti% 
[...]
spaghetti% sudo umount /mnt
spaghetti% sudo losetup -d /dev/loop0

This will use the feature known as “loop devices”, which lets you use a file as a device, and subsequently mount it as it would be one.

You can of course mount an ISO using loop devices, but there is more to it. You could for example mount a ciphered file containing an EXT2 filesystem.

Check out the man page for more details.

Linux : Taking control of Virtual Terminals (VT) from command line - December 1, 2007 by Stephane Kattoor

When you use Linux in text mode (as opposed to with an X server), you readily have access to multiple Virtual Terminals (aka VT for short) by hitting one of your <Alt-Fn> keys (if you are running a X server, you’ll need to hit <Ctrl-Alt-Fn> simultaneously).

This lets you access one of the VTs which are initialized at boot time, but won’t let you create new ones even if your kernel configuration would allow more VTs. Furthermore, what if you want to deal with VTs from a script ?

This post covers the 3 commands which will let you control your VTs from the command line or from a script.

read this entry »

Who am I ?
Ads