Dienstag, 7. Oktober 2014

MacOS: How to change the internal Hostname

hi there

I want to show you how to you change your internal hostname of your macbook or other MacOS devices.

To do that, you have to open terminal first and normally the hostname would be like Toms Macbook, Mikes Macbook or whatever name you've typed in on the first login.

You just have to type in
sudo scutil --set HostName foo.local

where foo.local can be replaced with your prefered hostname.

The system password is requested and it's done.

As you see now, it's not changed yet, what you have to do is close it, open a new terminal window and we have a new name. So i hope you have enjoyed it and name you book properly cya!

Youtube version: Youtube

Montag, 6. Oktober 2014

MacOS X: How to disable the dashboard

hi there,

today i want to show you where i first stumbled upon when i got my new macbook. you may also know the trackpad gesture where you swipe with three fingers up and see the desktop or you can swipe to the desktops to the left or right. and the problem is - i see no real use for this dashboard - so let's disable it.

so what you have to do is: open the terminal window and then issue the command

defaults write com.apple.dashboard mcx-disabled -boolean YES

and then you have to restart the dock with a

killall Dock

Then it blinks and if you typed it right it works.

Maybe some of you regret now what you have done. to get it back it's also quite easy - it's basically the same command, but instead of a boolean yes, you have to use boolean NO, restart the dock and you are done, so in terminal language:

defaults write com.apple.dashboard mcx-disabled -boolean YES
killall Dock

it's here again and you can use all these funky features, which i still think are useless.

Video version of this blog post: Youtube

Sonntag, 5. Oktober 2014

Connect to a headless CrashPlan server on a Synology NAS using Mac OS

Hi there,

like many of you i have a NAS from Synology a 1511+ and I use it for nearly everything. This everything includes beside storing my data also in a few services. One of these services is CrashPlan, which might you also know as a Cloud backup solution.

I’m using it now for a couple of years, and never really had the worst case, so a complete loss of my data, but it was handy a few times already, like if you accidentally overwrite a file, and then need it a few weeks later, or if you need some file, that has been backed up, but is not in you other cloud storage like dropbox - you can also use it for this kind of work

what i want to show you today is how to access the synology crash plan service from a mac os client. i am quite new to the mac world and the first task i started after updating the preinstalled applications was of course setting everything up, as i need it - involving crash plan.
I tried asking dr. google how it is done and i ended up just with the results including windows clients - the method i also used before.

cause crash plan is running no matter where - on linux, windows, mac os or on my synology has in a java container i imagined it must be nearly the same and i searched for the config file on my local file system.

and voila i found it :)

so here are the necessary steps to bring it up and running for you:
first open your favourite command line - i am using the built in terminal - if you wonder which launcher i use - it’s alfred which i can really recommend you over the normal spot light - maybe give it a try

then switch to the directory /Applications/CrashPlan.app/Contents/Resources/Java/conf

in here you will see a file called ui.properties when issuing the "ls -lahrt” command

first thing we would like to do is take a short peek at the file - more ui.properties

#Fri Dec 09 09:50:22 CST 2005
 #pollerPeriod=1000 # 1 second
 #connectRetryDelay=10000 # 10 seconds

yeah - it’s quite short and quite full of comments - lets make a backup of that for our local crash plan instance - which we still want to use in the future

cp ui.properties ui.properties.local

and another one which we use then for the sinology instance

cp ui.properties ui.properties.synology

now open the ui.properties.synology, uncommont the serviceHost line change the IP to the one of your Synology NAS.

if you are using a different service port, you also have to repeat this procedure with the serverPort line

now in theory to start it we just have to replace the working copy ui.properties with the one we would like to use - so either the local one or the synology one - but we didn’t up in it cause we like to do extra work and have no idea to make our live easier.. :)

for that i have under my user folder a folder called Scripts - let’s got to it:

cd /Users/lwa/Scripts

in this folder create file called synology_crashplan.command with the following content:

cd /Applications/CrashPlan.app/Contents/Resources/Java/conf
cp ui.properties.synology ui.properties
open /Applications/CrashPlan.app
sleep 5
cp ui.properties.local ui.properties

what it does is it goes to the directory of the ui.properties config files
overwrites the current configuration with the one for the synology NAS
starts the crash plan gui
waits 5 seconds and give it a bit of a headstart
and then copies back the local config, so you can easily start your existing client

of course you can also make an alias for the script and place it on the desktop - you can do it, but you don’t have to do it

if you have any comment/question - just leave me a comment/message.

and have fun with your headless backup server

Video version of this post: Youtube

Samstag, 4. Oktober 2014


so after being lazy over the last few months i decided to (try to) write again and also publish some youtube videos with howto's etc

1) i am lazy and that implies that i hate to do stuff more than once - so if i make video about something specific AND write about it, i might not forget the right procedure ;)
2) i love to chat with other it guys about the pros and cons of various stuff, also you see other views/approaches and may develop new methods - so there can just be gain
3) i just got myself a few new toys I'd like to try out - more about that maybe later ;)

Freitag, 23. November 2012

% No password set

If you ever install a new Cisco router - connect it with your console cable (or with the terminal server), and like to connect and just get

% No password set

check your cabling again - i was connected to the AUX port instead of the console port ;) 

Setting right time at Checkpoint systems

short memo to me, if something is messed up with summer time eg.

check with:

[Expert@abc]# cd /etc/
[Expert@abc]# ls -l localtime*
lrwxrwxrwx    1 root     root           33 Jul 22  2008 localtime -> /usr/share/zoneinfo/Europe/Berlin
-rw-rw---- 1 root root 14 Jul 22 2008 localtime.tz

Dienstag, 2. Oktober 2012

Resident Evil 6 PS3 - No sound?

I've preorderd my copy of RE6 in the Playstation online store, and after waiting till afternoot at the release day it will start now.

But I have a type of problem with my sound?! I don't a hear anything - just the controller vibrating due the intro scene.

I've also tried to change the systems' language from German to English but no change at all?

Anyone else with this problems?

UPDATE: After a full restart of the system all worked - no idea why...