1-wire error

June 28th, 2008

Under några veckor har det strulat med 1-wirenätet.
Har provat att koppla i och ur vissa givare, men utan resultat.

Har bytt alla kablar till cat5. men inte fått det att fungera, mätningar visar att det är lite förstora spänningsförluster. Test med usb interfacet DS9490R ute vid utegivare visar att allt fungerar där. Mäter bara +3,8v Dock gav inkoppling av lcd displayen och drivare ett tillskott och späningen gick upp till +5,4v. Det verkar som jag har lite för långa kablar det är 72 meter mellan vindmätaren i masttoppen och utegivaren, sen ca 20 meter upp till servern.

Fel 2 interfacet DS9097U s09 verkar ha gett upp, kanske pga överbelastning, får undersöka det senare.
Bytt till USB interfacet och startat om loggningen.

Det var lite mixtrande att få igång usb i min debian, men nu rullar det på fint.

PGP encrypted mailinglist - part II

March 25th, 2008

So, of course it would be nice to have an automatically subject-rewriting that include mailinglist [id].
One way to solve this, is to use sed and this already when mail arrives to server.

In /etc/aliases:

crypt: “|/bin/sed ‘/\Subject:\ Re:\ [Crypt]*/!s/Subject:/Subject:\ [Crypt]/’ |/etc/pgpalias/gpg-aliases.pl /etc/pgpalias/config”

And all above on a single row a usual

There is one small issue, that is if sender doesn´t include an subject at all, then there is nothing to rewrite.

Otherwise if Subject: test, it will be rewritten to Subject: [Crypt] test
and if you reply to that: Subject: Re: [Crypt] test it will not add [Crypt] agin.

PGP encrypted mailinglist

March 15th, 2008

Found a perlscript to manage pgp-encryption for mailinglists but had to tweek it some for my purpose. Original is found here:
http://www.rediris.es/pgp/app/pgplist/index.en.html

Added support for Reply-To: My Patch