Nov 24

This item is related to :
Problem:
Every time you shut down your Mac, you lose your connection to a network drive.
Solution:
Preferences->Accounts->Login Items and adding the icon of your already mounted network volume. Mac OSX will mount it every time you log in.
Print
Nov 23

1. Mount your network drive (check step-5 if you are getting error in mounting)
2. Change the preferences by running following command (open iTerm or other shell)
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
3. Now activate the time machine
4. You will now be able to select your network drive.
5. In case, you loose your network mount, you will need to reset the preference set in step-2, by running following command (open iTerm or other shell)
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 0
For more detail, read this
Completely copied from http://smangal.wordpress.com/2007/12/10/time-machine-with-network-drive/
Print
Oct 23
VirtualBox can run VMs created by VMware Workstation or Server for this you need to import vmdk files using the following procedure
* Start Virtual Box
* Goto File > Virtual Disk Manager
* Click Add. Locate and select the copied .vmdk file. Click OK.
* Create a New VM as usual using the added vmdk file
* Boot the VM
Print
Jul 16
Download file called “flashplayer-win.xpi”
Open file with winzip/7-zip
Copy files NPSWF32.dll and flashplayer.xpt to STATION:\PortableApps\FirefoxPortable\Data\plugins
And you’re done.
Print
Jul 16
find . -type f | while read file
do
sed ‘s/original_text/changed_text/g’ $file >$file.$$
mv $file.$$ $file
done
Print
Jun 22

Handy tips for beginners with Linux (Sorry only in dutch)
Found a great site with tips at http://sites.google.com/site/computertip/Home Make sure you visit.
Print
Jun 10
This can be done on XP via the following:
Go to Start > Settings > Control Panel > Display > Settings > Advanced > Color Management
Select the colour profile from the list and hit Remove.
Critical window updates can really mess up your colors
Print
Oct 06
Read on another blog: Thunderbird mail client updates itself, then closes and restarts to finish the job. During this process, it fails telling to check to makes sure I have permissions to the files then restarts itself, only to crash and tell me the same thing over and over.
Turns out, I have a Logitech QuickCam. Kill the task tray icon, the update works fine.
Just so you know…
Print
Dec 10
umount /opt/backup
umount: /opt/backup: device is busy
Use following command to see who’s using the device
fuser -u /opt/backup
/opt/backup: 31493c(username)
Use following command too kill process
fuser -mk /opt/backup
option -k to kill and option -m to allow you to specify the filesystem by name
Now you can issue the umount command again, and it works as expected
Print
Nov 21
1. # cd /usr/local/samba/bin
2. # ./smbd -l /usr/local/samba/bin
This writes a log file. My log looked like:
| Code: |
[2006/10/19 21:56:40, 0] smbd/server.c:main(791)
smbd version 2.2.12 started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
[2006/10/19 21:56:40, 0] smbd/server.c:main(835)
standard input is not a socket, assuming -D option
[2006/10/19 21:56:40, 0] tdb/tdbutil.c:tdb_log(531)
tdb(/usr/local/samba/private/secrets.tdb): tdb_oob len 1097098365 beyond eof at 8192
[2006/10/19 21:56:40, 0] passdb/machine_sid.c:pdb_generate_sam_sid(163)
pdb_generate_sam_sid: Failed to store generated machine SID.
[2006/10/19 21:56:40, 0] smbd/server.c:main(877)
ERROR: Samba cannot create a SAM SID. |
3. Googling for Samba cannot create a SAM SID revealed stuff about SElinux. Not a lot of help.
4. Further googling found http://www.phptr.com/articles/article.asp?p=419048&rl=1 and I was able to work out that this error was to do with the possible hostname change and samba not updating it.
5. The file that should have been updated was
# /usr/local/samba/private/secrets.tdb
6. I moved the file and started samba again
# cd /etc/init.d/
# ./samba start
samba created a new file.
7. # cat secrets.tdb.old revealed a line with the old hostname it it.
8. checking the processes, smbd had started as it should and my connections worked again.
Found this solution on openFSG forum, tried it and it worked.
Print