<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>&#039;Gasy geek</title>
	<atom:link href="http://randrianiriana.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://randrianiriana.wordpress.com</link>
	<description>malagasy geek miblaogy ...</description>
	<lastBuildDate>Thu, 19 Jan 2012 11:29:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='randrianiriana.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/4158d519a3b35dcd161416835500605b?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>&#039;Gasy geek</title>
		<link>http://randrianiriana.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://randrianiriana.wordpress.com/osd.xml" title="&#039;Gasy geek" />
	<atom:link rel='hub' href='http://randrianiriana.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Gns3 + patched qemu 0.15.0 + debian wheezy/sid</title>
		<link>http://randrianiriana.wordpress.com/2011/11/06/gns3-patched-qemu-0-15-0-debian-wheezysid/</link>
		<comments>http://randrianiriana.wordpress.com/2011/11/06/gns3-patched-qemu-0-15-0-debian-wheezysid/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 16:59:21 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[gns3]]></category>
		<category><![CDATA[qemu]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=455</guid>
		<description><![CDATA[Qemu 0.15.0 is in unstable now and I have to patch it to emulate normally Cisco ASA 8.0(X) with Gns3, you have to do it also if you want emulate Juniper routers. This patch is necessary for UDP tunnels and multicast. I wrote this post to help debian users to achieve it. Update your sources.list [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=455&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Qemu 0.15.0 is in unstable now and I have to patch it to emulate normally Cisco ASA 8.0(X) with <a href="http://www.gns3.net">Gns3</a>, you have to do it also if you want emulate Juniper routers. This patch is necessary for UDP tunnels and multicast. I wrote this post to help debian users to achieve it.</p>
<p>Update your sources.list by adding a deb-src repository, for example here is my /etc/apt/sources.list:</p>
<p><pre class="brush: plain;">
deb http://mirror.malagasy.com/debian/ sid main contrib non-free  
deb http://mg.debian.net/debian/ sid main contrib non-free
deb-src ftp://mg.debian.net/debian/ sid main contrib non-free  
</pre></p>
<p>Run as superuser:</p>
<p><pre class="brush: plain;">
aptitude update
</pre></p>
<p>Fetch the qemu package source:</p>
<p><pre class="brush: plain;">
cd /tmp/
apt-get source qemu
wget http://code.gns3.net/qemu-patches/archive/8eb98a728e4f.tar.bz2
tar jxvf 8eb98a728e4f.tar.bz2
cd qemu-patches-8eb98a728e4f/
cat *.patch &gt; ../qemu-0.15.0+dfsg/debian/patches/gns3.patch
echo &quot;gns3.patch&quot; &gt;&gt; ../qemu-0.15.0+dfsg/debian/patches/series 
cd ../qemu-0.15.0+dfsg/
apt-get install build-essential devscripts
apt-get build-dep qemu
debuild -us -uc
dpkg -i ../qemu*.deb
</pre></p>
<p>You can prevent an upgrade by pinning qemu:</p>
<p><pre class="brush: plain;">
aptitude hold qemu
</pre></p>
<p>Vita tompoko!!</p>
<p>Some useful links for you <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>- <a href="http://code.gns3.net/qemu-patches/" title="gns3 qemu patches repo">http://code.gns3.net/qemu-patches/</a><br />
- <a href="http://forum.gns3.net/topic2784.html">http://forum.gns3.net/topic2784.html</a><br />
- <a href="http://blog.gns3.net/2009/12/how-to-emulate-cisco-asa/">http://blog.gns3.net/2009/12/how-to-emulate-cisco-asa/</a><br />
- <a href="http://blog.gns3.net/2009/10/olive-juniper/2/">http://blog.gns3.net/2009/10/olive-juniper/2/</a><br />
- <a href="http://www.mediafire.com/?p1izkcij9rkbp87">http://www.mediafire.com/?p1izkcij9rkbp87</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/455/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/455/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/455/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=455&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/11/06/gns3-patched-qemu-0-15-0-debian-wheezysid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>
	</item>
		<item>
		<title>convertir ma partition /home ext3 en ext4</title>
		<link>http://randrianiriana.wordpress.com/2011/10/20/convertir-ma-partition-home-ext3-en-ext4/</link>
		<comments>http://randrianiriana.wordpress.com/2011/10/20/convertir-ma-partition-home-ext3-en-ext4/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 18:23:02 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ext3]]></category>
		<category><![CDATA[ext4]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=442</guid>
		<description><![CDATA[Comme je suis impatient et que j&#8217;en ai marre d&#8217;attendre le fsck de ma partition /home qui fait ~90GB une ou deux fois par semaine. Oui, oui, je sais, je peux changer cela avec tune2fs pour que ça arrive moins souvent mais ext4 m&#8217;a tenté ce soir. Enfin j&#8217;ai déjà monté ma partition ext3 en [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=442&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Comme je suis impatient et que j&#8217;en ai marre d&#8217;attendre le fsck de ma partition /home qui fait ~90GB une ou deux fois par semaine. Oui, oui, je sais, je peux changer cela avec tune2fs pour que ça arrive moins souvent mais ext4 m&#8217;a tenté ce soir. Enfin j&#8217;ai déjà monté ma partition ext3 en ext4 depuis 2 ou 3 mois.</p>
<p>La longue explication est <a href="http://kernelnewbies.org/Ext4">ici</a>. En résumé les principaux avantages par rapport à ext3 sont :</p>
<ul>
<li>ext4 peut supporter un système de fichier très grand (1 EiB ou 2<sup>60 </sup>octets) que ext3 (16TiB)</li>
<li>ext4 peut supporter un fichier très volumineux (16TiB ou 16To) que ext3 (16GiB)</li>
<li>&#8230;</li>
<li>ext4 est très rapide lors d&#8217;un fsck</li>
</ul>
<p>Donc pour les impatients, ceci est les manips que j&#8217;ai sur une partition non-racine / ou /boot .</p>
<p>df -h</p>
<p>Filesystem            Size  Used Avail Use% Mounted on<br />
&#8230;<br />
/dev/mapper/vg0-home   89G   80G  4,7G  95% /home<br />
&#8230;</p>
<p><pre class="brush: bash;">
umount /dev/mapper/vg0-home
fsck.ext3 -pf /dev/mapper/vg0-home
tune2fs -O extents,uninit_bg,dir_index /dev/mapper/vg0-home
fsck.ext4 -yfD /dev/mapper/vg0-home
emacs /etc/fstab
mount -a
</pre></p>
<p>N&#8217;oubliez pas de modifier et de tester votre fstab</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/442/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=442&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/10/20/convertir-ma-partition-home-ext3-en-ext4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>
	</item>
		<item>
		<title>mod_fcgid: read data timeout in 40 seconds</title>
		<link>http://randrianiriana.wordpress.com/2011/10/16/mod_fcgid-read-data-timeout-in-40-seconds/</link>
		<comments>http://randrianiriana.wordpress.com/2011/10/16/mod_fcgid-read-data-timeout-in-40-seconds/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 20:23:38 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[fcgid]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=436</guid>
		<description><![CDATA[Today, I get this error : [Sun Oct 16 22:46:18 2011] [warn] [client 127.0.0.1] mod_fcgid: read data timeout in 40 seconds [Sun Oct 16 22:46:18 2011] [error] [client 127.0.0.1] Premature end of script headers: index.php Just increase your &#8220;Communication timeout to FastCGI server&#8221; in your vhost by adding this line : FcgidIOTimeout 300<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=436&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today, I get this error :</p>
<p><em>[Sun Oct 16 22:46:18 2011] [warn] [client 127.0.0.1] mod_fcgid: read data timeout in 40 seconds<br />
[Sun Oct 16 22:46:18 2011] [error] [client 127.0.0.1] Premature end of script headers: index.php<br />
</em><br />
Just increase your <a href="http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidiotimeout">&#8220;Communication timeout to FastCGI server&#8221;</a> in your vhost by adding this line :</p>
<p><strong>FcgidIOTimeout 300</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/436/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/436/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/436/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=436&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/10/16/mod_fcgid-read-data-timeout-in-40-seconds/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>
	</item>
		<item>
		<title>vpnc-connect: hash comparison failed:  (ISAKMP_N_AUTHENTICATION_FAILED)(24) check group password!</title>
		<link>http://randrianiriana.wordpress.com/2011/09/29/vpnc-connect-hash-comparison-failed-isakmp_n_authentication_failed24-check-group-password/</link>
		<comments>http://randrianiriana.wordpress.com/2011/09/29/vpnc-connect-hash-comparison-failed-isakmp_n_authentication_failed24-check-group-password/#comments</comments>
		<pubDate>Thu, 29 Sep 2011 19:42:43 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[vpnc]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=396</guid>
		<description><![CDATA[If you get this error! please check your config first for example : cat -A /etc/vpnc/office.conf &#8230; IPSec secret 123456.789 $ &#8230; Here I have a SPACE!! the result must be : &#8230; IPSec secret 123456.789$ &#8230; Hope this will help.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=396&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you get this error! please check your config first for example :<br />
cat -A /etc/vpnc/office.conf<br />
&#8230;<br />
IPSec secret 123456.789 $<br />
&#8230;</p>
<p>Here I have a SPACE!! the result must be :</p>
<p>&#8230;<br />
IPSec secret 123456.789$<br />
&#8230;</p>
<p>Hope this will help.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/396/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/396/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/396/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=396&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/09/29/vpnc-connect-hash-comparison-failed-isakmp_n_authentication_failed24-check-group-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>
	</item>
		<item>
		<title>Play! framework + GAE</title>
		<link>http://randrianiriana.wordpress.com/2011/09/27/play-framework-gae/</link>
		<comments>http://randrianiriana.wordpress.com/2011/09/27/play-framework-gae/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 17:57:28 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[gae]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[playframework]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=398</guid>
		<description><![CDATA[Je voulais faire un plugin nagios qui check notre ip public périodiquement car j&#8217;ai utilisé ip sla pour basculer automatiquement entre nos deux FAI. Il y a d&#8217;autre moyen de vérifier si je suis sur l&#8217;un ou l&#8217;autre &#8230; Mon but dans ce post est d&#8217;avoir une page web qui retourne l&#8217;adresse IP que j&#8217;utilise, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=398&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Je voulais faire un plugin nagios qui check notre ip public périodiquement car j&#8217;ai utilisé ip sla pour basculer automatiquement entre nos deux FAI. Il y a d&#8217;autre moyen de vérifier si je suis sur l&#8217;un ou l&#8217;autre &#8230;</p>
<p>Mon but dans ce post est d&#8217;avoir une page web qui retourne l&#8217;adresse IP que j&#8217;utilise, c&#8217;est très facile en PHP.</p>
<p><pre class="brush: php;">
&lt;?php echo $_SERVER['REMOTE_ADDR']; ?&gt;
</pre></p>
<p>Vous mettez ça quelque part sur un serveur apache2 + php et c&#8217;est bon. Je voulais m&#8217;amuser avec Play! que je trouve accessible pour moi qui ne connais pas grand chose en Java et companie, j&#8217;étais plutôt dans CodeIgniter, Kohana, depuis quelques années&#8230; Je n&#8217;ai pas aussi un serveur sous la main pour mettre le script et j&#8217;ai pensé à Google Application Engine (GAE).</p>
<p><span id="more-398"></span></p>
<p>Je suis sur une debian (comme d&#8217;hab) et on va installer Play! 1.2.3 (c&#8217;est une idée de poster un RFP dans debian &#8230;)</p>
<p>- télécharger play 1.2.x ici http://www.playframework.org/download</p>
<p><pre class="brush: bash;">
$ wget http://download.playframework.org/releases/play-1.2.3.zip
$ unzip play-1.2.3.zip
</pre></p>
<p>Moi, j&#8217;ai un répertoire /home/thierry/bin/ pour mettre mes bin et un autre /home/thierry/local pour les softs que j&#8217;utilise localement, il y a beaucoup de gens qui utilisent /usr/local/ et /usr/local/bin, vous choisissez&#8230;</p>
<p><pre class="brush: bash;">
$ mv play-1.2.3 /home/thierry/local/play
$ cd /home/thierry/bin
$ ln -s /home/thierry/local/play/play play
</pre></p>
<p>Il faut maintenant ajouter dans le $PATH, pour cela éditer /home/thierry/.bashrc et ajouter à la fin</p>
<p><pre class="brush: bash;">
PATH=$PATH:$HOME/bin
export PATH
</pre></p>
<p>Pour tester, il faut sortir et entrer pour l&#8217;avoir dans votre path mais un &#8220;su &#8211; thierry&#8221; fera l&#8217;affaire.<br />
Il faut installer un jdk car faire du java sans jdk ce n&#8217;est pas évident. Assurez-vous que non-free est dans votre sources.list. Si vous êtes à Mada et sur<br />
DTS/TELMA :</p>
<p><pre class="brush: bash;">
deb ftp://mg.debian.net/debian/ sid main contrib non-free
</pre></p>
<p>ou ORANGE/BLUELINE</p>
<p><pre class="brush: bash;">
deb http://mirror.malagasy.com/debian/ sid main contrib non-free
</pre></p>
<p>VEuillez changer la ligne selon la version de votre debian, ici c&#8217;est sid .</p>
<p>Si vous n&#8217;avez pas encore de JDK sur votre pc, installez openjdk-6-jdk car <a href="http://sylvestre.ledru.info/blog/sylvestre/2011/08/26/sun_java6_packages_removed_from_debian_u">sun-java6-jdk n&#8217;est plus disponible dans debian</a>.</p>
<p><pre class="brush: plain;">
# aptitude update
# aptitude install openjdk-6-jdk
</pre></p>
<p>On va tester que l&#8217;installation est bonne :</p>
<p><pre class="brush: plain;">
$ play new myip
~        _            _
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/
~
~ play! 1.2.3, http://www.playframework.org
~ framework ID is card
~
~ The new application will be created in /tmp/myip
~ What is the application name? [myip]
~
~ OK, the application is created.
~ Start it with : play run myip
~ Have fun!
~
</pre></p>
<p>Ici, j&#8217;ai appelé mon app myip<br />
On va modifier le code pour afficher l&#8217;ip de celui qui le consulte</p>
<p>Modifier le fichier app/controllers/Application.java en :</p>
<p><pre class="brush: java;">
package controllers;

import play.mvc.*;

public class Application extends Controller {

    public static void index() {
        String ip = request.remoteAddress;
        render(ip);
    }
}
</pre></p>
<p>Modifier aussi app/views/Application/index.html en :</p>
<p><pre class="brush: java;">
${ip}
</pre></p>
<p>Lancer l&#8217;application avec &#8220;play run&#8221; :</p>
<p><pre class="brush: plain;">
thierry@tux:/tmp/myip$ play run
~        _            _
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/
~
~ play! 1.2.3, http://www.playframework.org
~ framework ID is card
~
~ Ctrl+C to stop
~
Listening for transport dt_socket at address: 8000
16:06:12,841 INFO  ~ Starting /tmp/myip
16:06:13,308 WARN  ~ You're running Play! in DEV mode
16:06:13,373 INFO  ~ Listening for HTTP on port 9000 (Waiting a first request to start) ...
</pre></p>
<p>Ouvrir avec votre navigateur la page <a href="http://127.0.0.1:9000/">http://127.0.0.1:9000/</a></p>
<p>Si vous vous trouvez sur le même pc, vous aurez 127.0.0.1 !<br />
Passons maintenant à la mise en ligne sur GAE, créez un compte sur <a href="https://appengine.google.com/">https://appengine.google.com/</a> et une application. Par exemple, moi j&#8217;ai créé &#8216;check-my-ip&#8217; . Après le déploiement, vous pouvez voir mon app ici <a href="http://check-my-ip.appspot.com/">http://check-my-ip.appspot.com/</a> .</p>
<p>Il faut installer le module gae dans play .</p>
<p><pre class="brush: plain;">
thierry@tux:/tmp/myip$ play install gae
~        _            _
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/
~
~ play! 1.2.3, http://www.playframework.org
~ framework ID is card
~
~ Will install gae-1.4
~ This module is compatible with: 1.1, and GAE 1.4.0
~ Do you want to install this version (y/n)? y
~ Installing module gae-1.4...
~
~ Fetching http://www.playframework.org/modules/gae-1.4.zip
~ [--------------------------100%-------------------------] 2400.0 KiB/s
~ Unzipping...
~
~ Module gae-1.4 is installed!
~ You can now use it by adding it to the dependencies.yml file:
~
~ require:
~     play -&gt; gae 1.4
~
</pre></p>
<p>Activer le module gae dans l&#8217;app.<br />
Ajouter à la fin de conf/application.conf :</p>
<p><pre class="brush: plain;">
module.gae=${play.path}/modules/gae-1.4
</pre></p>
<p>Modifier aussi conf/dependencies.yml en :</p>
<p><pre class="brush: plain;">
# Application dependencies

require:
    - play
    - play -&gt; gae 1.4
</pre></p>
<p>Lancer encore une fois</p>
<p><pre class="brush: plain;">
thierry@tux:/tmp/myip$ play run
~        _            _
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/
~
~ play! 1.2.3, http://www.playframework.org
~ framework ID is card
~
~ Ctrl+C to stop
~
Listening for transport dt_socket at address: 8000
20:44:04,168 INFO  ~ Starting /tmp/myip
20:44:04,171 WARN  ~ Declaring modules in application.conf is deprecated. Use dependencies.yml instead (module.gae)
20:44:04,172 INFO  ~ Module gae is available (/home/thierry/local/play/modules/gae-1.4)
20:44:04,657 WARN  ~
20:44:04,657 WARN  ~ Google App Engine module
20:44:04,657 WARN  ~ ~~~~~~~~~~~~~~~~~~~~~~~
20:44:04,658 WARN  ~ No Google App Engine environment found. Setting up a development environement
20:44:04,670 WARN  ~ Don't forget to define your GAE application id in the 'war/WEB-INF/appengine-web.xml' file
20:44:04,670 WARN  ~
20:44:04,670 INFO  ~ Detected that plugin 'play.modules.gae.GAEPlugin@5a199939' disabled the plugin 'play.jobs.JobsPlugin@bdccedd' the old way - should use Play.disablePlugin()
20:44:04,671 WARN  ~ You're running Play! in DEV mode
20:44:04,749 INFO  ~ Listening for HTTP on port 9000 (Waiting a first request to start) ...
</pre></p>
<p>Modifier le fichier war/WEB-INF/appengine-web.xml en remplacant check-my-ip par votre App Id sur GAE :</p>
<p><pre class="brush: plain;">
&lt;appengine-web-app xmlns=&quot;http://appengine.google.com/ns/1.0&quot;&gt;
	&lt;application&gt;check-my-ip&lt;/application&gt;
	&lt;version&gt;1&lt;/version&gt;
&lt;/appengine-web-app&gt;
</pre></p>
<p>Il nous reste à télécharger le gae sdk à l&#8217;adresse :<a href="http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Java"> http://code.google.com/appengine/downloads.html#Google_App_Engine_SDK_for_Java</a></p>
<p><pre class="brush: plain;">
wget http://googleappengine.googlecode.com/files/appengine-java-sdk-1.5.4.zip
unzip appengine-java-sdk-1.5.4.zip
</pre></p>
<p>Enfin, on déploie l&#8217;app :</p>
<p><pre class="brush: plain;">
$ play gae:deploy --gae=/home/thierry/dl/appengine/appengine-java-sdk-1.5.4/
~        _            _
~  _ __ | | __ _ _  _| |
~ | '_ \| |/ _' | || |_|
~ |  __/|_|\____|\__ (_)
~ |_|            |__/
~
~ play! 1.2.3, http://www.playframework.org
~ framework ID is card
~
~
~ Compiling
~ ---------
Listening for transport dt_socket at address: 8000
13:47:28,366 INFO  ~ Starting /home/thierry/workspace/myip
13:47:28,370 WARN  ~ Declaring modules in application.conf is deprecated. Use dependencies.yml instead (module.gae)
13:47:28,370 INFO  ~ Module gae is available (/home/thierry/local/play/modules/gae-1.4)
13:47:28,861 WARN  ~
13:47:28,861 WARN  ~ Google App Engine module
13:47:28,861 WARN  ~ ~~~~~~~~~~~~~~~~~~~~~~~
13:47:28,861 WARN  ~ No Google App Engine environment found. Setting up a development environement
13:47:28,876 WARN  ~
13:47:28,876 INFO  ~ Detected that plugin 'play.modules.gae.GAEPlugin@5a199939' disabled the plugin 'play.jobs.JobsPlugin@bdccedd' the old way - should use Play.disablePlugin()
13:47:28,877 INFO  ~ Precompiling ...
13:47:31,945 INFO  ~ Done.
~
~ Packaging
~ ---------
~ Packaging current version of the framework and the application to /tmp/myip.war ...
~
~ Deploying
~ ---------
Reading application configuration data...
Sep 27, 2011 1:47:34 PM com.google.apphosting.utils.config.AppEngineWebXmlReader readAppEngineWebXml
INFO: Successfully processed /tmp/myip.war/WEB-INF/appengine-web.xml
Sep 27, 2011 1:47:34 PM com.google.apphosting.utils.config.AbstractConfigXmlReader readConfigXml
INFO: Successfully processed /tmp/myip.war/WEB-INF/web.xml
Beginning server interaction for check-my-ip...
0% Created staging directory at: '/tmp/appcfg1524388351530088528.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
25% Initiating update.
Email: xxxxxxxxxx@gmail.com
Password for xxxxxxxxx@gmail.com:
28% Cloning 156 application files.
31% Cloned 100 files.
40% Uploading 44 files.
52% Uploaded 11 files.
61% Uploaded 22 files.
68% Uploaded 33 files.
73% Uploaded 44 files.
77% Initializing precompilation...
90% Deploying new version.
95% Will check again in 1 seconds.
98% Will check again in 2 seconds.
99% Closing update: new version is ready to start serving.
99% Uploading index definitions.

Update completed successfully.
Success.
Cleaning up temporary files...
~
~ Done!
~
</pre></p>
<p>Le résultat se trouve ici <a href="http://check-my-ip.appspot.com/">http://check-my-ip.appspot.com/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/398/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/398/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/398/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=398&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/09/27/play-framework-gae/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>
	</item>
		<item>
		<title>NetBackup Status Code 23 (socket read failed)</title>
		<link>http://randrianiriana.wordpress.com/2011/08/31/netbackup-status-code-23-socket-read-failed/</link>
		<comments>http://randrianiriana.wordpress.com/2011/08/31/netbackup-status-code-23-socket-read-failed/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 07:23:37 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[netbackup]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=380</guid>
		<description><![CDATA[Un matin j&#8217;ai eu ce message lors du backup d&#8217;un de nos contrôleurs de domaine. La liaison entre le master server et le serveur en question marche très bien, les ports ouverts vers le serveur master sont : tcp/1521 pour le backup Oracle tcp/1556 pour le java admin client tcp/udp 13720,13722,13724,13782,13783 La résolution de nom [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=380&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Un matin j&#8217;ai eu ce message lors du backup d&#8217;un de nos contrôleurs de domaine. La liaison entre le master server et le serveur en question marche très bien, les ports ouverts vers le serveur master sont :</p>
<ul>
<li>tcp/1521 pour le backup Oracle</li>
<li>tcp/1556 pour le java admin client</li>
<li>tcp/udp 13720,13722,13724,13782,13783</li>
</ul>
<p>La résolution de nom sur les 2 serveurs marche aussi !!</p>
<p>L&#8217;erreur que j&#8217;ai :</p>
<p><pre class="brush: plain;">
8/31/2011 9:47:41 AM - Error bpbrm(pid=8060) bpcd on winsrv-ifrX exited with status 23: socket read failed
8/31/2011 9:47:46 AM - Error bpbrm(pid=8060) cannot send mail because BPCD on winsrv-ifrX exited with status 23: socket read failed
8/31/2011 9:47:49 AM - end writing
socket read failed(23)
</pre></p>
<p>D&#8217;après la doc de symantec il faut forcer la résolution du nom ( vraiment bizarre ), donc il faut éditer votre fichiers hosts comme ici :</p>
<p><a href="http://www.symantec.com/business/support/index?page=content&amp;id=TECH54563">http://www.symantec.com/business/support/index?page=content&amp;id=TECH54563</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/380/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=380&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/08/31/netbackup-status-code-23-socket-read-failed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>
	</item>
		<item>
		<title>my nagios check_ftp plugin</title>
		<link>http://randrianiriana.wordpress.com/2011/08/30/my-nagios-check_ftp-plugin/</link>
		<comments>http://randrianiriana.wordpress.com/2011/08/30/my-nagios-check_ftp-plugin/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 08:05:30 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[nagios]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=372</guid>
		<description><![CDATA[I use a modified version of a simple perl plugin check_ftp.pl from nagios exchange. Here is my version:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=372&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I use a modified version of a simple perl plugin check_ftp.pl from <a href="http://exchange.nagios.org/directory/Plugins/Network-Protocols/FTP/check_ftp/details">nagios exchange</a>.<br />
Here is my version:</p>
<p><pre class="brush: perl;">
#!/usr/bin/perl -w 
#
# Version 0.0.3
# # modified by Thierry Randrianiriana
# # used /dev/null
# # added missing exit
# # typos
# Version 0.0.2
# # fixed some bugs when using strict
# Version 0.0.1
# # initial version

use Net::FTP;
use Getopt::Long qw(:config no_ignore_case);

my $hostname = 'localhost';
my $username = 'anonymous';
my $password = 'username@domain.com';
my $port = '21';
my $directory = '/';
my $file = '';
my $verbose = '0';
my $passive = '0';
my $timeout = &quot;30&quot;;
my $version = &quot;0.0.2&quot;;

sub help ();

my $options_okay = GetOptions (
  'hostname|H=s'	=&gt; \$hostname,
  'username|u=s'	=&gt; \$username,
  'password|p=s'	=&gt; \$password,
  'port|P=s'		=&gt; \$port,
  'directory=s'		=&gt; \$directory,
  'file=s'		=&gt; \$file,
  'verbose=i'		=&gt; \$verbose,
  'version'		=&gt; \$version,
  'help|h'		=&gt; sub {help}
);

# creating connection
my $ftp = Net::FTP-&gt;new(&quot;$hostname&quot;, Debug =&gt; $verbose, Port =&gt; $port, Timeout =&gt; $timeout, Passive =&gt; $passive );
my $err = $@;

if (! defined $ftp) {
    print &quot;ERROR: &quot;, $err;
    exit 2;
}

if (!$ftp-&gt;login(&quot;$username&quot;,&quot;$password&quot;)) { 
  print &quot;ERROR: server says: &quot;, $ftp-&gt;message;
  exit 2;
}

if ($file eq &quot;&quot;) {
  if (!$ftp-&gt;ls(&quot;$directory&quot;)) { 
    print &quot;WARNING: server says: &quot; , $ftp-&gt;message;
    exit 1;
  } else  {
    print $ftp-&gt;message;
    exit 0;
  }
} else {
  if (!$ftp-&gt;ls(&quot;$file&quot;)) { 
    print &quot;WARNING: server says: &quot; , $ftp-&gt;message;
    exit 1;
  } else {
    if (!$ftp-&gt;get(&quot;$file&quot;,&quot;/dev/null&quot;)) {
      print &quot;WARNING: server says: &quot; , $ftp-&gt;message;
      exit 1;
    } else {
      my @message = $ftp-&gt;message;
      chomp @message;
      print &quot;OK: &quot;, &quot;$message[0] $message[1]\n&quot;;
      exit 0;
    }
  }
}
$ftp-&gt;quit;

sub help () {
        print &quot;Copyright (c) 2005 Joost Veldkamp, nagios at darth dot xs4all dot nl
This plugin checks a ftp server, logins supported. The check downloads a file and returns
OK when the download succeeded.

-H, --hostname=HOST
   Name or IP address of host to check
-u, --username=username
   FTP username
-p --password=password
   FTP Password
-P --port=INTEGER
   TCP port of the FTP server (default 21)
-d --directory=PATH
   Directory on the remote FTP server
-f --file=FILENAME
   Filename of the file on the remote FTP server
-v --verbose=INT
   Print verbose stuff when performing the check, default 0, other for debugging.
-h --help
   Print this message.
-v --version
   Print version number.
&quot;;
exit 0;
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/372/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/372/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/372/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=372&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/08/30/my-nagios-check_ftp-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>
	</item>
		<item>
		<title>RTA dance style 2011</title>
		<link>http://randrianiriana.wordpress.com/2011/08/06/rta-dance-style-2011/</link>
		<comments>http://randrianiriana.wordpress.com/2011/08/06/rta-dance-style-2011/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 17:35:15 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rta]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=365</guid>
		<description><![CDATA[Le serveur de RTA ne supporte pas la charge, il faut faire un petit tunning du serveur web &#8230;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=365&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Le serveur de RTA ne supporte pas la charge, il faut faire un petit tunning du serveur web &#8230;</p>
<p><a href="http://randrianiriana.files.wordpress.com/2011/08/rta1.png"><img class="aligncenter size-large wp-image-374" title="rta" src="http://randrianiriana.files.wordpress.com/2011/08/rta1.png?w=687&#038;h=341" alt="" width="687" height="341" /></a><a href="http://randrianiriana.files.wordpress.com/2011/08/rta.png"><br />
</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/365/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/365/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/365/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=365&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/08/06/rta-dance-style-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>

		<media:content url="http://randrianiriana.files.wordpress.com/2011/08/rta1.png?w=1024" medium="image">
			<media:title type="html">rta</media:title>
		</media:content>
	</item>
		<item>
		<title>Upgrade Cisco IOS sur un 2811 pour détecter une HWIC 1Fe</title>
		<link>http://randrianiriana.wordpress.com/2011/08/04/upgrade-cisco-ios-2811-hwic/</link>
		<comments>http://randrianiriana.wordpress.com/2011/08/04/upgrade-cisco-ios-2811-hwic/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 16:49:26 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[tftpd]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=362</guid>
		<description><![CDATA[Nous avons eu un problème lors d&#8217;ajout d&#8217;une carte HWIC 1Fe sur un routeur, d&#8217;après les infos, il faut un iso 12.4(15) et supérieur pour qu&#8217;il puisse la détecter alors que le notre est à 12.4(11) donc nous sommes obligé de faire une mise à jour. La procédure est simple : sauvegarder l&#8217;ios existant sur [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=362&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Nous avons eu un problème lors d&#8217;ajout d&#8217;une carte HWIC 1Fe sur un routeur, d&#8217;après les infos, il faut un iso 12.4(15) et supérieur pour qu&#8217;il puisse la détecter alors que le notre est à 12.4(11) donc nous sommes obligé de faire une mise à jour.</p>
<p>La procédure est simple :</p>
<ul>
<li>sauvegarder l&#8217;ios existant sur le flash sur un serveur tftp (debian + tftpd)</li>
<li>supprimer l&#8217;ios sur le flash</li>
<li>télécharger le nouveau ios depuis un serveur tftp</li>
</ul>
<p>Si vous n&#8217;avez pas encore un serveur tftp et que vous etes sur debian, ceci va vous aider sinon vous pouvez utiliser un serveur tftp comme celui de solarwinds.</p>
<p><strong>aptitude install tftpd openbsd-inetd</strong></p>
<p>J&#8217;ai modifié mon fichier /etc/inetd.conf comme :</p>
<p>grep tftp /etc/inetd.conf<br />
<strong>tftp        dgram    udp    wait    nobody    /usr/sbin/tcpd    /usr/sbin/in.tftpd -s /srv/tftp</strong></p>
<p>Relancer inetd :</p>
<p><strong>killall inetd ; inetd &amp;</strong></p>
<p>Sauvegarder l&#8217;ios present sur le routeur au cas où.</p>
<p><strong>Router#copy flash tftp</strong><br />
<strong>Source filename []? c2800nm-advipservicesk9-mz.124-11.T2.bin</strong><br />
<strong>Address or name of remote host []? 10.0.0.2</strong><br />
<strong>Destination filename [c2800nm-advipservicesk9-mz.124-11.T2.bin]? </strong><br />
<strong>&#8230;..</strong><br />
<strong>%Error opening tftp://10.0.0.2/c2800nm-advipservicesk9-mz.124-11.T2.bin (Timed out)</strong></p>
<p>Mon serveur tftp est 10.0.0.2, assurez-vous que le routeur peut y accéder. Pour y écrire, j&#8217;ai eu un peu souci, il faut d&#8217;abord créer le fichier à transférer sur le serveur:</p>
<p><strong></strong><strong># touch /srv/tftp/c2800nm-advipservicesk9-mz.124-11.T2.bin</strong><br />
<strong># chmod 777 /srv/tftp/c2800nm-advipservicesk9-mz.124-11.T2.bin</strong></p>
<p>Recommencer :</p>
<p><strong>Router#copy flash tftp                         </strong><br />
<strong>Source filename [c2800nm-advipservicesk9-mz.124-11.T2.bin]? </strong><br />
<strong>Address or name of remote host []? 10.0.0.2       </strong><br />
<strong>Destination filename [c2800nm-advipservicesk9-mz.124-11.T2.bin]? </strong><br />
<strong>!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</strong><br />
<strong>39835176 bytes copied in 141.324 secs (281871 bytes/sec)</strong></p>
<p>Récupérer le nouveau ios :</p>
<p><strong>Router#copy tftp flash</strong><br />
<strong>Address or name of remote host []? 10.0.0.2</strong><br />
<strong>Source filename []? c2800nm-advipservicesk9-mz.124-24.T.bin</strong><br />
<strong>Destination filename [c2800nm-advipservicesk9-mz.124-24.T.bin]? </strong><br />
<strong>Accessing tftp://10.0.0.2/c2800nm-advipservicesk9-mz.124-24.T.bin&#8230;</strong><br />
<strong>Loading c2800nm-advipservicesk9-mz.124-24.T.bin from 10.0.0.2 (via FastEthernet0/0): !</strong><br />
<strong>%Error copying tftp://10.0.0.2/c2800nm-advipservicesk9-mz.124-24.T.bin (Not enough space on device)</strong></p>
<p>Il me dit qu&#8217;il manque de place donc je vais supprimer l&#8217;ancien ios :</p>
<p><strong>Router#delete flash:c2800nm-advipservicesk9-mz.124-11.T2.bin</strong><br />
<strong>Delete filename [c2800nm-advipservicesk9-mz.124-11.T2.bin]? </strong><br />
<strong>Delete flash:c2800nm-advipservicesk9-mz.124-11.T2.bin? [confirm]</strong></p>
<p>On recommence :</p>
<p><strong>Router#copy tftp flash                                      </strong><br />
<strong>Address or name of remote host [10.0.0.2]? </strong><br />
<strong>Source filename [c2800nm-advipservicesk9-mz.124-24.T.bin]? </strong><br />
<strong>Destination filename [c2800nm-advipservicesk9-mz.124-24.T.bin]? </strong><br />
<strong>Accessing tftp://10.0.0.2/c2800nm-advipservicesk9-mz.124-24.T.bin&#8230;</strong><br />
<strong>Loading c2800nm-advipservicesk9-mz.124-24.T.bin from 10.0.0.2 (via FastEthernet0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</strong><br />
<strong>[OK - 57637932 bytes]</strong><br />
<strong>57637932 bytes copied in 334.712 secs (172202 bytes/sec)</strong></p>
<p>On verifie :</p>
<p><strong>Router#show flash: </strong><br />
<strong>-#- &#8211;length&#8211; &#8212;&#8211;date/time&#8212;&#8212; path</strong><br />
<strong>1         2748 Jun 26 2009 13:57:58 +00:00 sdmconfig-2811.cfg</strong><br />
<strong>2       931840 Jun 26 2009 13:58:18 +00:00 es.tar</strong><br />
<strong>3      1505280 Jun 26 2009 13:58:36 +00:00 common.tar</strong><br />
<strong>4         1038 Jun 26 2009 13:58:50 +00:00 home.shtml</strong><br />
<strong>5       112640 Jun 26 2009 13:59:04 +00:00 home.tar</strong><br />
<strong>6      1697952 Jun 26 2009 13:59:30 +00:00 securedesktop-ios-3.1.1.45-k9.pkg</strong><br />
<strong>7       415956 Jun 26 2009 13:59:50 +00:00 sslclient-win-1.1.4.176.pkg</strong><br />
<strong>8     57637932 Aug 4 2011 05:45:22 +00:00 c2800nm-advipservicesk9-mz.124-24.T.bin</strong></p>
<p><strong>1695744 bytes available (62320640 bytes used)</strong></p>
<p>On reload :</p>
<p><strong>Router#reload</strong><br />
<strong>Proceed with reload? [confirm]</strong></p>
<p>J&#8217;ai remarqué que le démarrage est devenu lent avec cet nouveau ios &#8230;</p>
<p>Yes! il a détecté la nouvelle carte HWIC 1Fe :</p>
<p><strong>[...]</strong><br />
<span style="color:#0000ff;"><strong>SETUP: new interface FastEthernet0/0/0 placed in &#8220;shutdown&#8221; state</strong></span><br />
<strong>[...]</strong></p>
<p><strong>Router#sh version </strong><br />
<strong>Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(24)T, RELEASE SOFTWARE (fc1)</strong><br />
<strong>Technical Support: http://www.cisco.com/techsupport</strong><br />
<strong>Copyright (c) 1986-2009 by Cisco Systems, Inc.</strong><br />
<strong>Compiled Wed 25-Feb-09 17:55 by prod_rel_team</strong></p>
<p><strong>ROM: System Bootstrap, Version 12.4(13r)T11, RELEASE SOFTWARE (fc1)</strong></p>
<p><strong>Router uptime is 1 minute</strong><br />
<strong>System returned to ROM by power-on</strong><br />
<strong>System image file is &#8220;flash:c2800nm-advipservicesk9-mz.124-24.T.bin&#8221;</strong><br />
<strong>[...]</strong><br />
<strong>Cisco 2811 (revision 53.50) with 247808K/14336K bytes of memory.</strong><br />
<strong>Processor board ID FCZ132671T2</strong><br />
<span style="color:#0000ff;"><strong>3 FastEthernet interfaces</strong></span><br />
<strong>1 Virtual Private Network (VPN) Module</strong><br />
<strong>DRAM configuration is 64 bits wide with parity enabled.</strong><br />
<strong>239K bytes of non-volatile configuration memory.</strong><br />
<strong>62720K bytes of ATA CompactFlash (Read/Write)</strong></p>
<p>Vita tompoko!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/362/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=362&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/08/04/upgrade-cisco-ios-2811-hwic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>
	</item>
		<item>
		<title>Envoyer des sms sur debian gnu/linux</title>
		<link>http://randrianiriana.wordpress.com/2011/07/26/envoyer-des-sms-sur-debian-gnulinux/</link>
		<comments>http://randrianiriana.wordpress.com/2011/07/26/envoyer-des-sms-sur-debian-gnulinux/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 12:02:57 +0000</pubDate>
		<dc:creator>thierry</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[gammu]]></category>
		<category><![CDATA[sms]]></category>

		<guid isPermaLink="false">http://randrianiriana.wordpress.com/?p=355</guid>
		<description><![CDATA[Un petit tuto pour envoyer des sms en console sous linux, j&#8217;en ai besoin pour combiner avec mon serveur de monitoring Nagios. Le logiciel utilisé est Gammu, c&#8217;est très simple! J&#8217;utilise un nokia e71, vous pouvez voir ici si le votre est supporté http://wammu.eu/phones/ Connecter le téléphone sur votre ordinateur, ici j&#8217;utilise un cable usb [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=355&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Un petit tuto pour envoyer des sms en console sous linux, j&#8217;en ai besoin pour combiner avec mon serveur de monitoring Nagios. Le logiciel utilisé est Gammu, c&#8217;est très simple!<br />
J&#8217;utilise un nokia e71, vous pouvez voir ici si le votre est supporté <a href="http://wammu.eu/phones/">http://wammu.eu/phones/</a></p>
<p><pre class="brush: bash;">
aptitude install gammu
</pre></p>
<p>Connecter le téléphone sur votre ordinateur, ici j&#8217;utilise un cable usb type CA-101D .<br />
Choisir &#8220;PC Suite&#8221; lors de la connexion.<br />
dmesg donne :</p>
<p><pre class="brush: plain;">
...
[22811.664979] usb 4-1.3: USB disconnect, device number 4
[22814.163152] usb 4-1.3: new full speed USB device number 5 using ehci_hcd
[22814.257804] usb 4-1.3: New USB device found, idVendor=0421, idProduct=00ab
[22814.257810] usb 4-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[22814.257815] usb 4-1.3: Product: Nokia E71
[22814.257819] usb 4-1.3: Manufacturer: Nokia
[22814.355752] cdc_acm 4-1.3:1.10: ttyACM0: USB ACM device
[22814.356452] cdc_acm 4-1.3:1.12: ttyACM1: USB ACM device
[22814.356997] usbcore: registered new interface driver cdc_acm
[22814.356999] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[22814.366980] NET: Registered protocol family 35
[22814.410200] usbcore: registered new interface driver cdc_phonet
[22814.418027] usbcore: registered new interface driver cdc_ether
[22814.419599] usbcore: registered new interface driver rndis_host
[22814.457592] usbcore: registered new interface driver rndis_wlan
</pre></p>
<p>lsusb donne :</p>
<p><pre class="brush: plain;">
root@tux:/etc# lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 003: ID 138a:0007 Validity Sensors, Inc. VFS451 Fingeprint Reader
Bus 003 Device 004: ID 04f2:b15e Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 004 Device 003: ID 05ac:1292 Apple, Inc. iPhone 3G
Bus 004 Device 005: ID 0421:00ab Nokia Mobile Phones E71 (PC Suite mode)
</pre></p>
<p>Créer le fichier de conf /etc/gammurc :<br />
<pre class="brush: plain;">
[gammu]
port = /dev/ttyACM0
connection = at115200
</pre></p>
<p>Tester :</p>
<p><pre class="brush: plain;">
# gammu identify
Device               : /dev/ttyACM0
Manufacturer         : Nokia
Model                : unknown (Nokia E71)
Firmware             : V ICPR71_09w47.10,20-01-11
IMEI                 : 352710043176476
SIM IMSI             : 646020100145051
</pre></p>
<p>Envoyer le sms :<br />
<pre class="brush: plain;">
# echo &quot;hello world&quot; | /usr/bin/gammu --sendsms TEXT 0320533254
If you want break, press Ctrl+C...
Sending SMS 1/1....waiting for network answer..OK, message reference=193
</pre></p>
<p>Si vous voulez une interface graphique, vous pouvez installer wammu .</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/randrianiriana.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/randrianiriana.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/randrianiriana.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/randrianiriana.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/randrianiriana.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/randrianiriana.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/randrianiriana.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/randrianiriana.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/randrianiriana.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/randrianiriana.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/randrianiriana.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/randrianiriana.wordpress.com/355/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/randrianiriana.wordpress.com/355/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/randrianiriana.wordpress.com/355/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=randrianiriana.wordpress.com&amp;blog=9253725&amp;post=355&amp;subd=randrianiriana&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://randrianiriana.wordpress.com/2011/07/26/envoyer-des-sms-sur-debian-gnulinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ff7a88080f7f6f956c4c33d287a3c5d2?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=G" medium="image">
			<media:title type="html">Thierry</media:title>
		</media:content>
	</item>
	</channel>
</rss>
