Mittwoch, 25. November 2015

Problems with Ical Calendar MAC and Exchange?


In case you use El Capitan 10.11.1 and your calendar entries do not show up at your  Exchange 2013 account:

rm -f /Library/Caches/com.apple.AutoTimeZone.plist

osascript -e 'display notification "Cleared iCals TimeZone Cache" with title "ResetIcal"'

Have fun!

Freitag, 20. November 2015

Win7 full HDD - what about a cleanup of the big folder WinSxS ServicePack Backups

Run CMD.EXE as Administrator


than

DISM.exe /Online /Cleanup-Image /spsuperseded 


Have fun :-)

Donnerstag, 19. November 2015

Phone Echo Server

Here are two PSTN Echo Servers:

+49 89 72101099701 

Server telling you your extensions number: (Tollfree in Germany):
 0800 9377546

Sonntag, 15. November 2015

Snom VoIP Phone - Reboot Quick Hint: **##

In case you have to reboot a snom VoIP Phone - just press:

* * # #

Donnerstag, 5. November 2015

Confluence Jira Atlasssian - Missing People from People Dicrectory

In case you miss a confluence user in the people directory but this user is listed in the admin user list try this:

https://YOURSERVER/admin/search-indexes.action

Samstag, 17. Oktober 2015

apt-get missing keys import

You can't update a package:

Step a) gpg --recv-key 075721F6A224xxxx

Step b) gpg --armor --export 075721F6A224xxxx | apt-key add -

Mittwoch, 23. September 2015

Passwort Generator

Kleines Script, für Leute, die dem eigenen dev/urandom trauen.

Übergabe eins INT generiert entsprechende PW

#!/bin/sh
LEN=$1
[ "$LEN" ] || LEN=6
head -c $LEN /dev/urandom | openssl enc -base64

Access DB Passwort Checken

#include <stdio.h>
#include <stdlib.h>

int main( int argc, char *argv[])
{
FILE *mdb;
int i;
char ch;

int mask[14] = {0x86, 0xfb, 0xec, 0x37, 0x5d, 0x44, 0x9c,
0xfa, 0xc6, 0x5e, 0x28, 0xe6, 0x13, 0xd8};

if ( argc<2)
{
fprintf( stderr, "usgae %s: filename.mdb\n", argv[0]);
return 1;
}

if ( (mdb=fopen( argv[1], "rb"))==NULL)
{
fprintf( stderr, "%s: can't open %s\n", argv[0], argv[1]);
return 1;
}
fseek( mdb, 0x42, SEEK_SET);
printf("The password is :");
for ( i=0; i<14; i++)
{
if ( (ch=fgetc( mdb)^mask[i])==0) break;
putchar(ch);
}
if ( i==0) printf("(none)");
putchar('\n');
fclose( mdb);
return 0;
}

Sonntag, 23. August 2015

ASA und IPSec auf MAC, falls es mal wieder klemmt:

tail -f /var/log/system.log | grep 'racoon\|nesession\|configd' 

Donnerstag, 23. Juli 2015

ClamAV - centOS - ERROR: LOCAL: Socket file /var/run/clamav/clamd.sock could not be bound: Permission denied

Wer kennt diesen Fehler nicht... :-)

vi /etc/clamd.conf 

und dann ein

LocalSocket unix:/var/run/clamav/clamd.sock

und ein

FixStaleSocket yes

Mittwoch, 24. Juni 2015

Windows 7 Netzwerkfehler 67 mit Parallels

Wer kennt das nicht?

In Parallels lassen sich Windows Shares nicht mehr mounten.

3 online Sessions mit der Parallels Hotline: 3h Zeitverschwendung....

Das hat geholfen:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\HwOrder

und dann

ProviderOrder

LanmanWorkstation,prl_fs,Nfsnp

Samstag, 9. Mai 2015

Videos wegsichern:

nohup mv *.* /media/net/NAS01/ &

Donnerstag, 7. Mai 2015

Lösch Reminder

Für die Vergesslichen unter mir :-)

Über 100 Tage alte Dateien löschen:

find /volume1/tra/la/la -type f -mtime +100 -exec rm -v {} \;

Freitag, 1. Mai 2015

Odroid U3 und openHAB

Dinge, die man nach dem Flashen eines Ubutus tun sollte:

1. root-utility.sh  - Denn sonst passt kein openHAB drauf.
2. sudo dpkg-reconfigure tzdata - Dann passt es wieder mit der Zeitzone.
3. sudo apt-get update
4. sudo apt-get upgrade
5. sudo vi /etc/apt/sources.list.d/openhab.list
     deb http://repository-openhab.forge.cloudbees.com/release/1.x.y/apt-repo/ /
6. sudo apt-get update
7. sudo apt-get install openhab-runtime
8. sudo apt-cache search openhab - Bindings auflisten
9. sudo apt-get install openhab-addon-binding-xy - Binding xy installiern
   sudo apt-get install openhab-addon-binding-zwave
 sudo apt-get install openhab-addon-binding-weather
10. HabMIN
   /etc/init.d/openhab stop
   sudo wget https://github.com/cdjackson/HABmin/releases/download/0.1.3-snapshot/habmin.zip
/etc/init.d/openhab start




ZME_UZB1

OpenHAB hat so seine Probleme mit dem USB-Dongle. Daher

mit lsusb die VendorID=AAAA und die ProductID=BBBB herausbekommen. z.B. 0658:0200

Danach gehe man:

cd /etc/udev/rules.d

sudo vi zwave.rules

# FTDI UART enabled

ATTRS{idVendor}=="AAAA", ATTRS{idProduct}=="BBBB", OWNER="root", GROUP="dialout", MODE="0660", SYMLINK+="zwave"