Arduino / PCM Audio : Change PIN used by the speaker

Using the libraby provided here : http://www.arduino.cc/playground/Code/PCMAudio
It’s possible to play pcm audio with 16kbps bitrate and 8khz samplerate.

Step-by-step procedure is describe here : http://hlt.media.mit.edu/?p=1963
On the initial version of library, the speaker use pin 11 of the Arduino. This PIN cannot be used if you add the Ethernet Shield.
Continue reading

Posted in Arduino, Electronique, Non classé | Tagged , , , , , | 3 Comments

AutoSupport couldn’t post to AutoSupport server – NetApp – Proxy SQUID

Error message on /etc/messages of the node :
Thu Oct 11 02:51:56 UTC [XXXXX:asup.post.result:info]: AutoSupport couldn’t post to AutoSupport server. 0 (HA Group Notification from XXXX (MANAGEMENT_LOG) INFO)
Thu Oct 11 02:51:56 UTC [XXXX:asup.post.drop:error]: AutoSupport message (HA Group Notification from XXXX (MANAGEMENT_LOG) INFO) for host (0) was not posted to NetApp. The system will drop the message.

On the Squid syslog (/var/log/squid3/access.log) :
1349942445.058 0 AA.BB.CC.DD NONE/417 6925 PUT http://support.netapp.com/put/AsupPut/asup_200000181745_0151750224_201210110800_34328_92.7z – NONE/- text/html
1349942445.365 0 AA.BB.CC.DD NONE/417 6813 POST http://support.netapp.com/asupprod/post/1.0/postAsup – NONE/- text/html

Autosupport configuration of the NetApp Controller :
autosupport.support.proxy AA.BB.CC.DD:3128
autosupport.support.to autosupport@netapp.com
autosupport.support.transport http

According to the information I found, the HTTP requests sent by NetApp wouldn’t be RFC compliant.

The solution is to use HTTPS instead of HTTP. You can change this option like this : options autosupport.support.transport https

Posted in Non classé | Leave a comment

NetApp OnCommand HS Service down after DFM recovery

Après la réinstallation de DFM, tous les Host Service dans OnCommand étaient down.
D’après les eventlog, ceci est dû au fait que OnCommand ne trust plus le certificat du HS.

Je n’ai pas trouvé d’autre façon que de supprimer et recréer le HS dans DFM.

L’interface graphique ne permet pas de le faire si des sauvegardes s’appuient sur le HS.
Il faut donc passer en ligne de commande depuis le serveur DFM.

Pour supprimer le Host Service : dfm hs unregister -f HOST_SERVICE_NAME
Pour le recréer : dfm hs register -a 8699 -i IP.ADDRESS.DFM.SERVER IP.ADDRESS.HOST.SERVICE

Il affiche alors :

Successfully registered host service ‘IP.ADDRESS.HOST.SERVICE(29336)’.
The host service needs to be authorized to enable
backups(local and remote) and restore operations on
virtual infrastructure managed by the host service.

Retrieving SSL certificate presented by host service …

The SHA256 fingerprint of the SSL certificate presented
by the host service is :
XX:YY:AA:BB:CC:DD:EE:FF:GG:HH:II:JJ:KK:LL:MM:NN:OO:PP:QQ:RR:SS:TT:UU:87:A8:2F:83:46:E4:2D:24:17

Do you trust the SSL certificate and authorize the host service
to use this server {y(yes), n(no), v(to view full certificate)} ? [y]y
Successfully authorized host service ‘29336’. Started job 19273 to discover virt
ual inventory.

Et le tour est joué !

Posted in NetApp, Non classé | Tagged , , , , , , | 2 Comments

Problème with logrotate : [logrotate]

After the upgrade from lenny to squeeze, cron.daily were in defunct state every day. This causes a memory overload.

When the cron.daily starts, we can see warning in file /var/log/messages :

Sep 19 08:41:02 mx1 backup-manager[20710]: warning * When validating the configuration file /etc/backup-manager.conf, 1 warnings were found.

Even if all packages are up to date, it looks like a bug of backup-manager.

The following line should be add on the file /etc/backup-manager.conf :
export BM_LOGGER_LEVEL=”warning”

Warning disappears and the cron.daily runs smoothly.

Posted in Linux, Non classé | Tagged , , , , | Leave a comment

Flush the memory cache on linux Debian

This tips may work on other linux but I only test it on Debian Squeeze :

mx1:/var/log# free -m
total used free shared buffers cached
Mem: 1961 1532 429 0 207 701
-/+ buffers/cache: 623 1338
Swap: 513 0 512
mx1:/var/log# sync && echo 3 > /proc/sys/vm/drop_caches
mx1:/var/log# free -m
total used free shared buffers cached
Mem: 1961 296 1665 0 0 23
-/+ buffers/cache: 272 1689
Swap: 513 0 512

Posted in Linux, Non classé | Tagged , , , | Leave a comment

HOWTO : Find MAC address of Brocade switch

Using telnet or SSH command line : ifmodeshow eth0

Posted in Non classé, SAN | Tagged , , , , | 1 Comment

Réception de mail HS après upgrade Lenny vers Squeeze (dovecot)

Suite à l’upgrade d’une Debian Lenny vers Squeeze, impossible de recevoir des mails. Le message d’erreur est :

Aug 25 13:27:23 SRV postfix/pipe[10910]: 628358035A: to=, relay=dovecot, delay=156, delays=156/0.01/0/0.11, dsn=4.3.0, status=deferred (temporary failure)
Continue reading

Posted in Linux, Non classé | Tagged , , , , , , , , , | 1 Comment

Power supplies monitor : DOWN

Sur un switch DCX où seule deux alimentations (sur 4) sont installées, le status des power supply passe en DOWN donc le switch entier… Ce qui peut remonter des alertes alors que tout est normal…
Continue reading

Posted in Non classé, SAN | Leave a comment

Votre ordinateur a été bloqué pour violation de la loi Française

Un nouveau (?) virus (enfin si on peut l’appeler comme ça) a fait son apparition…
Lors de l’ouverture de session, il bloque l’ordinateur avec une page présentant un logo de la Gendarmerie et indiquant : “Votre ordinateur a été bloqué pour violation de la loi Française”.

Il va sans dire que ceci n’est qu’une escroquerie et que la Gendarmerie n’a absolument rien à voir là dedans.

Il vous est demandé de payer 200€ pour débloquer votre ordinateur… Inutile de le rappeler mais sait-on jamais… NE PAS PAYER !

Continue reading

Posted in Non classé, Windows | Leave a comment

NetApp Filer : kerberos.conf.not.found / Could not find Kerberos configuration file

Message d’erreur :
Wed Dec 14 15:01:43 CET [vfilerXXX@filerYYY: kerberos.conf.not.found:warning]: Could not find Kerberos configuration file /etc/krb5.conf.
Wed Dec 14 15:01:43 CET [vfilerXXX@filerYYY: cifs.trace.GSS:error]: AUTH: Unable to initialize Kerberos context: (0x96c73a87) Can’t open/find Kerberos configuration file.

Message apparu plusieurs jours plus tôt :
Wed Dec 7 10:56:45 CET [vfilerXXX@filerYYY: auth.dc.trace.DCConnection.errorMsg:error]: AUTH: Domain Controller error: NetLogon error 0xc0000022: – Filer’s security infor
mation differs from domain controller \\DC.
Continue reading

Posted in NetApp | Leave a comment