<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Quails home away from the nest</title>
	<atom:link href="http://quail.southernvaleslug.org/webblog/feed" rel="self" type="application/rss+xml" />
	<link>http://quail.southernvaleslug.org/webblog</link>
	<description>The significant problems we face cannot be solved at the same level of thinking we were at when we created them - Albert Einstein</description>
	<lastBuildDate>Mon, 21 Jun 2010 00:33:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Howto: Not have Nouveau kernel module take over nVidia drivers</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/243</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/243#comments</comments>
		<pubDate>Mon, 21 Jun 2010 00:33:24 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Xorg]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=243</guid>
		<description><![CDATA[Since the last Debian testing kernel (2.6.32.5) update, I have rebooted and found myself being in what seems to be a kernel issue, where by a module &#8220;nouveau&#8221; by default seized control of the graphics card which prevents the nVidia driver from loading and would not allow me to compile and install the nVidia proprietary [...]]]></description>
			<content:encoded><![CDATA[<p>Since the last Debian testing kernel (2.6.32.5) update, I have rebooted and found myself being in what seems to be a kernel issue, where by a module &#8220;nouveau&#8221; by default seized control of the graphics card which prevents the nVidia driver from loading and would not allow me to compile and install the nVidia proprietary driver either. I also didn&#8217;t not have &#8220;xserver-xorg-video-nouveau&#8221; installed.</p>
<p>Here is the work around I used to resolve the problem.</p>
<p>If you use grub2 then edit</p>
<blockquote><p>
/etc/default/grub
</p></blockquote>
<p>then add</p>
<blockquote><p>
nouveau.modeset=0
</p></blockquote>
<p>to the end of the line that reads</p>
<blockquote><p>
GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet&#8221;
</p></blockquote>
<p>(&#8220;quiet&#8221; seems a typical default option), so that that line now reads</p>
<blockquote><p>
GRUB_CMDLINE_LINUX_DEFAULT=&#8221;quiet nouveau.modeset=0&#8243;
</p></blockquote>
<p>run</p>
<blockquote><p>
update-grub2
</p></blockquote>
<p>and reboot.</p>
<p>Now go through and install you nVidia drivers as per normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/243/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adelaide&#8217;s Ubuntu 10.04 (Lucid Lynx) Release Party</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/236</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/236#comments</comments>
		<pubDate>Thu, 22 Apr 2010 13:53:33 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=236</guid>
		<description><![CDATA[Adelaide&#8217;s Ubuntu 10.04 (Lucid Lynx) Release Party
 Location: Hacker Space/Format &#8211; 15 Peel St, Adelaide
 Time: Thursday 29th April, 5:30pm &#8211; 9:30pm
Come along and help us celebrate another Ubuntu Release with Bill the Penguin.
BYO Everything. (Drinks, Nibbles etc available from Convenience Stores, located conveniently in all directions.)
This is also an opportunity to meet people involved [...]]]></description>
			<content:encoded><![CDATA[<p>Adelaide&#8217;s Ubuntu 10.04 (Lucid Lynx) Release Party<br />
 <strong>Location:</strong> Hacker Space/Format &#8211; 15 Peel St, Adelaide<br />
 <strong>Time:</strong> Thursday 29th April, 5:30pm &#8211; 9:30pm<br />
Come along and help us celebrate another Ubuntu Release with Bill the Penguin.</p>
<p>BYO Everything. (Drinks, Nibbles etc available from Convenience Stores, located conveniently in all directions.)</p>
<p>This is also an opportunity to meet people involved in the Hackerspace, and if you are a Hackerspace regular, feel free to bring along your projects and treat this like a regular Hackerspace meeting.</p>
<p><iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=15+Peel+St,+Adelaide&amp;sll=-34.92383,138.59798&amp;sspn=0.000539,0.001321&amp;ie=UTF8&amp;hq=&amp;hnear=15+Peel+St,+Adelaide+South+Australia+5000,+Australia&amp;ll=-34.9143,138.602228&amp;spn=0.008621,0.021136&amp;t=h&amp;z=14&amp;output=embed"></iframe><br /><small><a href="http://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=15+Peel+St,+Adelaide&amp;sll=-34.92383,138.59798&amp;sspn=0.000539,0.001321&amp;ie=UTF8&amp;hq=&amp;hnear=15+Peel+St,+Adelaide+South+Australia+5000,+Australia&amp;ll=-34.9143,138.602228&amp;spn=0.008621,0.021136&amp;t=h&amp;z=14" style="color:#0000FF;text-align:left" onclick="window.open(this.href); return false">View Larger Map</a></small></p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/236/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internode Usage meter for Conky</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/210</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/210#comments</comments>
		<pubDate>Thu, 08 Apr 2010 09:03:21 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Bash]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Eye Candy]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Internode]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=210</guid>
		<description><![CDATA[This is a rework of the script from Internet Usage Monitoring &#8211; conky style! But the only problem I found is that it not wanted to work with my NodeMobile account.  So here is my rewrite of parts of the script to use the other Internode Usage API url.
One thing you need to find [...]]]></description>
			<content:encoded><![CDATA[<p>This is a rework of the script from <a href="http://matt.bottrell.com.au/archives/305-Internet-Usage-Monitoring-conky-style!.html" onclick="window.open(this.href); return false">Internet Usage Monitoring &#8211; conky style!</a> But the only problem I found is that it not wanted to work with my NodeMobile account.  So here is my rewrite of parts of the script to use the other <a href="http://www.internode.on.net/" onclick="window.open(this.href); return false">Internode</a> Usage API url.</p>
<p>One thing you need to find out for this script to work is the service number for the account you want to get the usage for. That can be easily obtained by pointing your web browser to <a href="https://customer-webtools-api.internode.on.net/api/v1.5/" onclick="window.open(this.href); return false">https://customer-webtools-api.internode.on.net/api/v1.5/</a> and logging in.</p>
<p><span id="more-210"></span><br />
<strong>This is old code please refer to <a href="http://quail.southernvaleslug.org/pub/node-usage/" onclick="window.open(this.href); return false">http://quail.southernvaleslug.org/pub/node-usage/</a></strong></p>
<p>On the page is the number you need to add to &#8217;service=XXXXXXX&#8217; in the scipt below</p>
<blockquote><p><code><br />
#!/bin/bash<br />
## node-usage.sh<br />
## Author:<br />
## Quail <quail .linux@gmail.com> http://quail.southernvaleslug.org<br />
## Created on 8th April 2010.<br />
## Licensed under the GPL version 3.</p>
<p>## Get usage information from Internode's web page.<br />
## requires: curl and gawk</p>
<p># Set the username, password and service number<br />
service=XXXXXXX<br />
id=XXXXXXX<br />
pw=XXXXXXX</p>
<p># Grab the details<br />
curl -s -u $id:$pw https://customer-webtools-api.internode.on.net/api/v1.5/$service/usage >/tmp/usage.xml</p>
<p># Process the usage.xml<br />
rollover=`cat /tmp/usage.xml |sed -n 2p|cut -d"=" -f5|cut -d'"' -f2`<br />
quota=`cat /tmp/usage.xml |sed -n 2p|cut -d"=" -f7|cut -d'"' -f2`<br />
used=`cat /tmp/usage.xml |sed -n 2p|cut -d">" -f6|cut -d"< " -f1`</p>
<p># Break up the values into their respective parts<br />
echo "$used $quota" > /tmp/node-text.txt<br />
echo "Used: `cat /tmp/node-text.txt | gawk '{print $1/1000/1000}'` MB Quota: `cat /tmp/node-text.txt | gawk '{print $2/1000/1000}'` MB Period Ends: $rollover" > /tmp/node-usage.txt</p>
<p># Generate the percent used.<br />
cat /tmp/node-text.txt | gawk '{print $1/$2*100}' > /tmp/node-graph.txt<br />
percent=`cat /tmp/node-graph.txt`<br />
echo $(printf %.0f $percent) > /tmp/node-percent.txt</p>
<p>exit<br />
</quail></code>
</p></blockquote>
<p>Now make the script executable and run it from cron.</p>
<p>This how I have display the info in Conky</p>
<blockquote><p>
<code><br />
${color #5b6dad}Internode Usage: ${hr 1}<br />
${color #7f8ed3} ${execi 900 cat /tmp/node-percent.txt}% ${execibar 900 cat /tmp/node-graph.txt}<br />
${color #7f8ed3} ${execi 900 cat /tmp/node-usage.txt}<br />
</code>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/210/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto: Asterisk and Opensource implementation of G.729 codec</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/201</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/201#comments</comments>
		<pubDate>Thu, 17 Dec 2009 03:23:45 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=201</guid>
		<description><![CDATA[DISCLAIMER:
You might still have to pay royalty fees to the G.729 patent holders for using their algorithm
With Asterisk when you place a call or receive a call you&#8217;ll get a warning about translation from ulaw to g729.
For example:

[Dec 16 09:48:56] WARNING[1143]: channel.c:2811 set_format: Unable to find a codec translation path from ulaw to g729

With little [...]]]></description>
			<content:encoded><![CDATA[<p><strong>DISCLAIMER:</strong><br />
You might still have to pay royalty fees to the G.729 patent holders for using their algorithm</p>
<p>With Asterisk when you place a call or receive a call you&#8217;ll get a warning about translation from ulaw to g729.<br />
For example:</p>
<blockquote><p>
[Dec 16 09:48:56] WARNING[1143]: channel.c:2811 set_format: Unable to find a codec translation path from ulaw to g729
</p></blockquote>
<p>With little googling I found out this is rather easy problem to fix.</p>
<p><span id="more-201"></span><br />
You can download the source or binary G.723 or G.729 codecs from <a href="http://asterisk.hosting.lv/" onclick="window.open(this.href); return false">here</a>.</p>
<p>This what I did to implement the G.729 codec.</p>
<p><strong>Download:</strong><br />
First off I downloaded the binary codec for the version of Asterisk and processor type needed and the MD5SUM file on the machine I running Asterisk on.</p>
<blockquote><p>
$ wget http://asterisk.hosting.lv/bin/codec_g729-ast14-gcc4-glibc-pentium.so ; wget http://asterisk.hosting.lv/bin/MD5SUM
</p></blockquote>
<p>Checked the MD5SUM to make sure the downloaded binary is ok</p>
<blockquote><p>
$ md5sum -c MD5SUM
</p></blockquote>
<p><strong>Installation:</strong><br />
Now to copy or move the binary into Asterisk modules directory as root (login if needed)</p>
<blockquote><p>
# cp codec_g729-ast14-gcc4-glibc-pentium /usr/lib/asterisk/modules/
</p></blockquote>
<p>All that is left to do is load the module into Asterisk as root</p>
<p>First log into Asterisk&#8217;s CLI</p>
<blockquote><p>
# asterisk -r
</p></blockquote>
<p>Now to load the module</p>
<blockquote><p>
localhost*CLI> module load codec_g729-ast14-gcc4-glibc-pentium.so
</p></blockquote>
<p>All that is left to do is to check the module has loaded correctly and that is done by typing</p>
<blockquote><p>
localhost*CLI> core show translation recalc 10
</p></blockquote>
<p>Above command will take little bit to calculate and show and ouput<br />
Example output</p>
<blockquote>
<pre>
localhost*CLI> core show translation recalc 10
         Recalculating Codec Translation (number of sample seconds: 10)

         Translation times between formats (in milliseconds) for one second of data
          Source Format (Rows) Destination Format (Columns)

          g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722
     g723    -  58   13   13       32    14   12    43  117   210    -   32    -
      gsm  350   -   21   21       40    22   20    51  125   218    -   40    -
     ulaw  331  47    -    1       21     3    1    32  106   199    -   21    -
     alaw  331  47    1    -       21     3    1    32  106   199    -   21    -
 g726aal2  349  65   20   20        -    21   19    50  124   217    -    1    -
    adpcm  331  47    2    2       21     -    1    32  106   199    -   21    -
     slin  330  46    1    1       20     2    -    31  105   198    -   20    -
    lpc10  354  70   25   25       44    26   24     -  129   222    -   44    -
<strong>     g729  358  74   29   29       48    30   28    59    -   226    -   48    -</strong>
    speex  370  86   41   41       60    42   40    71  145     -    -   60    -
     ilbc    -   -    -    -        -     -    -     -    -     -    -    -    -
     g726  348  64   19   19        1    20   18    49  123   216    -    -    -
     g722    -   -    -    -        -     -    -     -    -     -    -    -    -
</pre>
</blockquote>
<p>As you can see our newly installed codec is working <img src='http://quail.southernvaleslug.org/webblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>References:</strong><br />
<a href="http://www.voip-info.org/wiki/view/Asterisk+G.729+Licensing" onclick="window.open(this.href); return false">Asterisk G.729 Licensing</a><br />
<a href="http://asterisk.hosting.lv/" onclick="window.open(this.href); return false">G.729 and G.723.1 codecs x86 (and x86_64) Linux and FreeBSD binaries for Asterisk open source PBX</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/201/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto: Asterisk 1.4.21 connection to VoIP Provider under Debian</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/176</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/176#comments</comments>
		<pubDate>Wed, 16 Dec 2009 04:58:00 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=176</guid>
		<description><![CDATA[Prerequisites:
Lots of caffeine
Long finger nails (they will be short by the end)
Needing a hair cut (might be bald by the end)
Note: I am just joking about the prerequisites, I found it hard to get stuff right cause a lot of howtos out there are bit vague and cryptic. So here is my attempt to make [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Prerequisites:</strong><br />
Lots of caffeine<br />
Long finger nails (they will be short by the end)<br />
Needing a hair cut (might be bald by the end)</p>
<p><strong>Note:</strong> I am just joking about the prerequisites, I found it hard to get stuff right cause a lot of howtos out there are bit vague and cryptic. So here is my attempt to make it a bit easier for others to setup Asterisk and connect to a VoIP provider. </p>
<p><strong>What is Asterisk:</strong></p>
<blockquote><p>Asterisk is software that turns an ordinary computer into a voice communications server. Asterisk is the world&#8217;s most powerful and popular telephony development tool-kit. It is used by small businesses, large businesses, call centers, carriers and governments worldwide. Asterisk is open source and is available free to all under the terms of the GPL.</p></blockquote>
<p><span id="more-176"></span></p>
<p><strong>Note:</strong><br />
For this howto we will be logged in as root, I take no responsibility to what may or may not damage or happen to your system.</p>
<p><strong>Installing Asterisk:</strong></p>
<blockquote><p># apt-get install asterisk</p></blockquote>
<p>Under Debian Lenny this is the packages it will download and install. A lot of the packages it installs you may not need especially if you don&#8217;t need &#8216;vpb-driver-source&#8217; for Voicetronix telephony hardware, but I will go into that later in the howto.</p>
<blockquote><p>asterisk asterisk-config asterisk-sounds-main build-essential bzip2 ca-certificates cpp cpp-4.3 debhelper dpkg-dev g++ g++-4.3 gcc gcc-4.3 gettext html2text intltool-debian libasound2 libc-client2007b libc6-dev libcompress-raw-zlib-perl libcompress-zlib-perl libcurl3 libdigest-hmac-perl libdigest-sha1-perl libfile-remove-perl libgmp3c2 libgomp1 libgsm1 libiksemel3 libio-compress-base-perl libio-compress-zlib-perl libio-stringy-perl libltdl3 libmail-box-perl libmail-sendmail-perl libmailtools-perl libmime-types-perl libmpfr1ldbl libobject-realize-later-perl libogg0 libpq5 libpri1.0 libradiusclient-ng2 libsensors3 libsnmp-base libsnmp15 libspeex1 libspeexdsp1 libsqlite0 libssh2-1 libstdc++6-4.3-dev libsys-hostname-long-perl libsysfs2 libtimedate-perl libtonezone1 liburi-perl libuser-identity-perl libvorbis0a libvorbisenc2 libvpb0 linux-libc-dev make mlock module-assistant odbcinst1debian1 openssl patch po-debconf unixodbc vpb-driver-source</p></blockquote>
<p><strong>Backup:</strong><br />
First we need to make a backup of the sip.conf and extensions.conf files that we&#8217;ll be working with in this howto.</p>
<blockquote><p># mv /etc/asterisk/sip.conf /etc/asterisk/sip.conf.bak ; mv /etc/asterisk/extensions.conf /etc/asterisk/extensions.conf.bak</p></blockquote>
<p>Now that we have moved the files we need to create a new sip.conf and extensions.conf files, change ownership and permission of them.</p>
<blockquote><p># touch /etc/asterisk/sip.conf ; chown asterisk:asterisk /etc/asterisk/sip.conf ; chmod 640 /etc/asterisk/sip.conf &#038;&#038; touch /etc/asterisk/extensions.conf ; chown asterisk:asterisk /etc/asterisk/extensions.conf ; chmod 640 /etc/asterisk/extensions.conf</p></blockquote>
<p><strong>Configuration:</strong><br />
First of we are going to start with editing the sip.conf file with our favorite editor in my case nano.</p>
<blockquote><p># nano /etc/asterisk/sip.conf</p></blockquote>
<p>This is basically what I have added to my sip.conf file. Stuff in <strong>bold</strong> is what you&#8217;ll have to change to what your VoIP provider has provided you and lines that start with <strong>;</strong> are my notes and it how to comment out stuff.</p>
<blockquote><p>
; This section is how we are logging into our VoIP provider<br />
[general]<br />
register=<strong>account</strong>:<strong>password</strong>@<strong>sip00.mynetfone.com.au</strong>/<strong>account</strong></p>
<p>; This section is how outbound calls are handle to our<br />
; VoIP provider and the codecs we want to use etc.<br />
[MyNetFone]<br />
username=<strong>account</strong><br />
type=friend<br />
secret=<strong>password</strong><br />
qualify=yes<br />
pedantic=no<br />
nat=yes<br />
insecure=port,invite<br />
host=<strong>sip00.mynetfone.com.au</strong><br />
fromdomain=<strong>sip00.mynetfone.com.au</strong><br />
port=5060<br />
fromuser=<strong>account</strong><br />
dtmfmode=rfc2833<br />
disallow=all<br />
canreinvite=no<br />
authname=<strong>account</strong><br />
allow=g729<br />
allow=alaw<br />
allow=ulaw</p>
<p>; This section is for how we connect to our VoIP provider for<br />
; inbound calls.<br />
[MyNetFone-In]<br />
username=<strong>account</strong><br />
type=friend<br />
secret=<strong>password</strong><br />
qualify=no<br />
insecure=port,invite<br />
host=<strong>sip00.mynetfone.com.a</strong>u<br />
fromuser=<strong>account</strong><br />
context=from-trunk<br />
canreinvite=no</p>
<p>; Below here is a user that has been create to be able to log<br />
; into the Asterisk server for inbound and outbound calls via<br />
; our VoIP provider.<br />
[6678]<br />
type=friend<br />
secret=1234<br />
host=dynamic<br />
defaultip=192.168.0.22<br />
dtmfmode=rfc2833<br />
callerid=&#8221;tester&#8221; &lt;6678>
</p></blockquote>
<p>Now onto the extensions.conf file, you&#8217;ll notice some things in this file that are referred to in the sip.conf file. Again with our favorite editor this is basically what I have added to the file. As before what is <strong>bold</strong> you have change to match details given to from your VoIP provider and what is commented out with <strong>;</strong> are my notes</p>
<blockquote><p># nano /etc/asterisk/extenions.conf</p></blockquote>
<blockquote><p>
; Handle calls coming in from our VoIP provider to Asterisk<br />
; are directed to the extension 6678 on Asterisk<br />
[from-trunk]<br />
exten => <strong>account</strong>,1,Dial(SIP/6678,30)<br />
exten => <strong>account</strong>,2,Congestion<br />
exten => <strong>account</strong>,102,Busy</p>
<p>; Sending all outbound calls with prefix 9 via our VoIP provider.<br />
; Stripping the prefix 9 before sending call to VoIP provider.<br />
; Dial 90881234567 will become 0881234567 for example.<br />
[default]<br />
exten => _9.,1,Dial(SIP/${EXTEN:1}@MyNetFone,30)<br />
exten => _9.,2,Congestion<br />
exten => _9.,102,Busy
</p></blockquote>
<p>Ok this basically does it for the 2 configuration file we had to play with to getting a connection to our VoIP provider.</p>
<p><strong>Restarting Asterisk:</strong><br />
Now comes the fun part restarting Asterisk. This can be done a couple of ways.<br />
First we can attach to the currently running Asterisk CLI by:</p>
<blockquote><p># asterisk -r</p></blockquote>
<p>And you&#8217;ll get an output like this.</p>
<blockquote><p>
# asterisk -r<br />
Asterisk 1.4.21.2~dfsg-3, Copyright (C) 1999 &#8211; 2008 Digium, Inc. and others.<br />
Created by Mark Spencer <markster @digium.com><br />
Asterisk comes with ABSOLUTELY NO WARRANTY; type &#8216;core show warranty&#8217; for details.<br />
This is free software, with components licensed under the GNU General Public<br />
License version 2 and other licenses; you are welcome to redistribute it under<br />
certain conditions. Type &#8216;core show license&#8217; for details.<br />
=========================================================================<br />
This package has been modified for the Debian GNU/Linux distribution<br />
Please report all bugs to http://bugs.debian.org/asterisk<br />
=========================================================================<br />
Connected to Asterisk 1.4.21.2~dfsg-3 currently running on localhost (pid = 32096)<br />
localhost*CLI><br />
</markster></p></blockquote>
<p>From here to restart Asterisk we type:</p>
<blockquote><p>restart now</p></blockquote>
<p>example:</p>
<blockquote><p>localhost*CLI> restart now </p></blockquote>
<p>Also Asterisk CLI is TAB auto complete friendly <img src='http://quail.southernvaleslug.org/webblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The second way is depended on which ever way you prefer to restart services, in terminal to just type:</p>
<blockquote><p># invoke-rc.d asterisk restart</p></blockquote>
<p>or</p>
<blockquote><p># /etc/init.d/asterisk restart</p></blockquote>
<p><strong>Is it working:</strong><br />
Now that we have restarted Asterisk, lets connect back into Asterisk&#8217;s CLI:</p>
<blockquote><p># asterisk -r</p></blockquote>
<p>We need to now check that we have connected and logged into our VoIP provider and we do this by typing:</p>
<blockquote><p>localhost*CLI> sip show registry</p></blockquote>
<p>Example output:</p>
<blockquote><p>
localhost*CLI> sip show registry </p>
<pre>
Host                            Username       Refresh State                Reg.Time
sip00.mynetfone.com.au:5060     <strong>account</strong>           105 Registered           Wed, 16 Dec 2009 14:56:29
</pre>
</blockquote>
<p>If we done everything correctly we should be able to make and receive calls through our VoIP provider from another computer or laptop with a softphone installed like Ekiga that is logged into the Asterisk server.</p>
<p><strong>Clean Up:</strong><br />
As I mentioned earlier in this howto that there may packages installed that you not need for example &#8216;vpb-driver-source&#8217; for Voicetronix telephony hardware. As I not needed it, to uninstall it and all the development and compiler packages all you need to do is:</p>
<blockquote><p>
# apt-get remove &#8211;purge build-essential bzip2 cpp cpp-4.3 debhelper dpkg-dev g++ g++-4.3 gcc gcc-4.3 gettext html2text intltool-debian libc6-dev libcompress-raw-zlib-perl libcompress-zlib-perl libdigest-hmac-perl libdigest-sha1-perl libfile-remove-perl libgmp3c2 libgomp1 libio-compress-base-perl libio-compress-zlib-perl libio-stringy-perl libmail-box-perl libmail-sendmail-perl libmailtools-perl libmime-types-perl libmpfr1ldbl libobject-realize-later-perl libstdc++6-4.3-dev libsys-hostname-long-perl libtimedate-perl liburi-perl libuser-identity-perl linux-libc-dev make module-assistant patch po-debconf vpb-driver-source
</p></blockquote>
<p><strong>Ending:</strong><br />
Now that all the hard work is over and done with, can sit back with a beer and call up a mate and have a yarn(chat) and enjoy to spoils of having our own PBX. <img src='http://quail.southernvaleslug.org/webblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/176/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TO: God. com Dear Lord,</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/173</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/173#comments</comments>
		<pubDate>Tue, 24 Nov 2009 00:14:43 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=173</guid>
		<description><![CDATA[This is a little poem that was in the local town newsletter.  Origin of this poem is unknown, But enjoy  
Every single evening, As I&#8217;m lying here in bed,
This tiny little Prayer, Keeps running through my head
God bless all my family, Wherever they may be,
Keep them warm and safe from harm
For they&#8217;re so [...]]]></description>
			<content:encoded><![CDATA[<p>This is a little poem that was in the local town newsletter.  Origin of this poem is unknown, But enjoy <img src='http://quail.southernvaleslug.org/webblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Every single evening, As I&#8217;m lying here in bed,<br />
This tiny little Prayer, Keeps running through my head<br />
God bless all my family, Wherever they may be,<br />
Keep them warm and safe from harm<br />
For they&#8217;re so close to me.<br />
And God, there is one more thing<br />
I wish that you could do;<br />
Hope you don&#8217;t mind mind me asking,<br />
Please bless my computer, too.</p>
<p>Now I know that it&#8217;s unusual, To bless a motherboard,<br />
But listen just a second, While I explain it to you, Lord.<br />
You see, that little metal box, Holds more than odds and ends;<br />
Inside those small compartments, Rest so many of my friends.<br />
I know so much about them, By the kindness that they give,<br />
And this little scrap of metal takes me in to where they live.<br />
By faith is how I know them, Much the same as you.<br />
We share in what life brings us, And from that our friendships grew.</p>
<p>Please take an extra minute, From your duties up above,<br />
To bless those in my address book, That&#8217;s filled with so much love.<br />
Wherever else this prayer may reach,<br />
To each and every friend;<br />
Bless each e-mail inbox, And each person who hits &#8217;send&#8217;<br />
When you update your heavenly list,<br />
On your own great CD-ROM,<br />
Bless everyone who says this prayer<br />
Send up to GOD. com</p>
<p>Amen</p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/173/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Acer Aspire Timeline 4810T laptop and Backlight Control, part 2.</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/168</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/168#comments</comments>
		<pubDate>Sun, 11 Oct 2009 18:42:51 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=168</guid>
		<description><![CDATA[I have GREAT news for the 4810T owners the 2.30 BIOS[1], we now have backlight control keys working
There is a catch after you upgrade[2] to the 2.30 BIOS you will get a freeze type effect on the desktop (well I did). Also I noticed that my WiFi went funny to and I could not ping [...]]]></description>
			<content:encoded><![CDATA[<p>I have GREAT news for the 4810T owners the 2.30 BIOS[1], we now have backlight control keys working</p>
<p>There is a catch after you upgrade[2] to the 2.30 BIOS you will get a freeze type effect on the desktop (well I did). Also I noticed that my WiFi went funny to and I could not ping anything even tho Net. Mgr. was say I was connected to AP.</p>
<p>So DON&#8217;T play with backlight key till done the below changes.</p>
<p>You have to change from</p>
<blockquote><p>xrandr &#8211;output LVDS &#8211;set BACKLIGHT_CONTROL native</p></blockquote>
<p>to</p>
<blockquote><p>xrandr &#8211;output LVDS &#8211;set BACKLIGHT_CONTROL kernel</p></blockquote>
<p>or</p>
<blockquote><p>xrandr &#8211;output LVDS &#8211;set BACKLIGHT_CONTROL combination</p></blockquote>
<p><strong>References:</strong><br />
[1] <a href="http://support.acer-euro.com/drivers/downloads_gd.html" onclick="window.open(this.href); return false">http://support.acer-euro.com/drivers/downloads_gd.html</a><br />
[2] <a href="http://www.netbooktech.com/tag/acer-aspire-one-bios-update-instructions/" onclick="window.open(this.href); return false">Howto BIOS Update</a></p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/168/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up NTP to update from a GPS</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/149</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/149#comments</comments>
		<pubDate>Mon, 05 Oct 2009 19:55:27 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=149</guid>
		<description><![CDATA[This is just a quick how to to setup NTP to update from a GPS
Installing software needed for the GPS:

# apt-get install gpsd

If you already not done so connect the GPS to your computer you are wanting to run it on and confirm it is connected with lsusb

$ lsusb
Bus 001 Device 003: ID 067b:2303 Prolific [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a quick how to to setup NTP to update from a GPS</p>
<p>Installing software needed for the GPS:</p>
<blockquote><p>
# apt-get install gpsd
</p></blockquote>
<p>If you already not done so connect the GPS to your computer you are wanting to run it on and confirm it is connected with lsusb</p>
<blockquote><p>
$ lsusb<br />
Bus 001 Device 003: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
</p></blockquote>
<p>My GPS is a <a href="http://www.usglobalsat.com/p-62-bu-353-w.aspx" onclick="window.open(this.href); return false">USGlobalSat BU 353</a></p>
<p>Now to configure gpsd:</p>
<blockquote><p>
# dpkg-reconfigure gpsd
</p></blockquote>
<p>There just a few questions to answer.<br />
First question asks you if you like to have gpsd to start at boot, I answered YES<br />
Second question ask you to were tthe GPS is connected, in my case it was /dev/ttyUSB0<br />
The last 2 questions I just left them as is.</p>
<p><span id="more-149"></span><br />
Now to setup up NTP to talk / work with the GPS by editing the /etc/ntp.conf file:</p>
<blockquote><p>
# nano /etc/ntp.conf
</p></blockquote>
<p>This is what I added to my /etc/ntp.conf file:</p>
<blockquote><p>
# LinuxPPS: GPS + PPS (comment out either this whole section or the next one)<br />
server 127.127.20.0 minpoll 4 prefer<br />
fudge 127.127.20.0 flag3 1 flag2 0</p>
<p># SHM: PPS filtered mean (comment out either this whole section or the previous one)<br />
server 127.127.28.0 minpoll 4 prefer<br />
fudge 127.127.28.0 refid PPS flag3 1
</p></blockquote>
<p>Now we need to restart the ntp server cause the changes we made to the /etc/ntp.conf file</p>
<blockquote><p>
# /etc/init.d/ntp restart<br />
Stopping NTP server: ntpd.<br />
Starting NTP server: ntpd.
</p></blockquote>
<p>To confirm that the ntp server is using the GPS all we have to do is:</p>
<blockquote><p>
$ ntpq -p
</p></blockquote>
<p>And you get and output like this:</p>
<blockquote><p>
$ ntpq -p</p>
<pre>
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
+mirror.dedicate 128.250.36.3     2 u   52   64   17   55.405    3.643   0.953
+203-80-162-195. 203.12.160.2     3 u   54   64   17   43.456    2.346   0.880
*a.pool.ntp.uq.e 130.102.152.7    2 u   51   64   17   57.256    1.722   2.129
+ds001.hostingsh 128.250.36.2     2 u   50   64   17   55.676    1.890   1.111
<strong>xGPS_NMEA(0)     .GPS.            0 l   10   16  377    0.000  -827.80   7.543</strong>
 <strong>SHM(0)          .PPS.            0 l    -   16    0    0.000    0.000   0.001</strong>
 192.168.1.255 .BCST.            16 u    -   64    0    0.000    0.000   0.001
 192.168.2.255 .BCST.            16 u    -   64    0    0.000    0.000   0.001
</pre>
</blockquote>
<p>These couple lines show that the NTP server is using the GPS to update the time:</p>
<blockquote>
<pre>
xGPS_NMEA(0)     .GPS.            0 l    5   16  377    0.000  -827.34   8.128
 SHM(0)          .PPS.            0 l    -   16    0    0.000    0.000   0.001
</pre>
</blockquote>
<p>That is all that is needed to be done, now you don&#8217;t need to be connected to the internet to update you NTP server to have the correct time.</p>
<p><strong>References:</strong><br />
<a href="http://www.eecis.udel.edu/~mills/ntp/html/index.html" onclick="window.open(this.href); return false">NTP Documentation</a><br />
<a href="http://gpsd.berlios.de/" onclick="window.open(this.href); return false">GPSd</a></p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/149/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LINK: UNetbootin</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/146</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/146#comments</comments>
		<pubDate>Mon, 05 Oct 2009 18:46:42 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=146</guid>
		<description><![CDATA[
UNetbootin allows you to create bootable Live USB drives for a variety of Linux distributions from Windows or Linux, without requiring you to burn a CD. You can either let it download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you&#8217;ve already downloaded one or your [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
UNetbootin allows you to create bootable Live USB drives for a variety of Linux distributions from Windows or Linux, without requiring you to burn a CD. You can either let it download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you&#8217;ve already downloaded one or your preferred distribution isn&#8217;t on the list.
</p></blockquote>
<p>I found this UNetbootin very useful to put FreeDOS on my USB flash drive to use to update the BIOS on my laptop. UNetbootin is also in the Debian repository too. <img src='http://quail.southernvaleslug.org/webblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>References:</strong><br />
<a href="http://unetbootin.sourceforge.net/" onclick="window.open(this.href); return false">UNetbootin</a><br />
<a href="http://packages.debian.org/search?suite=all&#038;keywords=unetbootin" onclick="window.open(this.href); return false">Debian Repository</a><br />
<a href="http://www.netbooktech.com/tag/acer-aspire-one-bios-update-instructions/" onclick="window.open(this.href); return false">Howto BIOS Update</a></p>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/146/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connecting to Internode 3G mobile wireless with wvdial</title>
		<link>http://quail.southernvaleslug.org/webblog/archives/136</link>
		<comments>http://quail.southernvaleslug.org/webblog/archives/136#comments</comments>
		<pubDate>Thu, 10 Sep 2009 14:45:01 +0000</pubDate>
		<dc:creator>Quail</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Internode]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://quail.southernvaleslug.org/webblog/?p=136</guid>
		<description><![CDATA[First we need to install a couple packages:

# apt-get install ppp wvdial

Now to create the most vital configuration file for the connection:

$ nano ~/.wvdial.conf

Copy and paste the config below and change the username and password to yours supplied to you by Internode.


[Dialer Defaults]
Modem = /dev/ttyUSB0
ISDN = off
Modem Type = Analog Modem
Baud = 460800
Init = ATZ
Init2 [...]]]></description>
			<content:encoded><![CDATA[<p>First we need to install a couple packages:</p>
<blockquote><p>
# apt-get install ppp wvdial
</p></blockquote>
<p>Now to create the most vital configuration file for the connection:</p>
<blockquote><p>
$ nano ~/.wvdial.conf
</p></blockquote>
<p>Copy and paste the config below and change the <em>username</em> and <em>password</em> to yours supplied to you by <a href="http://www.internode.on.net/" onclick="window.open(this.href); return false">Internode</a>.</p>
<p><span id="more-136"></span></p>
<blockquote><p>
[Dialer Defaults]<br />
Modem = /dev/ttyUSB0<br />
ISDN = off<br />
Modem Type = Analog Modem<br />
Baud = 460800<br />
Init = ATZ<br />
Init2 = ATZ<br />
Init3 = ATQ0 V1 E1 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
Init4 = AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;internode&#8221;<br />
Init5 =<br />
Init6 =<br />
Init7 =<br />
Init8 =<br />
Init9 =<br />
Phone = *99#<br />
Phone1 =<br />
Phone2 =<br />
Phone3 =<br />
Phone4 =<br />
Dial Prefix =<br />
Dial Attempts = 0<br />
Dial Command = ATM1L3DT<br />
Ask Password = off<br />
Password = <strong>change me</strong><br />
Username = <strong>change me</strong><br />
Auto Reconnect = off<br />
Abort on Busy = off<br />
Carrier Check = off<br />
Check Def Route = on<br />
Abort on No Dialtone = off<br />
Stupid Mode = on<br />
Idle Seconds = 0<br />
Auto DNS = off<br />
;Domain =<br />
;Nameserver = 192.231.203.132<br />
;Nameserver2 = 192.231.203.3<br />
;Minimize = off<br />
;Dock = on<br />
;Do NOT edit this file by hand!
</p></blockquote>
<p>Now to make the connection to Internode:</p>
<blockquote><p>
$ pon.wvdial -C ~/.wvdial.conf
</p></blockquote>
<p>To disconnect just type:</p>
<blockquote><p>
$ poff
</p></blockquote>
<p>Now you are ready and setup to surf the web. <img src='http://quail.southernvaleslug.org/webblog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>Notes</strong><br />
If you are not comfortable using terminal you can install <em>gnome-ppp</em> to control the connection for you as it uses the <em>~/.wvdial.conf</em> file.</p>
<blockquote><p>
# apt-get install gnome-ppp
</p></blockquote>
<p>The only other problem I have noticed is that you may have to edit <em>/etc/resolv.conf</em> file on the fly after making connection to Internode as you not get the correct DNS servers. This is easy to fix by editing the <em>/etc/resolv.conf</em> and adding the DNS servers.</p>
<blockquote><p>
# nano /etc/resolv.conf
</p></blockquote>
<p>And at the top of the file add:</p>
<blockquote><p>
nameserver 192.231.203.132<br />
nameserver 192.231.203.3
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://quail.southernvaleslug.org/webblog/archives/136/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
