VMWare Virtual Machine Can’t Connect to the Internet or Detect Network Adapter / Ethernet Controller

Issue: when powering on and start the VMWare virtual machine, the guest machine can’t connect to the Internet. In device manager, it shows the system can’t detect network adapter / ethernet controller.

This normally happens when upgrading VMWare version or upgrading Windows operating system or converting physical machine to virtual. The later one is my case.

Apparently, this VMWare bug as stated in this forum: http://communities.vmware.com/message/1400475

The workaround is:

  1. Power off (not just suspend) the virtual machine.
  2. Go to VM > Settings > Options tab. Check “Guest operating system” section and make sure it matches version of the actual operating system.
  3. Open up the virtual machine’s .vmx file (located in the virtual machine’s folder). Ensure it has the following lines, add if it doesn’t:
    ethernet0.addressType = “generated”
    ethernet0.connectionType = “bridged”
    ethernet0.virtualDev = “e1000”
  4. Power on the virtual machine.

Access iPad File System with SSH from Mac

  1. Install “OpenSSH” on your iPad This can be found on Cydia if the iPad is jail-broken.
  2. Enable the SSH connection on the iPad I install “SBSettings” from Cydia to turn SSH on / off. There are many other apps that can do this.
  3. Find out your iPad’s IP address If you have “SBSettings” installed, you can see your IP address on this app as well.
  4. From your mac, run Terminal
  5. SSH to your iPad by typing the following command SSH root@
  6. When prompted for Password, type in “alpine” (without double quote – all lowercase)
  7. Whoola, you are in iPad’s file system now.
  8. If you can’t access your iPad with SSH, try reboot the iPad.

Delete All iPad’s Address Book and Calendar Data

  1. SSH to your iPad.
  2. Note that the folder and file names in iPad are case-sensitive.
  3. Delete “AddressBook.sqlitedb” file on “/private/var/mobile/Library/AddressBook/” with the following command:
    rm /private/var/mobile/Library/AddressBook/AddressBook.sqlitedb
  4. Delete “Calendar.sqlitedb” file on “/private/var/mobile/Library/Calendar/” with the following command:
    rm /private/var/mobile/Library/Calendar/Calendar.sqlitedb

Good Automation System Process Characteristics

  1. Run one instance only.
  2. Send notification when error occurs.
  3. Auto-fix error if possible (based on frequently occurred errors).
  4. Logging capability.
  5. A separate monitor system to watch the process.
  6. Monitor system must very simple to prevent failure.

Hacking AT&T U-verse Router (Gain Access)

I came across a network with internet connection provided by AT&T U-verse. Out of my curiosity, I wanted to access the router’s configuration manager, thus I needed the gateway ip address.

  1. Tried with no luck. And since I was using my Mac, ifconfig command doesn’t give me the gateway ip address. Workaround is to trace route google.com:

    The ‘home’ route, which is is the gateway ip address.
  2. Go to on any browser.
    Apparently, AT&T U-verse default setting is using above ip address as configuration manager portal. Also, when you access the configuration manager portal, there is no password needed. Only certain section will require password.
  3. Configuration Manager Portal.
    Even without password, you already have access to a lot of information about the network.
  4. Browse to Settings > LAN > Wireless, and I saw:

Happy hacking!

How to Capture Screenshot on Mac OS X

  1. Command + Shift + 3
    Capture whole screen and save the file on desktop
  2. Command + Control + Shift + 3
    Capture whole screen and save to clipboard
  3. Command + Shift + 4
    Capture specific area (with cross-hair cursor) and save the file on desktop
  4. Command + Control + Shift + 4
    Capture specific area (with cross-hair cursor) and save to clipboard
  5. Command + Shift + 4. Then Space.
    Capture specific window and save the file on desktop
  6. Command + Control + Shift + 4. Then Space.
    Capture specific window and save to clipboard