<?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>Linux User Group of Mauritius &#187; Article</title>
	<atom:link href="http://lugm.org/category/article/feed/" rel="self" type="application/rss+xml" />
	<link>http://lugm.org</link>
	<description>Promoting open source software in our beautiful island</description>
	<lastBuildDate>Sat, 17 Jul 2010 16:29:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Port Serie Saison I</title>
		<link>http://lugm.org/2010/04/24/port-serie-saison-i/</link>
		<comments>http://lugm.org/2010/04/24/port-serie-saison-i/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 14:06:49 +0000</pubDate>
		<dc:creator>Dominique Derrier</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[ttyS0]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=364</guid>
		<description><![CDATA[Et ben, voila j&#8217;ai perdu un écran sur la machine qui me sert de routeur. Sans clavier ni écran le diagnostique n&#8217;est pas facile en cas d&#8217;erreur. Mais heureusement le mode console est là. Je ne sais pas depuis combien de temps cela existe dans le kernel, mais je pense que cela ne doit pas [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-375" title="db9_pinouts" src="http://lugm.org/wp-content/uploads/2010/04/db9_pinouts-150x150.gif" alt="db9_pinouts" width="150" height="150" />Et ben, voila j&#8217;ai perdu un écran sur la machine qui me sert de routeur. Sans clavier ni écran le diagnostique n&#8217;est pas facile en cas d&#8217;erreur. Mais heureusement le mode console est là. Je ne sais pas depuis combien de temps cela existe dans le kernel, mais je pense que cela ne doit pas être loin des origines.</p>
<p><span id="more-364"></span></p>
<h2>Embarcation sur le port série:</h2>
<p>L&#8217;astuce est de déporter les sorties/entrées standards sur le port série de votre PC&#8230; Il existe sur toutes les bonnes vieilles machines et sur des équipements évolués des ports serial qui permettent d&#8217;établir une communication avec des boitiers. Il ne faut pas s&#8217;attendre à des miracles, mais cela fonctionne.</p>
<p>Le port série est très répandu sur les équipements réseaux, switch, routeur, PABX, &#8230; et encore sur nos bons vieux PC. J&#8217;ai donc utilisé le port série avec un cable (null modem) pour piloter mon PCrouteur via le port série.</p>
<p>Tous les exemples sont sur ttyS0 &#8230; car je n&#8217;ai plus de carte mère avec deux ports serials.</p>
<h2>Ce qu&#8217;il faut:</h2>
<ul>
<li>Des ports séries entre vos PC.</li>
<li>Un cable null modem</li>
<li>screen sur le PC client</li>
<li>agetty / getty (qui permet d&#8217;initier des communications en mode console)</li>
</ul>
<p>Attention, il faut modifier des fichiers systèmes &#8230; faire une erreur dans ces fichiers peut générer des complications non négligeables.</p>
<h2>Grub &#8211; Kernel &#8211; Bash</h2>
<p>Pour grub, c&#8217;est facile il suffit d&#8217;ajouter au début du fichier.</p>
<pre>serial --unit=0 --speed=9600
terminal serial</pre>
<p>Pour le kernel, il suffit d&#8217;ajouter l&#8217;argument console dans la ligne grub :</p>
<pre>kernel /boot/vmlinuz root=/dev/sda2 quiet console=ttyS0,9600n8</pre>
<p>Et il vous faut pour avoir un shell interactif modifier le fichier <strong>/etc/initab</strong> sur la machine sans écran.</p>
<pre>s0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt100</pre>
<p>il faut vérifier que vous avez bien ttySO dans le fichier <strong>/etc/securetty</strong> (sinon vous ne pourrez pas vous logguer via le port série)</p>
<p>Et hop &#8230; vous êtes prêts pour l&#8217;aventure.</p>
<p>Lancer sur le poste client <strong>screen /dev/ttyS0</strong>, démarrer le PC serveur&#8230; et admirer GRUB/BOOT/jusqu&#8217;à la demande de password.</p>
<p><strong>Ps:</strong> cela fonctionne avec minicom, mais il y a trop d&#8217;options qui peuvent vite vous prendre la tête.</p>
<h2>Prochain épisode du port Série:</h2>
<p>Pas si sûr : Le port serial (et le port parallèle) ne sert plus à grand chose depuis l&#8217;arrivée de l&#8217;usb. Il faut des adaptateurs pour utiliser des ancestrales techniques&#8230; Les applications via IP sont de plus en plus répandues, l&#8217;astuce du port serie n&#8217;aura peut-être pas de nouvelle saison.</p>
<p>++</p>
<p>Dominique DERRIER</p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2010/04/24/port-serie-saison-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Générateur de Fla$h Swftools</title>
		<link>http://lugm.org/2009/12/29/generateur-de-flah-swftools/</link>
		<comments>http://lugm.org/2009/12/29/generateur-de-flah-swftools/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 06:45:42 +0000</pubDate>
		<dc:creator>Dominique Derrier</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[swftools]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=315</guid>
		<description><![CDATA[
Dans la série je ne sais pas quoi faire le jour de nöel, j&#8217;ai testé pour vous swftools.
C&#8217;est un outil GPL (opensource) qui permet de faire des fichiers flash en décrivant chaque Keyframe, le logiciel permet de compiler le fichier et de générer l&#8217;animation Flash.
Bref c&#8217;est un petit utilitaire en mode texte qui peut faire [...]]]></description>
			<content:encoded><![CDATA[<div class="alignright size-thumbnail wp-image-280"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="200" height="200" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="/wp-content/uploads/2009/12/bonneannee.swf" /><param name="quality" value="high" /><embed type="application/x-shockwave-flash" width="200" height="200" src="/wp-content/uploads/2009/12/bonneannee.swf" quality="high"></embed></object></div>
<p>Dans la série je ne sais pas quoi faire le jour de nöel, j&#8217;ai testé pour vous swftools.<br />
C&#8217;est un outil GPL (opensource) qui permet de faire des fichiers flash en décrivant chaque Keyframe, le logiciel permet de compiler le fichier et de générer l&#8217;animation Flash.</p>
<p>Bref c&#8217;est un petit utilitaire en mode texte qui peut faire quelques animations sympathiques pour vos cartes de voeux&#8230; et donner un peu de vie à un message en  mode texte.<br />
<strong>Bonne Année 2010 à tous.</strong><br />
<span id="more-315"></span></p>
<h2>SwfTools</h2>
<p style="text-align: justify;">Avec quelques minutes de patiences et de créativitées il est possible de faire rapidement de belles animations.<br />
Swftools sait compiler l&#8217;action script ce qui permet de rendre les contenus flash dynamiques (lecture de paramètres, de fichiers xml, téléchargement de composants&#8230; bref quasiment tout ce que l&#8217;on peut faire avec Flash).</p>
<p style="text-align: justify;">Le calcul du mouvement entre les keyframe se fait automatiquement (ou peut-être grâce à la magie de flash).</p>
<h2>Whaou tout ca !</h2>
<p>Il est possible :</p>
<ul>
<li>d&#8217;importer des .jpeg/.png</li>
<li>d&#8217;importer des .mp3/.wav</li>
<li>d&#8217;importer des fonts (TTF)</li>
<li>d&#8217;importer des fichiers swf (pour intégrer dans votre flash en flash existant y ajouter un pré-loader par exemple)</li>
<li>afficher des blocs de texts/variables/html</li>
<li>de jouer sur la taille des objects, leur couleur, leur position&#8230;</li>
</ul>
<h2>Exemple</h2>
<pre>.flash filename="bonneannee.swf"  bbox=200x200  fps=20 compress
.edittext bonne text="Bonne Année"       color=blue  width=70 height=20
.edittext year text="2010"               color=red   width=40 height=20
        .put bonne x=10 y=50
        .put year  x=40 y=70 alpha=25%

.frame 1
.action:
        _root.angle +=0.05;
        bonne._x = 50*Math.cos(_root.angle)+50;
        bonne._y = 20*Math.sin(_root.angle)+50;
        year._x = bonne._y;
.end
.frame 2
        .action:
        gotoFrame(0);
        Play();
.end
.frame 3
.end</pre>
<p>Puis compiler avec</p>
<pre>swfc file.sc</pre>
<h2>Link</h2>
<p><a href="http://www.swftools.org/">Swftools</a> le site officiel http://www.swftools.com<br />
<a href="http://technoargia.free.fr/swftools/">http://technoargia.free.fr/swftools/</a> quelques exemples<br />
<a href="http://code.google.com/p/swfobject/">http://code.google.com/p/swfobject/</a> pour intégrer vos flash proprement dans une page html</p>
<p><strong>Bonne Année 2010 à tous.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/12/29/generateur-de-flah-swftools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>White House goes Open Source</title>
		<link>http://lugm.org/2009/10/28/white-house-goes-open-source/</link>
		<comments>http://lugm.org/2009/10/28/white-house-goes-open-source/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 03:43:47 +0000</pubDate>
		<dc:creator>avinash</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[drupal cms opensource government migration legal]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=281</guid>
		<description><![CDATA[
Whitehouse.gov is now powered by Drupal, an Open Source Software.
Interestingly, the Department of Defense of the USA has released a memo where it is said that &#8220;it is required to conduct market research&#8230; [and] include OSS [in the research] when it may meet mission needs.&#8221;
It&#8217;s official. World Domination is coming.
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-full wp-image-280" title="20091028-whitehouse-drupal" src="http://lugm.org/wp-content/uploads/2009/10/20091028-whitehouse-drupal.jpg" alt="20091028-whitehouse-drupal" width="400" height="242" /></p>
<p><a href="http://whitehouse.gov/">Whitehouse.gov</a> is now powered by <a href="http://drupal.org/">Drupal</a>, an Open Source Software.</p>
<p>Interestingly, the Department of Defense of the USA <a href="http://www.dwheeler.com/blog/2009/10/27/#dod-oss-2009">has released a memo</a> where it is said that &#8220;it is required to conduct market research&#8230; [and] include OSS [in the research] when it may meet mission needs.&#8221;</p>
<p>It&#8217;s official. <a href="http://catb.org/~esr/writings/world-domination/world-domination-201.html">World Domination</a> is coming.</p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/10/28/white-house-goes-open-source/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FreeBSD8.0rc1 &#8220;run_interrupt_driven_hooks&#8221;</title>
		<link>http://lugm.org/2009/09/24/freebsd8-0rc1-run_interrupt_driven_hooks/</link>
		<comments>http://lugm.org/2009/09/24/freebsd8-0rc1-run_interrupt_driven_hooks/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 19:18:16 +0000</pubDate>
		<dc:creator>Selven</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[QuickHack]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=266</guid>
		<description><![CDATA[As soon as FreeBSD8.0rc1 came out (some hours after being uploaded) i wanted to try it out on my new work laptop (HP DV6 1160ei), surprised and sad i was to find that the installer itself couldn&#8217;t proceed further&#8230;i got bumped with this error:
lots of stuffs after the bootloader&#8230;.
:
:
:
uhub7: 8 ports with 8 removable, self [...]]]></description>
			<content:encoded><![CDATA[<p>As soon as FreeBSD8.0rc1 came out (some hours after being uploaded) i wanted to try it out on my new work laptop (HP DV6 1160ei), surprised and sad i was to find that the installer itself couldn&#8217;t proceed further&#8230;i got bumped with this error:</p>
<blockquote><p><em>lots of stuffs after the bootloader&#8230;.<br />
:<br />
:<br />
:<br />
uhub7: 8 ports with 8 removable, self powered<br />
ugen7.2:  at usbus7<br />
ugen4.2:  at usbus4<br />
ugen5.2:  at usbus5<br />
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config<br />
run_interrupt_driven_hooks: still waiting after 120 seconds for xpt_config<br />
run_interrupt_driven_hooks: still waiting after 180 seconds for xpt_config<br />
run_interrupt_driven_hooks: still waiting after 240 seconds for xpt_config<br />
run_interrupt_driven_hooks: still waiting after 300 seconds for xpt_config</em></p></blockquote>
<p>stalls here and freezes forever. Which means your installation cannot proceed further.</p>
<p>Seems the problem is related to the firewire support, this problem has been here since FreeBSD7.2,<br />
it seems to affect mostly gigabyte and asus mainboards (others plz do comfirm??). Seems the systems tries to query for firewire storage devices and then is stucked at that point..</p>
<p>The <strong>easy fix to this is to just go into your BIOS and disable firewire device </strong>and install your FreeBSD leisurely&#8230;.</p>
<p>but but but&#8230; poor me, i just got a damned new HP Pavillon DV6 sexy lookin <strong>laptop which doesn&#8217;t have any advanced BIOS settings to disable firewire</strong> .<br />
I definitely couldn&#8217;t be vulgar and just open that up and take out the firewire port :p that would be gross&#8230; specially since the laptop isn&#8217;t my property.</p>
<p>So my my my, i had to find a way out of this, googling around, it seems there&#8217;s no fix for that, since most are lucky enough to have disable firewire in their bios itself,<br />
unless i was crazy and maso to dare run winxp or win vista on my laptop [thoughts of which were so disturbing that i dared not use that laptop and was even thinking of returning it back.</p>
<p>since the install iso itself boots a freebsd kernel, i believed for a temporary solution i could <strong>disable firewire via device hints in that loader console,<br />
unfortunately, it didn't seem to work</strong>.... so i did what most people would have done since they have the source and the ability to do anything with it... i played with it :p</p>
<p>i found a solution :p remove firewire support in the iso :p.. all the ways i don't use that, if ever am gonna use that later on, once i've got freeBSD installed, i can think of it later and get it to work later on :p.</p>
<p>So... till i find the bug and correct it in the source itself or till someone else does it, i've managed to get the installer to work...</p>
<p>here's how:</p>
<p><strong>Requirements: </strong></p>
<ul>
<li>Download the dvd iso image of FreeBSD 8.0 Rc1.</li>
<li>You need a FreeBSD8.0Rc1 installed somewhere [I installed one on a VM (since i didn't wanna break existing installation)]</li>
</ul>
<p>(ps. it can be a minimal installation, since you don&#8217;t need desktop or anything in this temporary setup, you just need it to recompile that kernel in the installation cd :p)<br />
10 GB of space minimum</p>
<p><strong>What to do?</strong></p>
<ul>
<li>log in as root (who cares its a vm machine and you are going to break it all the ways)</li>
<li>Extract the contents of the iso in a folder somewhere in a directory somewhere in your FreeBSD8.0rc1 [temporary installation] on the vm.</li>
</ul>
<p><img class="alignnone size-medium wp-image-268" title="a vm with freebsd for the compilation" src="http://lugm.org/wp-content/uploads/2009/09/disk11-300x168.jpg" alt="a vm with freebsd for the compilation" width="300" height="168" /></p>
<p>(since i had already burnt it on a dvd, i just copied the contents of the dvd in a folder called /usr/disk1)</p>
<ul>
<li>use sysintall to install the release source and the kernel sources. (configure&gt;distributions&gt;src&gt; sys and release).</li>
<li>configure your kernel so as you don&#8217;t include firewire devices:</li>
<li>cd /usr/src/sys/i386/conf  (change i386 to your architecture)</li>
<li>cp GENERIC SELVENKERNEL</li>
<li>nano SELVENKERNEL  (or vi or ee or whatever editor you like) (comment out the firewire related modules [among the last lines)</li>
<li>make buildkernel KERNCONF=SELVENKERNEL</li>
<li>make installkernel KERNCONF=SELVENKERNEL</li>
</ul>
<p>that&#8217;s it, you have already completed most of the work, go to your /usr/disk1 directory [where the dvd iso contents were copied earlier remove the kernel folder in its boot directory and replaced with your new kernel). do like this:</p>
<ul>
<li>rm -rf /usr/disk1/boot/kernel</li>
<li>cp -R /boot/kernel /usr/disk1/boot/kernel</li>
</ul>
<p>great we are almost done&#8230; (ps. if you want you can set splash images also :p)</p>
<p>anywayz, you should then use mkisoimages to build your new dvd iso&#8230;.</p>
<ul>
<li>sh /usr/src/release/i386/mkisoimages.sh -b FreeBSD8 /isowork/myrelease.iso /usr/disk1</li>
</ul>
<p><em>where -b FreeBSD8 can be anything you want, /isowork is just a directory i have made to keep the final iso, and /usr/disk1 is the contents which you want to have in your iso :p.</em></p>
<p>If ever it complains about some rr_moved error or something simmillar, please do delete  the directory named rr_moved from your /usr/disk1 directory</p>
<ul>
<li>rm -rf /usr/disk1/rr_moved</li>
</ul>
<p>so relaunch your mkisoimages if ever it failed with the rr_moved :p.</p>
<p>after its done&#8230; you shall have a nice iso in your destination directory /isowork :p (or your directory you chose)</p>
<ul>
<li>you can use cdrecord to burn the iso to a dvd :p</li>
</ul>
<p>Though, being lazy, i just scp&#8217;ed it to my other computers, went to sleep, woke up in the morning and burnt it <img src='http://lugm.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>:p I tried to launch the install from that DVD &#8230; now it works! yupeee, finally i&#8217;ll be able to use that laptop.</p>
<p><em>Hope this helped out those poor souls out their who wanted to have their Favourite OS on their HP Pavillon DV6 :p</em></p>
<p><em>EDIT: Additional stuffs, once installed your new system shall be unbootable, you should boot from the installation dvd, start a shell there, mount the partition and cp -R /mnt2/boot/kernel to your new /boot directory in your harddisk (after mounting it somewhere).</em></p>
<p><em>Also, if you are using gnome please add these in /etc/rc.conf</em></p>
<p>moused_enable=&#8221;YES&#8221;<br />
hald_enable=&#8221;YES&#8221;<br />
dbus_enable=&#8221;YES&#8221;</p>
<p>ps. actually i wanted to try out 8.0 rc1 in the hope that i might catch a bug and hoped to find a fix and hopefully contribute back to the community.. lol .. that one was unexpected!</p>
<p>pps. plz ignore gramatical errors, typed this in nano, and refrain from starting OS flamewars since its tiring to reply to those :p</p>
<p>ppps. To save you the trouble i can upload the iso image, lemme know.</p>
<p>pppps. Am not responsible if you blow up your computer or whatever :p. My sincere apologies in case of errors.</p>
<p>+selven<br />
pcthegreat A_T gmail /  sch@csis.dk</p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/09/24/freebsd8-0rc1-run_interrupt_driven_hooks/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Linux Mint 7 Gloria</title>
		<link>http://lugm.org/2009/08/22/linux-mint-7-gloria/</link>
		<comments>http://lugm.org/2009/08/22/linux-mint-7-gloria/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 19:11:01 +0000</pubDate>
		<dc:creator>avinash</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[distribution]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linuxmint]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=257</guid>
		<description><![CDATA[
I have been using Linux for ten years now and like most of you I like to try different distributions. A few months ago I discovered Linux Mint while browsing on DistroWatch. I was surprised to see that Linux Mint was really popular (I think it was 4th at that time) and just now it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-full wp-image-256" title="20090822-linux-mint" src="http://lugm.org/wp-content/uploads/2009/08/20090822-linux-mint.jpg" alt="20090822-linux-mint" width="571" height="470" /></p>
<p>I have been using Linux for ten years now and like most of you I like to try different distributions. A few months ago I discovered <a href="http://www.linuxmint.com/">Linux Mint</a> while browsing on <a href="http://distrowatch.com/">DistroWatch</a>. I was surprised to see that Linux Mint was really popular (I think it was 4th at that time) and just now it&#8217;s the 3rd most popular Linux distribution&#8230;</p>
<p>Linux Mint, which is at version 7 now, is based on Ubuntu which itself is built on Debian. So we&#8217;re in excellent company here.</p>
<p>These are the things in Linux Mint that I really like:</p>
<ul>
<li>Linux Mint contain codecs for most of the media files (audio / video) found on the Internet out of the box.</li>
<li>The user interface is gorgeous and really feels like something that has been designed by someone who really knows about user interaction. For example, Mint has a menu (pictured above) which contains selected applications (favourites) and which is 100% customisable. It&#8217;s much better (IMHO) than the default Gnome menu.</li>
<li>There is an application which shows all software available in Linux Mint with screenshots. What is great is that this list can be sorted by popularity. It&#8217;s a great way to discover open source applications which are used by a lot of people and which you don&#8217;t personally know about.</li>
<li>Compiz (as well as the proprietary Nvidia driver in my case) is preinstalled and is sensibly configured: not a lot of eye candy but, instead, a pragmatic choice of settings to make Gnome more usable.</li>
<li><a href="http://algebraicthunk.net/~dburrows/projects/aptitude/">aptitude</a>! I love anything .deb-based.</li>
</ul>
<p>I&#8217;m really impressed by Linux Mint. This is the only distribution I use at home. At <a href="http://www.knowledge7.com/">work</a> I use CentOS Linux because, well, it is great for a business environment. But I might replace CentOS on my <em>own</em> computer there with Linux Mint. Just don&#8217;t tell anyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/08/22/linux-mint-7-gloria/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Grub 2</title>
		<link>http://lugm.org/2009/08/09/grub-2/</link>
		<comments>http://lugm.org/2009/08/09/grub-2/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 06:01:08 +0000</pubDate>
		<dc:creator>Dominique Derrier</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[grub]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=228</guid>
		<description><![CDATA[Dans la série je ne sais pas quoi faire le week-end, j&#8217;ai testé pour vous Grub2. Pour ceux qui ne savent pas, c&#8217;est le petit soft qui permet de démarrer votre machine, le mystérieux boot loader qui n&#8217;a rien d&#8217;effrayant. La version 2 permet d&#8217;avoir quelques fonctions gadgets histoire d&#8217;épater vos amis.

C&#8217;est quoi
GRand Unified Bootloader, [...]]]></description>
			<content:encoded><![CDATA[<p>Dans la série je ne sais pas quoi faire le week-end, j&#8217;ai testé pour vous Grub2. Pour ceux qui ne savent pas, c&#8217;est le petit soft qui permet de démarrer votre machine, le mystérieux boot loader qui n&#8217;a rien d&#8217;effrayant. La version 2 permet d&#8217;avoir quelques fonctions gadgets histoire d&#8217;épater vos amis.</p>
<p><span id="more-228"></span></p>
<h1>C&#8217;est quoi</h1>
<p>GRand Unified Bootloader, c&#8217;est le boot loader: un petit programme qui se loge dans le premier secteur du disque dur est qui permet de choisir l&#8217;OS sur lequel vous voulez démarrer. Dans les temps anciens, lilo permettait de faire cela: mais les temps changent et les besoins en souplesse ont pris le dessus.</p>
<p>La première version permettait déjà pas mal de choses:</p>
<ul>
<li>rechercher un fichier de boot (ext2/ext3/reiserfs)</li>
<li>passer en mode graphique</li>
<li>mettre des paramètres au kernel</li>
<li>démarrer différents OS</li>
</ul>
<h1>La version 2</h1>
<p>Dans la version 2 l&#8217;équipe de Dev a ajouté la notion de module pour permettre de charger les différentes fonctionnalités. Cela permet de charger divers systèmes de fichiers différents de votre ext4.<br />
Cela permet aussi de charger des drivers VESEA pour afficher des images 65000 couleurs, des fonts sympas &#8230; L&#8217;équipe a aussi pensé à une notion de script avancée (loop, tests, variables, &#8230;)</p>
<p>Tous les plus sont aussi des moins &#8230; en toute logique la segmentation est bonne pour pouvoir charger différents modules. Mais cela complique l&#8217;affaire car il faut connaitre les éléments nécessaires pour utiliser les diverses fonctionnalités. Heureusement que les &#8220;packageurs&#8221; maîtrisent les fichiers de configuration.</p>
<h1>Le test</h1>
<p>Une bonne vieille clef usb fera l&#8217;affaire.</p>
<p>Test de boot et hop, éclatez vous sans abimer votre machine.</p>
<p>Compilez les sources dans le prefix que vous souhaitez.<br />
<code><br />
mkfs.ext2 /dev/sdf1<br />
./grub-install --root-directory=/media/disk/ '(hd1)'</code></p>
<p><code> </code></p>
<p>Il faut ensuite faire un fichier de configuration qui va bien pour booter.</p>
<p><code><br />
set default=0<br />
set timeout=20<br />
set root=(hd0,1)</code></p>
<p><code>if font /boot/ascii.pff; then<br />
set gfxmode=640x480<br />
insmod gfxterm<br />
insmod vbe<br />
if terminal_output gfxterm ; then true ; else<br />
terminal gfxterm<br />
fi<br />
fi</code></p>
<p><code>insmod tga<br />
if background_image /boot/Lake_mapourika_NZ.tga; then<br />
true<br />
else<br />
set menu_color_normal=cyan/blue<br />
set menu_color_highlight=white/blue<br />
fi</code></p>
<p><code>if terminal_output gfxterm ; then true ; else<br />
terminal gfxterm<br />
fi</code></p>
<p><code>menuentry "Gentoo GNU/Linux" {<br />
set root=(hd1,1)<br />
linux /boot/vmlinuz root=/dev/sda2 quiet<br />
}</p>
<p></code></p>
<p><code>menuentry "other" {<br />
set root=(hd1,1)<br />
chainloader +1<br />
}<br />
</code></p>
<p>Si vous voulez utiliser le mode graphique il faut avoir un fichier de font pour que vous puissiez voir le texte (ascii.pff)</p>
<p>Un reboot sur la clef usb et le miracle devrait fonctionner&#8230;<br />
Si cela vous plait &#8230; il suffit d&#8217;installer grub sur hd0</p>
<p>/!\ Attention, vous pouvez tout casser, et la seule solution sera le CD de rescue pour booter votre système</p>
<p>Dominique DERRIER</p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/08/09/grub-2/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>What do you think of Google Chrome OS?</title>
		<link>http://lugm.org/2009/07/09/what-do-you-think-of-google-chrome-os/</link>
		<comments>http://lugm.org/2009/07/09/what-do-you-think-of-google-chrome-os/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 07:41:02 +0000</pubDate>
		<dc:creator>avinash</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[business]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[strategy]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=216</guid>
		<description><![CDATA[
Two days ago, Google announced the Google Chrome OS (Operating System) project.
Google Chrome OS can be seen as Linux with a special window manager to only allow one application: the Google Chrome web browser. In essence, a computer running Google Chrome OS will only have one application, a web browser. This means that the user [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-full wp-image-217" title="20090709-google-chrome" src="http://lugm.org/wp-content/uploads/2009/07/20090709-google-chrome.jpg" alt="20090709-google-chrome" width="248" height="249" /></p>
<p style="text-align: left;">Two days ago, Google <a href="http://googleblog.blogspot.com/2009/07/introducing-google-chrome-os.html">announced the Google Chrome OS (Operating System) project</a>.</p>
<p style="text-align: left;">Google Chrome OS can be seen as Linux with a special window manager to only allow one application: the Google Chrome web browser. In essence, a computer running Google Chrome OS will only have one application, a web browser. This means that the user will only use web-based applications presumably (but not forcibly) from Google (e.g. Gmail, Google Docs, etc.)</p>
<p style="text-align: left;">Google will initially launch this OS on netbooks (those ultra small laptops with small screens.) Netbooks account for only a few % of the market and most people use them for browsing only so this seems a sensible strategy (it would have been stupid to launch the OS on full-fledged PCs as people would have immediately requested for &#8220;Photoshop on the web&#8221;.)</p>
<p style="text-align: left;">Our friend, Fake Steve, is <a href="http://fakesteve.blogspot.com/2009/07/lets-all-take-deep-breath-and-get-some.html">adamant that building Google Chrome OS is not a good stategy for Google</a>. In my opinion, he is correct when he questions the business logic of Google. You see, Chrome OS is going to be free (like most Linux distributions), has one good browser (like most Linux distributions), with good support for Google apps (like most Linux distribuions) <strong>but </strong>is going to be costly to build for Google (unlike most Linux distributions which exist already.) So why build yet another Linux distribution (which is what Google Chrome OS is in essence&#8230;) Why don&#8217;t Google use something which exists already?</p>
<p style="text-align: left;">What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/07/09/what-do-you-think-of-google-chrome-os/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Google: Let&#8217;s make the web faster</title>
		<link>http://lugm.org/2009/06/30/google-lets-make-the-web-faster/</link>
		<comments>http://lugm.org/2009/06/30/google-lets-make-the-web-faster/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 05:32:17 +0000</pubDate>
		<dc:creator>Dominique Derrier</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[faster internet]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[technologie]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=197</guid>
		<description><![CDATA[
Google lance une consultation sur les moyens d&#8217;accélérer l&#8217;internet basée sur 4 axes:
Broadband Access (Le petit problème de Maurice&#8230;)
Browser Technologies (Les petites astuces du renard en feu)
Internet Protocols (Revoir un peu les bons vieux HTTP/TCP/&#8230;)
Webmaster Tools (Concilier le beau et le rapide, Flash/&#8230;)
Other Ideas (Tout ce qui peut apporter une contribution).
N&#8217;hésitez pas à poster vos [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://lugm.org/wp-content/uploads/2009/06/20090630-google-150x150.jpg" alt="20090630-google" title="20090630-google" width="150" height="150" class="alignleft size-thumbnail wp-image-199" /><br />
Google lance une consultation sur les moyens d&#8217;accélérer l&#8217;internet basée sur 4 axes:</p>
<p><strong>Broadband Access </strong>(Le petit problème de Maurice&#8230;)<br />
<strong>Browser Technologies</strong> (Les petites astuces du <a href="http://www.mozilla.com/en-US/">renard en feu</a>)<br />
<strong>Internet Protocols</strong> (Revoir un peu les bons vieux <a href="http://fr.wikipedia.org/wiki/HTTP">HTTP</a>/TCP/&#8230;)<br />
<strong>Webmaster Tools</strong> (Concilier le beau et le rapide, Flash/&#8230;)<br />
<strong>Other Ideas</strong> (Tout ce qui peut apporter une contribution).</p>
<p>N&#8217;hésitez pas à poster vos idées !<br />
<a href="http://moderator.appspot.com/#16/e=79951">http://moderator.appspot.com/#16/e=79951</a><br />
<span id="more-197"></span></p>
<p>Certaines idées peuvent vous aider à développer encore mieux vos sites web:</p>
<ul>
<li>La notion de caching est une technique très pratique</li>
<li>Cache navigateur/304/ &#8230;</li>
<li>Les idées de cache distribuée (p2p/&#8230;)</li>
<li>Ajouter le mod_gzip pour les pages html</li>
<li>Les idées sur les protocoles sont un peu plus complexe mais intéressantes pour comprendre le fonctionnement des divers protocoles.</li>
</ul>
<p>Dominique DERRIER</p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/06/30/google-lets-make-the-web-faster/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Sony Bravia LCD TVs run Linux</title>
		<link>http://lugm.org/2009/06/23/the-sony-bravia-lcd-tvs-run-linux/</link>
		<comments>http://lugm.org/2009/06/23/the-sony-bravia-lcd-tvs-run-linux/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 19:22:10 +0000</pubDate>
		<dc:creator>avinash</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[device]]></category>
		<category><![CDATA[entertainment]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mauritius]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://lugm.org/?p=181</guid>
		<description><![CDATA[
How many of you would like to get an LCD TV for Christmas? A lot, I bet. How many of you know that the Sony Bravia LCD TVs are powered by Linux? A lot fewer, I guess.
LCD TVs have a lot of pixels. When displaying a normal-resolution programme (say from the MBC), the TV must [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="alignnone size-full wp-image-182" title="20090623-sony-bravia" src="http://lugm.org/wp-content/uploads/2009/06/20090623-sony-bravia.jpg" alt="20090623-sony-bravia" width="494" height="354" /></p>
<p style="text-align: left;">How many of you would like to get an LCD TV for Christmas? A lot, I bet. How many of you know that the Sony Bravia LCD TVs are powered by Linux? A lot fewer, I guess.</p>
<p style="text-align: left;">LCD TVs have a lot of pixels. When displaying a normal-resolution programme (say from the MBC), the TV must use extremely complex image processing algorithms to generate the missing pixels. For example:</p>
<ul>
<li>SECAM @ 720 x 576 = 414,720 pixels every 1/25 of a second (I&#8217;m simplifying&#8230;)</li>
<li>HDTV @ 1920 x 1080 = 2,073,600 pixels every 1/25 of a second</li>
</ul>
<p>So the TV must digitally create 5 times as many pixels as in the original frame <em>25 times per second</em>. As you can easily guess, this requires a lot of horsepower hence the use of a powerful computer inside the TV. Sony has chosen Linux to power that computer (specifically Linux kernel 2.6.11)</p>
<p>For the more curious, have a look at <a href="http://products.sel.sony.com/opensource/source_tv.shtml">http://products.sel.sony.com/opensource/source_tv.shtml</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/06/23/the-sony-bravia-lcd-tvs-run-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hier j&#8217;ai compilé mon OS</title>
		<link>http://lugm.org/2009/06/16/hier-jai-compile-mon-os/</link>
		<comments>http://lugm.org/2009/06/16/hier-jai-compile-mon-os/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 05:16:31 +0000</pubDate>
		<dc:creator>Dominique Derrier</dc:creator>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[compilation]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://lugm.tuxlab.mu/?p=71</guid>
		<description><![CDATA[Les distributions pourraient se disposer sur les rayons des supermarchés tellement elles sont nombreuses. On en trouve pour tous les gouts et toutes les couleurs.
D&#8217;une classique Ubuntu, installable les yeux fermés à une LFS qui nécessite de faire un peu d&#8217;assembleur avant de démarrer. Pour ma part je pense que Gentoo propose une bonne alternative [...]]]></description>
			<content:encoded><![CDATA[<p>Les distributions pourraient se disposer sur les rayons des supermarchés tellement elles sont nombreuses. On en trouve pour tous les gouts et toutes les couleurs.<br />
<div id="attachment_47" class="wp-caption alignright" style="width: 200px"><a href="http://www.gentoo.org"><img src="http://lugm.org/wp-content/uploads/2009/06/gtop-www.jpg" alt="Gentoo Distrib" title="Gentoo" width="190" height="124" class="size-full wp-image-47" /></a><p class="wp-caption-text">Gentoo Distrib</p></div><br />
D&#8217;une classique Ubuntu, installable les yeux fermés à une LFS qui nécessite de faire un peu d&#8217;assembleur avant de démarrer. Pour ma part je pense que <ins datetime="2009-06-16T15:14:36+00:00">Gentoo</ins> propose une bonne alternative pour les Geeks en mal de pouvoir de compilation avec des ordinateurs toujours plus puissants.<br />
Mais pourquoi se priver du plaisir de la compilation !<br />
<span id="more-71"></span><br />
Pour gentoo:</p>
<ul>
<li><ins datetime="2009-06-16T15:14:36+00:00">Stage 1</ins> système standard</li>
<li>Stage 2 compilateur adapté au besoin + base</li>
<li>Stage 3 Système adapté et utilisable</li>
</ul>
<h2>First</h2>
<p>/!\ Attention: vous pouvez tout péter !. Il est conseillé:</p>
<ul>
<li>de faire une sauvegarde. </li>
<li>d&#8217;avoir un accès à internet</li>
<li>un modem Ethernet si vous ne voulez pas avoir de problème avec l&#8217;Usb.</li>
<li>Savoir un minimum ce que vous faites</li>
</ul>
<h2>Le Boot</h2>
<p>Tout d&#8217;abord il faut booter sur un système minimal. Un liveCD Ubuntu peut largement faire l&#8217;affaire.<br />
Il faut ensuite récupérer le stage1<a href="http://www.gentoo.org/main/en/where.xml"> /x86/2008.0/stages/stage1-x86-2008.0.tar.bz2</a>&#8230;</p>
<ul>
<li>partitionnement des disques => cfdisk/fdisk &#8230; ([vi pour les plus geek])</li>
<li>un mkfs.ext3, xfs &#8230;</li>
<li>un petit bunzip/tar </li>
<li>une synchronisation des sources pour être à jour</li>
<li>chroot</li>
</ul>
<p>Et les portes du stage1 sont à vous.</p>
<h2>Ca compile</h2>
<p><a href="http://gcc.gnu.org/"><img src="http://lugm.org/wp-content/uploads/2009/06/engrenage.jpg" alt="engrenage" title="engrenage" width="232" height="198" class="alignleft size-full wp-image-57" /></a><br />
Le but de stage1 est de :</p>
<ul>
<li>compiler GCC pour compiler une Glibc clean.</li>
<li>Une fois que Glibc est adapté à votre machine&#8230; on recompile GCC et Glibc</li>
</ul>
<p>Il faut pour cela définir les paramètres de compilation dans le fichier make.conf.<br />
A coup de :</p>
<ul>
<li>CHOST=&#8221;i686-pc-linux-gnu&#8221;</li>
<li>CFLAGS=&#8221;-O2 -march=pentiumX -pipe -fomit-frame-pointer&#8221;</li>
<li>MAKEOPTS=&#8221;-j5&#8243; (oui j&#8217;ai une grosse machine)</li>
<li>USE=&#8221;toutes les options que vous souhaitez&#8221;</li>
</ul>
<p>Il faut supprimer l&#8217;option de c++ pour la première phase de compilation, et lancer le bootstrap.sh qui se charge de passer de <ins datetime="2009-06-16T15:14:36+00:00">stage1 </ins>à presque stage2 (il manquera les utilitaires systèmes).<br />
<code>export USE="nocpp"<br />
/usr/portage/scripts/bootstrap.sh<br />
unset USE<br />
</code></p>
<p>Tout dépend de votre machine, mais il faut compter le temps de téléchargement des sources + compilation. </p>
<p>Une fois que les briques de base sont toutes belles, il n&#8217;y a plus qu&#8217;a recompiler tout le reste et le monde sera à vous.<br />
Il ne faut pas oublier quelques éléments essentiels.</p>
<ul>
<li>emerge -e system</li>
<li>le kernel</li>
<li>iproute2</li>
<li>un boot loader</li>
<li>Fstab</li>
<li>X (dbus/hal)</li>
<li>emerge -e world</li>
</ul>
<p>Pour ceux qui veulent tenter, il y a des packages à masquer (man-pages) lors de la première installation. Je conseille aussi de rebooter juste après l&#8217;installation du kernel/boot loader.</p>
<h2>Stage 1 vs Stage 3</h2>
<p>Certains petits malins pensent que le stage1 est bien meilleur et plus rapide que le stage3. D&#8217;autres ne jurent que par le stage 3 (cf: <a href="http://badpenguins.com/gentoo-build-test/">http://badpenguins.com/gentoo-build-test</a>).</p>
<p>J&#8217;ai téléchargé environ 300Mo de sources au lieu de 697Mo de packages&#8230; pour un système adapté à ma machine. Mais personnellement, le plus important: rien ne vaut le plaisir et la satisfaction d&#8217;avoir fait marcher son OS depuis 0.</p>
<p>24h de compilation pour avoir un full système:<br />
<strong>Juste make it, or <a href="http://fr.wikipedia.org/wiki/Emerge">emerge</a> it ;</strong></p>
<p>Dominique Derrier</p>
<h3>Ref</h3>
<p>Choisir les Cflags: <a href="http://en.gentoo-wiki.com/wiki/Safe_Cflags">http://en.gentoo-wiki.com/wiki/Safe_Cflags</a><br />
Documentation <ins datetime="2009-06-16T15:14:36+00:00">Gentoo</ins>: <a href="http://www.gentoo.org/doc/en/handbook/">Handbook Gentoo</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lugm.org/2009/06/16/hier-jai-compile-mon-os/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
