What is this blog about?
Mainly it is for my personal use. Is a collection of my job experience and are inteded to be notes for my memory just in case I need them again in the future.
That said I hope these tips could be useful for someone else too
Why in English?
I like foreign languages, English in particular. So, I consider this a sort of training for my English :-)
venerdì 4 novembre 2011
Enable FTP service in OS X Lion, Mountain Lion, Mavericks, Yosemite, El Capitan
Beginning with OS X Lion (client), Apple removed in System Preferences, the option to activate the FTP server.
Fortunately the daemon is still there, just dormant.
To wake it up launch Terminal and type
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plist
You can disable FTP anytime typing the following command
sudo -s launchctl unload -w /System/Library/LaunchDaemons/ftp.plist
mercoledì 1 giugno 2011
Enable Administrator in Windows 7, 8, 8.1
To enable the Administrator account, the quickest way is running a Command Prompt session with Run as administrator
At the prompt type
net user administrator /active:yes
At this point it is recommended to assign a good password.
To disable the Administrator account
net user administrator /active:no
At the prompt type
net user administrator /active:yes
At this point it is recommended to assign a good password.
To disable the Administrator account
net user administrator /active:no
venerdì 21 gennaio 2011
Cables. Who cares?
A few days ago I was struggling with a desktop multifunction Samsung printer.
Everything was fine except, the scanner.
The MFP was hooked up to a PC with a USB cable.
Whenever I tried to scan a document, an error panel appeard saying Hardware I/0 error.
I removed and downloaded the latest drivers from Samsung support site without luck.
Changing the USB cable with a new, good shielded, not too long one, removed the impediment.
Everything was fine except, the scanner.
The MFP was hooked up to a PC with a USB cable.
Whenever I tried to scan a document, an error panel appeard saying Hardware I/0 error.
I removed and downloaded the latest drivers from Samsung support site without luck.
Changing the USB cable with a new, good shielded, not too long one, removed the impediment.
PowerMac G5 DP using one processor
Suddenly a PowerMac G5 Dual Processor started having kernel panic after a few minutes from start up.
It turned out that one of the two processors was faulty.
A Google search reported that in a DP PowerMac, if the first processor is damaged, usually the computer does not even boot up.
While, if it is the second, it shows the behavior I experienced.
I was able to circumvent the problem leaving the processor in its place.
To do so, you must enter Open Firmware.
Immediately after the startup sound, press and hold the key combination Command-Option-O-F
Release the keys when you see a white screen that says "Welcome to Open Firmware."
At the prompt type
setenv boot-args cpus=1
and hit return. If the syntax was correct you got an OK result.
Now type
mac-boot
hit return and the operating system boots.
I tested the reliability of the new mono PowerMac :-) by running Grapher, find the program inside Utilities folder, with a few windows drawing 3D animations for more than two hours and no crash at all.
Beware! Reissue the Open Firmware procedure if you reset PRAM
It turned out that one of the two processors was faulty.
A Google search reported that in a DP PowerMac, if the first processor is damaged, usually the computer does not even boot up.
While, if it is the second, it shows the behavior I experienced.
I was able to circumvent the problem leaving the processor in its place.
To do so, you must enter Open Firmware.
Immediately after the startup sound, press and hold the key combination Command-Option-O-F
Release the keys when you see a white screen that says "Welcome to Open Firmware."
At the prompt type
setenv boot-args cpus=1
and hit return. If the syntax was correct you got an OK result.
Now type
mac-boot
hit return and the operating system boots.
I tested the reliability of the new mono PowerMac :-) by running Grapher, find the program inside Utilities folder, with a few windows drawing 3D animations for more than two hours and no crash at all.
Beware! Reissue the Open Firmware procedure if you reset PRAM
giovedì 11 marzo 2010
Backup strategy with rsync
Everyone knows backups are important.
But usually everybody doesn't care much about them until an unrecoverable event happens.
So, why wait for that very moment, if, with a little bit of effort, you can have a rock solid data backup strategy.
A very good review on how to use the standard *nix rsync program to backup your valued electronic data.
Easy Automated Snapshot-Style Backups with Linux and Rsync
But usually everybody doesn't care much about them until an unrecoverable event happens.
So, why wait for that very moment, if, with a little bit of effort, you can have a rock solid data backup strategy.
A very good review on how to use the standard *nix rsync program to backup your valued electronic data.
Easy Automated Snapshot-Style Backups with Linux and Rsync
mercoledì 10 marzo 2010
Mac OS X print presets
Let's say you have a color laser printer installed in your system but you usually print in black and white.
It is very likely that the printer presets are in color.
So, every time you need to print a document, and you need it B/W, you have to go through the printer settings and choose the appropriate parameters.
That could eventually become annoying.
Yes, it is possible to create one or more personalized presets to choose from, before hitting the Print button, but that is not always the perfect solution.
There are programs, i.e. the MS Office suite, that have a nice little button with a printer, which sends the document directly to the print queue, bypassing the print dialogue screen.
If you want to modify the "Standard" presets there is a straightforward solution. Just fire up your browser and fill the URL bar with the address below or just click the link
http://localhost:631
It'll be presented the CUPS (Common UNIX Printing System) page. From there, you can change whatever you want regarding the printer or printers settings that will became the new defaults.
It is very likely that the printer presets are in color.
So, every time you need to print a document, and you need it B/W, you have to go through the printer settings and choose the appropriate parameters.
That could eventually become annoying.
Yes, it is possible to create one or more personalized presets to choose from, before hitting the Print button, but that is not always the perfect solution.
There are programs, i.e. the MS Office suite, that have a nice little button with a printer, which sends the document directly to the print queue, bypassing the print dialogue screen.
If you want to modify the "Standard" presets there is a straightforward solution. Just fire up your browser and fill the URL bar with the address below or just click the link
http://localhost:631
It'll be presented the CUPS (Common UNIX Printing System) page. From there, you can change whatever you want regarding the printer or printers settings that will became the new defaults.
sabato 16 maggio 2009
VNC screen scrambled
Many Apple servers out there are headless. That is particularly true for the ones before the advent of the Xserve with Intel processor.
And quite often, servers are managed remotely using software like the multitude of VNC server (GPL) or Apple Remote Desktop (commercial).
I personally choose Vine Server OSX Vnc to control a couple of Xserve. One with Panther server and the other one with Tiger server. This program has the advantage to handle international keyboard layout over the VNC server self contained in Tiger which can't.
I think I played around with Monitor Preferences because at some point logging into the VNC server presented a screen like this.

For some times I ended up quitting the VNC client and relaunching it again to get a comprehensible image. But that was very annoying.
So I did some internet searches and I found the solution to the problem removing the file
/Library/Preferences/com.apple.windowserver.plist
on the server side.
And quite often, servers are managed remotely using software like the multitude of VNC server (GPL) or Apple Remote Desktop (commercial).
I personally choose Vine Server OSX Vnc to control a couple of Xserve. One with Panther server and the other one with Tiger server. This program has the advantage to handle international keyboard layout over the VNC server self contained in Tiger which can't.
I think I played around with Monitor Preferences because at some point logging into the VNC server presented a screen like this.

For some times I ended up quitting the VNC client and relaunching it again to get a comprehensible image. But that was very annoying.
So I did some internet searches and I found the solution to the problem removing the file
/Library/Preferences/com.apple.windowserver.plist
on the server side.
Iscriviti a:
Post (Atom)