Donnerstag, 28. Dezember 2017

MAC TFTP Server

MAC OS/X has a build-in TFTP server:

Start it with:

sudo launchctl load -F /System/Library/LaunchDaemons/tftp.plist
sudo launchctl start com.apple.tftpd

The default tftp file path is

/private/tftpboot


Stop it with:

sudo launchctl unload -F /System/Library/LaunchDaemons/tftp.plist

Donnerstag, 21. Dezember 2017

Snom VPN how to

In case you want to use a Snom via VPN

Export your openSense blabla.ovpn configuration.
Rename it to vpn.cnf
Create a pass.txt file with username and password for the VPN User
Create ca.crt file
Make a tar out of the files above call openvpn.tar


Montag, 27. November 2017

FreePBX and Postfix

In case your FreePBX can not send mails....

sudo postmap /etc/postfix/sasl_passwd
sudo postfix reload

Mailqueue anzeigen ( „less“,  falls zu viele Mails in der Schlange stehen) mailq | less
oder
postqueue -p
gesamten Schlange löschen: postsuper -d ALL
einzelne Mails aus der Schlange löschen: postsuper -d ID (Die ID erfährt man durch „mailq | less“)
Postfix zwingen, die Mails zu versenden postqueue -f
Versuchen verzögerte (deferred) Mails abzuschicken (erzwingen) postqueue -i ID
Verzögerte (deferred) Mails aus dem Queue löschen postsuper -d ALL deferred

Mittwoch, 15. November 2017

mySql und myPHPAdmin an alternate way to administrate

In case you need access to you mySQL DB on your Server try this:

https://www.adminer.org/de/

Just put it in /var/www/html/wp-access/

Change group
Make it executable


Sonntag, 5. November 2017

FreePDF problems with Windows 10


In case you use FreePDF and you have problems with the layout. Try this in a command shell as administrator:



ren "%windir%\System32\spool\drivers\x64\3\MSGENCOL.PPD" MSGENCOL.PPD.BACKUP

copy "%ProgramFiles(x86)%\FreePDF_XP\freepdfxp.ppd" "%windir%\System32\spool\drivers\x64\3\MSGENCOL.PPD"

net stop spooler

net start spooler

Sonntag, 15. Oktober 2017

Ubuntu: Boot-Partition full

In case your /boot is used 100%

List your installed kernels:

sudo dpkg -l | grep linux-image

remove old files:

sudo apt-get purge linux-image-4.4.0-93-generic

Freitag, 6. Oktober 2017

Sonos Infos

In case you need more information about your Sonos players in your Network:

<IP of your Player>:1400/support/review

i.e.

http://192.168.1.123:1400/support/review

Mittwoch, 13. September 2017

Centos and PHP

just quick shortcuts:

rpm -qa php\*

yum remove php7*

rpm --query centos-release

Montag, 28. August 2017

Amavisd - OpenBSD 6.1 - PERL Probleme

In case you have some trouble after moving from OpenBSD 6.0 to 6.1

some hints:

Check Amavisd status with:

amavisd -c /etc/amavisd/amavisd.conf debug

1) Install Perl CPAN (if not already installed)
 
2) Drop into the Perl shell
# perl -MCPAN -e shell

3) Now at the cpan prompt, install the missing modules like:
cpan[1]> install Unix::Syslog

Dienstag, 8. August 2017

Mac OS Sierra bootable on USB

Just in case you need a bootable Sierra USB stick:

Download from Appstrore Sierra (will be saved in /Programs)

then:

sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/8GB --applicationpath /Applications/Install\ macOS\ Sierra.app

Donnerstag, 11. Mai 2017

Outlook 2013 Im Auftrag gesendete Emails in gesendete Objekte des Postfachs speichern

In case you want to have a delegated sent email not in your personal sent item folder but in the sent item folder of user you are sending

Open regedit

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Preferences

Dword 32bit

DelegateSentItemsStyle

value=1

Sonntag, 16. April 2017

Exchange 2013 OWA blank white page - Certificate Problems

In case you get a blank white page after successful login to OWA or ECP, maybe one of your certificates is expired. Try this:

Open as Administrator a command shell:

netsh http show sslcert

Open an editor and paste the information from the output above - you'll need it later for lazy cut and paste..

Delete the expired certificate:

netsh http delete sslcert ipport=0.0.0.0:444

You should get somethink like "SSL Certificate successfully deleted"

Now open MMC with Plugin "Certificates". Go to the new valid certificate and grep the Thumbprint. Cut and paste just works using an editor.

Assign the new certificate:

netsh http add sslcert ipport=0.0.0.0:444 certhash=XXX  ppid=“{YYY}“
Now reset IIS:

iisreset /stop
iisreset /start

I hope you are so lucky as I was!


Freitag, 17. März 2017

MAC how to log a terminal SCREEN session

In case you need to record a serial session:

script -a -t 0 out.txt screen /dev/tty.usbserial

Sonntag, 26. Februar 2017

MAC how to create a bootable USB Stick using ISO file

In case you have to create a bootable USB stick from ISO file

Check the name of your USB device:
diskutil list 


Convert myimage.iso to myimage.dmg  

hdiutil convert -format UDRW -o myimage.dmg myimage.iso 

Unmount (don't eject!) usb stick 
diskutil unmountDisk /dev/disk2 

sudo dd if=myimage.dmg of=/dev/disk2 bs=1m
 
diskutil unmountDisk /dev/disk2

Freitag, 6. Januar 2017

Firmware for HP Servers How to Unpack on Linux or MAC

In case you need to update a iLO and you just got update files called scene:
1. Create a directory and put the file in
2. chmod +x filename.scexe
3. ./filename.scexe --unpack=./
Now you have extract your file from the scene file.