• Vancouver Diaries

    Open Mind.

    We live in a strange world today. Technology has created an environment where getting data and crunching numbers becomes easy. Once the numbers has been crunched, social media has enabled us to publish the data and our own thoughts and interpretation on it. The data and the interpretation is then consumed by the mass population in an instant through Facebook, Twitter, LinkedIn etc. There has never been a time where social networks has been such powerful platform for interacting with the mass population and potentially influencing them. This has created a very interesting opportunity for cunning crafty individuals who can potentially use this medium towards their advantage. Throughout history politicians…

  • Techie

    Does AppleCare Care?

    I will try to keep my personal biases and frustrations away from this post and point readers only to facts and my personal experience dealing with Apple Support. I will keep names and places anonymous intentionally. FileVault 2 has an issue. Period. The issue mostly shows up with MacBook Pros, early 2015, 13″ models for some reasons although people have reported the issue on other models too. The issue shows up when FileVault is turned on and even after the encryption process has been fully completed. If you happen to cold reboot your Mac from power off or for some reason you had to hard reset the MacBookPro, it comes back…

  • Techie

    VMware fusion

    DHCP configuration : /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf restart networking :  sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli –stop sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli –start   Sample dhcp config :   ###### VMNET DHCP Configuration. Start of “DO NOT MODIFY SECTION” ###### Modification Instructions: This section of the configuration file contains# information generated by the configuration program. Do not modify this# section.# You are free to modify everything else. Also, this section must start# on a new line# This file will get backed up with a different name in the same directory# if this section is edited and you try to configure DHCP again. # Written at: 03/21/2013 23:16:47allow unknown-clients;default-lease-time 1800; # default is 30 minutesmax-lease-time 7200; # default is…

  • Vancouver Diaries

    silver lining

    So if you think about it carefully every negative or difficult experience in our lives has a positive effect as well. Often it is possible to turn a negative situation into a more constructive positive experience if we want to. For exsmple we might have a dofficult and frustrating experience at work. Well we can grudge and complain about it or basically accept the fact that for the most part, we can not change the overall situation. However what we can do is that we can  change our own outlook. Try to get a project that excites us, find something that perhaps we wanted to do for a long time…

  • Techie

    Use DNS 323 to intall Ubuntu using TFTP Boot

    I got this all working on my dns 323. Here’s what I did : Install ipkg following instructions from here : http://wiki.dns323.info/howto:optware Do a ipkg list. You will need two packages, xinetd and tftpd. # ipkg list |grep xinetd xinetd - 2.3.14-9 - Highly configurable, modular and secure inetd # ipkg list |grep tftp atftp - 0.7-9 - Advanced TFTP server and client linksys-tftp - 1.2.1-1 - TFTP Client customized for a non-standard tftp authentication process. tftp-hpa - 5.0-1 - A tftp package Install tftp-hpa and xinetd using ipkg install Create or modify /opt/etc/xinetd.d/tftp file like this : # # ftp://ftp.kernel.org/pub/software/network/tftp/ # service tftp { flags = REUSE socket_type =…

  • Techie

    Mount LVM based volumes from a loopback device (disk image)

    Recently I needed to extract some files from the root partition in a full disk backup image taken with dd. I didn’t notice when I took the disk image, but the disk only contained two primary partitions: /boot and an LVM physical volume containing the rest of the partitions as LVM logical volumes. I don’t work with LVM much manually, so I had to look up the commands to get it to find physical volumes and activate volume groups. Here’s the full process of mounting LVM logical volumes from a full disk image: There are two ways to get to the LVM partition on this disk, and I’ll cover both:…

  • Techie

    Issues with building Xen from source

    Folks, I am back working on Xen and once again, I am bumping into issues getting xen up and running on various distros. I will enumerate some of the issues that I am facing in this blog as I go along : Ubuntu python is weird. The site.py library does not import modules from /usr/lib/pythonx.y/site-packages ! Instead it imports from /usr/lib/pythonx.y/dist-packages ! Check the site.py module and you can see it yourself! The workaround is to create a symlink or install custom packages in /home/localuser/.local/lib/pythonx.y/site-packages and have site.ENABLE_USER_SITE set to True.

  • Techie

    Why you should save SHSH blobs for 3GS/iPhone 4

    Image via CrunchBase Avid iPhone hackers know that in order to be safe, they need to store their SHSH blobs for their jailbreaked phone so that if something goes wrong, they can restore their phone. However, even if you do not plan to jailbreak your phone, you should still save your SHSH blobs. Here’s why: When Apple releases a new firmware for their iPhone/iPod touches, Apple encourages everyone to update their firmware to their latest and greatest release. Old firmwares have vulnerabilities that hackers and jailbreakers effectively use to customize/install non-approved applications into the device. Eventually Apple comes up with a fix and plugs the holes. When you upgrade to…

  • Techie

    How to find out which package a file belongs to

    If you want to figure out which package a file belongs to you can use rpm to find out (On a system that uses rpm). Which package does /bin/bash belong to? [root@host ~]# rpm -qf /bin/bash bash-3.0-19.3 So /bin/bash belongs to bash-3.0-19.3 The -q option lets rpm know that you want to do a query of the database. The f lets you query the package containing the file you specify. Here’s another query: [root@host ~]# rpm -qf /usr/bin/xargs findutils-4.1.20-7.el4.1 [root@host ~]# yum lets you get info on the findutils package: [root@host ~]# yum info findutils Setting up repositories update 100% |=========================| 951 B 00:00 rpmforge 100% |=========================| 1.1 kB 00:00…

  • Techie

    Enable time machine backup to network drive (DNS 323)

    First, enable Time Machine to use network drives: defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 Follow instructions here: http://www.horto.ca/?p=12 I created a “sparse bundle disk image” which I saved as chimera.sparsebundle with the following options: Volume Name: “Time Machine Backups” Filesystem: MAC OS Extended  (Case Sensitive Journaled). Encryption : None Partition : Single Partition GUID Initial Size: 1 GB. Later I resized it to my final backup disk size : 500 GB However, for Snow Leopard, following changes apply: (a) Name of the sparsebundle is <computer_name>.sparsebundle. eg. [anirbans@chimera:/Users/anirbans]$ hostname chimera so the file name should be chimera.sparsebundle (b) The sparse bundle image must contain a plist file: com.apple.TimeMachine.MachineID.plist DO NOT mount the…