Archive for January, 2009

How to provide Internet connection to a Virtual PC guest OS using a loopback adapter

January 29, 2009 Leave a comment
Installing Windows 7 on Virtual PC 2007 and activating it Windows Server 2008 Server Core style was not a problem since the host PC (a Lenovo 3000 N100 laptop running WinXP Pro) I used was connected to our corporate network. At home though, hooking up to the Internet is via dialup using PLDT WeROAM. The problem is, I wanted to use the same network interface I assigned Windows 7 in VPC and I don’t have a switch to physically connect the network interface into. Below is my workaround to address the problem at hand.

  • Make a Loopback adapter
          Things you need:
          – an RJ45 connector
          – a pair of twisted pair wire about 4 to 5 inches long
          – a crimping tool (if you don’t have one, it’s Php 200.00 at CD-R King)
    1. Strip open a UTP cable and cut-off a pair about 4 to 5 inches long. I used the White Orange-Orange pair.
    2. Insert the individual wires into the RJ45 connector in the following order:
    3. Crimp the RJ45 connector and you now have a loopback adapter.
    4. Plug the loopback adapter into your PC’s LAN adapter.

  • Sharing the Internet connection.
    1. Go to the Control Panel and launch the Network Connections applet.
    2. Right-click your mouse on the dialup icon (in my case, it’s HUAWEI3G.PLDT Weroam PLUS) then select Properties from the context menu.
      The dial-up dialog pops up.
    3. Click the Advanced tab and tick Allow other network users to connect through this computer’s Internet connection.
    4. Click OK when a message box pops up.
    5. If you only have one NIC, just click OK and you’re done. However, if you have more than one NIC, select the appropriate network connection under Home networking connection and click OK.
    6. Click OK when a message box pops up.
      Your computer should now be ready to share it’s Internet connection.
    7. Next, fire up VPC and start your guest OS (I had Windows 7 to play with).
    8. Login to windows 7 and launch the Command Prompt.
    9. Type ipconfig and press Enter.
      If you did steps 1 to 6 right, you should see the guest OS’s IP configuration.
    10. Open your favorite web browser and see if you now have Internet connectivity.

PS: If you don’t want to make a physical loopback adapter, try using the MS Loopback adapter and assign that adapter to be used by the guest OS. You get the same result but making a physical loopback adapter gives you a different experience because nothing beats a rather physical action…  

Old school Hosts file to fix name resolution problems

January 24, 2009 4 comments
For almost a week now, I have been trying to sign in to to add a blog on Windows 7 but I end up being frustrated because I can’t login to the aforementioned website. I thought my ISP was again failing me. The funny thing about my problem was, I can login to MSN related services (i.e. Hotmail, MS Connect, etc) but not to the storage services (i.e. SkyDrive and Spaces). Mind you, I did OSI layer 7 troubleshooting but to no avail. I even thought of sending an email to MSN support regarding my problem then it all of a sudden hit me…what if I’d do layer 3 and layer 4 troubleshooting. I immediately fired up the Command Prompt and traced the route to reach (c:\>tracert The trace returned a path leading to which is the localhost; meaning, my machine. I followed up with a ping (c:\>ping that returned a reply from that added to my frustration. I tried to query for\>nslookup auth.bay.livefilestore.comthat is shown as an error on the browser after attempting to sign in to The query fortunately returned with the FQDN’s IP address. I then queried for and that returned their corresponding IP addresses. I queried for these sites as well because the Avira AntiVir Classic I got can’t update online. Now that I have the needed host addresses, I edited my machine’s hosts file (systemroot\system32\drivers\etc\hosts) hoping I’d be able to bypass I added the following lines in the list:   <<< for and   <<< both for Avira AntiVir Classic   <<<
I saved the hosts file and tried signing in to; am now able to add this blog as well as update Avira AntiVir Classic. By the way, I got PLDT WeROAM to hook up to the Internet.
Coming up next, my blog on how to provide Internet connection to a VPC guest OS using a loopback adapter.

Activating Windows 7 Beta (build 7000): Windows Server 2008-Server Core Style

January 16, 2009 Leave a comment
I opted not to activate Windows 7 immediately after installation thinking there was a link or button somewhere that would allow me to do so later. I’ve been searching for the said activation thingy but to no avail. I guess am just too dumb or simply blind not to find the damned activation button.

Frustrated, I launched the Command Prompt in an attempt to activate Windows 7 via Windows Server Core style. Guess what? It worked. Here’s how I did it:

  1. Enable the built-in Administrator account. (this is because you need administrator privilege to run the activation script)
    • Right-click Computer from the Start Menu then select Manage from the context menu.
      The Computer Management console pops up.
    • Expand the System Tools snap-in then expand the Local Users and Groups snap-in as well.
    • Click the Users extension then right-click the Administrator user account and select Properties from the context menu.
      The Administrator Properties dialog pops up.
    • Uncheck Account is disabled then click OK.

    By the way, if you can’t recall the built-in Administrator’s password, you might as well reset the password since you will be prompted for it later.

  2. Activate Windows 7
    • Launch the Command Prompt.
    • In the Command Prompt, type runas /user:administrator /env "cscript x:\windows\system32\slmgr.vbs -ato" then hit Enter.
      You will be prompted for the password. Just to do so and hit Enter then wait until you see the blinking cursor again.
    • Verify the activation by launching the System applet in the Control Panel or right-click Computer then select Properties from the context menu. You should have something like this:

By the way, I was able to locate the activation link the second time I installed Windows 7. Just launch the System applet via the Control Panel or Properties from the Computer context menu. Windows activation section follows after Computer name, domain, and workgroup settings.


January 16, 2009 1 comment
I have difficulty remembering especially procedures so I decided to give blogging a try to at least alleviate the burden. No fancy stuffs here, just plain and simple "How To’s" to share in case others may need the info too.
So, welcome to my blog and hope this will be of help to you as much as it would be to me
Categories: Uncategorized