<< Octobre >>
  
  
<< 2008 >>
Dernières entrées
04/01/2006 : Comment utiliser urpmi --parallel
09/03/2005 : Comment installer plusieurs distributions
07/07/2004 : Introduction à Linux
07/07/2004 : Gestion des logiciels ( tar.gz, rpm et urpmi )
07/07/2004 : Comment installer le pilote NForce ?

Linux Wizard - Votre ressource Linux !!

Linux : Me vs Asterisk : final take ?08/10/2008 22:57:57

Today has been a great day for me :) Mandriva 2009.0 is nearly out and is available to early seeders, I managed to finish 9 articles concerning Mandriva Linux 2009.0 for two french Linux magazines in 5 days, and last but not least : my Mixmonitor speed recording issue may have finally a fix ! I've just applied an upstream patch to my asterisk version, and tomorrow I will be able to say if my issues are fixed or not. Interested people can download the src.rpm for my patched asterisk 1.22 : asterisk-1.4.22-1mdv2009.0.src.rpm

Dark_Schneider


Linux : asterisk 1.4.22 is out03/10/2008 16:11:16

I've test asterisk 1.4.22rc5, and my ChanSpy crashes issues are fixed indeed ! Great time !

Today, asterisk 1.4.22 have been release, so it's a great time for me. Unfortunately this release will not fixed my speed recording issues with MixMonitor :(. At least the call center supervisors are very happy to be able to do ChanSpy finally. Presently they try to cope with the speed recording issue, However I hope that this will be fixed in 1.4.23.

Dark_Schneider


Divers : securite-informatique.gouv.fr30/09/2008 21:50:36

Ce soir, j'ai découvert un site très intéressant : http://www.securite-informatique.gouv.fr. Ce site, du gouvernement français, parle donc de sécurité informatique, et s'adresse autant aux particuliers qu'aux entreprises, en leur donnant quelques conseils. Malheureusement le contenu est orienté ( presque ) exclusivement vers Windows :(. Cependant pour les utilisateurs de Windows, c'est une ressource intéressante : on y traite de phishing, de spam, de pare-feu, de tâches basiques, etc .... avec de nombreux tutoriels illustrés. Voici quelques liens intéressants :

Bon dans le glossaire, on ne trouve pas de référence à Linux, aux Logiciels Libres, mais au moins le contenu ne semble pas fermé. Il sera intéressant si éventuellement des éditeurs Linux se faisaient connaître pour aider à ajouter du contenu et des tutoriaux leurs concernant sur ce site. N'hésitez pas à les contacter.

Dark_Schneider


Mandriva : Hercules eCafe30/09/2008 19:50:34

En lisant le site Toolinux, je suis tombé sur un article qui parlait d'un nouvel ultra-portable tournant sous ... Mandriva ! C'est l'Hercules eCAFÉ™ EC-800-H20G/S : 3h d'autonomie, poids inférieur à 1kg, 1024x600, lecteur de cartes 4in1, 20Go de disque dur, AMD Geode LX 800, 512MB DDR RAM, RJ-45/wifi et 2 ports USB. Comme on peut le voir, il n'y a rien de vraiment transcendant. Cependant, ce qui est génial, c'est le fait que les choses ont été bien faites :

On résume : G-Dium, AIRIS KIRA, et maintenant l'Hercules eCafé. On comprend maintenant la sortie de la Mandriva Mini. Mandriva développe une jolie expertise dans le domaine des ultra-portables. J'espère aussi que ceci leur sera profitable que ce soit au niveau de la notoriété/visibilité, que ... financièrement. Keep up the work !

le portable eCafé interface expert Interface simplifiée par défaut
Dark_Schneider


Linux : Me vs Asterisk : second take29/09/2008 21:48:44

Today I decide to build a rpm for asterisk 1.4.22rc5. For thsi I start from the asterisk.spec file available in the Mandriva asterisk package. I had previously build a version contain a patch which was aiming to fix my speed recording issues, so it was easier for me as I had already all the build requires. However there was a minor issue : I can't put a dash ( - )in the "Version" field. So I had to put the rc5 tag in "Release" field as followed :
Release: %mkrel 0.rc5.1

Another issue was the fact that the tar.gz file was named asterisk-1.4.22-rc5.tar.gz, and so I had to modify "Source0:" as follow :
Source0: http://downloads.digium.com/pub/asterisk/releases/%{name}-%{version}-rc5.tar.gz

At the same time, I fixed the download URL. Finally I modified the setup to make it match the extraction directory of the source file by using the -n option : %setup -q -n asterisk-1.4.22-rc5

This last one was harder to find. Fortunately I've been helped by the very good Mandirva documentation about src.rpm building concerning the prep section. Once the SPEC file have been correctly I just need to rebuild the package. For thoses who arre willing to do the same thing, here is the procedure I followed. Please note that i do everything as root, which not recommended, dangerous and a crazy thing to do ( especially on a production call center server ) :

  1. Download the src.rpm from Mandriva mirrors : wget ftp://ftp.proxad.net/pub/Distributions_Linux/MandrivaLinux/devel/cooker/SRPMS/contrib/release/asterisk-1.4.21.2-4mdv2009.0.src.rpm
  2. Install all the build requires for asterisk by using urpmi and the Mandriva src.rpm : urpmi --install-src asterisk-1.4.21.2-4mdv2009.0.src.rpm
  3. Don't forget to install rpm-build as this package is not installed automatically : urpmi rpm-build
  4. Go to the SOURCES directory : cd /usr/src/rpm/SOURCES
  5. Download the latest asterisk release ( in my case 1.4.22-rc5 ) : wget http://downloads.digium.com/pub/asterisk/asterisk-1.4.22-rc5.tar.gz
  6. edit the asterisk.spec file as mentioned previously : cd ../SPECS; vi asterisk.spec
  7. Once done, you can build the asterisk package : rpmbuild -ba /usr/src/rpm/SPECS/asterisk.spec
  8. Normally the build should succeed, and then you just need to install the new asterisk packages. They are located in /usr/src/rpm/RPMS/%ARCH%. In my case, %ARCH% is x86_64, 32 bits users will have i586 : cd /usr/src/rpm/RPMS/x86_64/ ; urpmi asterisk-1.4.22-0.rc5.1mdv2009.0.x86_64.rpm asterisk-plugins-pgsql-1.4.22-0.rc5.1mdv2009.0.x86_64.rpm asterisk-plugins-snmp-1.4.22-0.rc5.1mdv2009.0.x86_64.rpm
  9. Please checked that your custom configurations files located in /etc/asterisk/ have not been replaced by newer configurations files. You should find them backup as .rpmsave files. Take care especially to extensions.conf, sip.conf, voicemail.conf and eventually cdr_pgsql.conf ( if you are putting your CDR in a postgreSQL server ).
  10. Now restart the asterisk service : service asterisk restart
  11. Check that you are running the good asterisk version : asterisk -v

Here are some links which may be useful :

Dark_Schneider