Page web de dEdIUS - Linux2024-03-04T17:21:31+01:00urn:md5:eee638f37c8720b544e4b001cd269af5DotclearSynology Let's encrypt certificate won't updateurn:md5:da0b4266b9127fbc6411911ed7c02b2e2017-04-10T19:28:00+02:002017-06-28T10:18:42+02:00dEdIUSLinux <p>Although Synology help said that you must open port 80, it is in fact compulsory, but not sufficient.
I had the following error (with port 80 open and redirected through Upnp) :</p>
<pre>DEBUG: DNS challenge failed, reason: { "error": 108, "msg": "Not synology DDNS.", "file": "challenge.cpp:79"}</pre>
<p>Yes, my ddns is at the moment not synology but no-ip.com.</p>
<p>How I made it work :</p>
<ul>
<li>disable syno firewall</li>
<li>log to syn by ssh</li>
<li>type "sudo /usr/syno/sbin/syno-letsencrypt renew-all -v"</li>
<li>enable firewall</li>
</ul>
<p>If anyone has any clue of why it did not work It would be great...</p>
<p><em>Update :</em><br />
<a href="https://community.letsencrypt.org/t/impossible-to-renew-certificate-for-synology-nas/26721/24" hreflang="en" title="https://community.letsencrypt.org/t/impossible-to-renew-certificate-for-synology-nas/26721/24">https://community.letsencrypt.org/t/impossible-to-renew-certificate-for-synology-nas/26721/24</a></p>http://dedius.free.fr/index.php?post/2017/04/10/Synology-Let-s-encrypt-certificate-won-t-update#comment-formhttp://dedius.free.fr/index.php?feed/atom/comments/75Conversions à gogourn:md5:230817642b40e2dcccf655679a88066b2013-10-25T18:31:00+02:002013-11-13T16:29:29+01:00dEdIUSLinux <p>Concaténer plusieurs jpeg dans un même pdf :</p>
<pre>gm convert file1.jpg file1.pdf
gm convert file2.jpg file2.pdf
pdftk file1.pdf file2.pdf cat output doc.pdf</pre>http://dedius.free.fr/index.php?post/2013/10/25/Conversion-%C3%A0-gogo#comment-formhttp://dedius.free.fr/index.php?feed/atom/comments/63Convertir un fichier audio monkey (*.ape) en flacurn:md5:e73da1c427a3c32f114860b60825daf42013-08-17T10:11:00+02:002014-02-24T13:56:42+01:00dEdIUSLinux <p>Installer les paquets flac bchunk ffmpeg.<br />
Ensuite tapez simplement la commande :</p>
<pre>ffmpeg -i source.ape destination.flac</pre>
<p>Dans le futur, cela sera possible avec <em>avconv</em>.</p>http://dedius.free.fr/index.php?post/2013/08/17/Convertir-un-fichier-audio-monkey-%28%2A.ape%29-en-flac#comment-formhttp://dedius.free.fr/index.php?feed/atom/comments/55Découper une image disque FLAC en pistesurn:md5:335f7d3fe6ced977f1ca4a59eecc083b2012-09-03T22:44:00+02:002012-09-12T14:40:44+02:00dEdIUSLinuxMusique <pre>
shnsplit -f *.cue -o flac -t "%n-%p-%a-%t" -- *.flac
</pre>
<p>Puis :</p>
<pre>
cuetag *.cue split-track*.flac ;
</pre>http://dedius.free.fr/index.php?post/2012/09/03/D%C3%A9couper-une-image-disque-FLAC-en-pistes#comment-formhttp://dedius.free.fr/index.php?feed/atom/comments/27Extraire une piste audio d'un DVDurn:md5:21efa4572b2d5c4d80be9d4c1522a2d52012-08-23T21:41:00+02:002012-08-30T20:49:28+02:00dEdIUSLinux <ul>
<li>Ouvrir le *.VOB avec avidemux</li>
<li>Convertir en *.FLAC avec soundconverter (audacity ne m'ouvre pas les AC3...)</li>
<li>Sélectionner la partie voulue avec audacity</li>
<li>Enregistrer au format voulu</li>
</ul>http://dedius.free.fr/index.php?post/2012/08/23/Extraire-une-piste-audio-d-un-DVD#comment-formhttp://dedius.free.fr/index.php?feed/atom/comments/1SSH port forwardingurn:md5:8c7e64f2b241f5e4782e19ca76b8dc6c2012-08-20T21:46:00+02:002012-11-07T16:39:01+01:00dEdIUSLinux <p>Pour se connecter au travail depuis la maison</p>
<pre>
ssh -L 9999:lappcpxxx.in2p3.fr:22 user@lappslxxx.in2p3.fr
</pre>
<p>Puis:</p>
<pre>
ssh -X -p 9999 -l user localhost
</pre>
<p>Ce qui correspond à
localhost <-> passerelle.domaine:22 <-> machine_cible.domaine</p>
<pre>
ssh -L 9999:passerelle.domaine:22 utilisateur@machine_cible.domaine
</pre>
<p>Puis</p>
<pre>
ssh -X -p 9999 -l utilisateur localhost
</pre>
<p>Ceci va "mapper" le port 22 de la passerelle vers le port 9999 de la machine locale.</p>http://dedius.free.fr/index.php?post/2012/08/20/SSH-port-forwarding3#comment-formhttp://dedius.free.fr/index.php?feed/atom/comments/8Effacer les metadata de fichiers imagesurn:md5:83da1a38c797f2d5cf98e63fc84949112012-08-19T21:48:00+02:002012-09-03T21:46:20+02:00dEdIUSLinux <p>Enlève toutes les metadata des fichiers:</p>
<pre>
exiv2 -d a nomdemaphoto.jpg
</pre>http://dedius.free.fr/index.php?post/2012/08/19/Effacer-les-metadata-de-fichiers-images#comment-formhttp://dedius.free.fr/index.php?feed/atom/comments/9