Category Archives: Funny

Viewing localhost in VirtualBox on your Mac

Heads Up! This post is now very outdated. There’s a MUCH easier way to access localhost in VirtualBox.

Last week I explained how to convert the IE6 – IE8 VirtualPC disk images to VirtualBox on the Mac. This week I noticed something critically wrong, I can’t access localhost or any LAN IP address from inside VirtualBox. This is a huge problem if you want to do local testing in IE.

The problem is that Mac support is still rather early with VirtualBox and they only provide a NAT networking option. I wont explain what NAT is because I don’t completely understand it myself. If you’re on Linux or Windows you can simply use the bridged network and it’ll work fine.

As with any problem, there is a solution! You could go buy VMWare Fusion, which should support this out of the box, but what’s the fun and challenge in that? The fun and free solution is to use a service called DynDNS.

What is DynDNS

If you’re like most people your ISP gives you a dynamic IP, which means that your home network doesn’t always have the same IP address and every so often your ISP will assign you a different one. DynDNS will give you a free domain name that always points to your ever changing home network IP address.

This means that when you’re done you’ll load a URL like “http://<you>.dyndns.org/” instead of “localhost” inside VirtualBox. This also assumes that you have some sort of web server running on your computer to serve up the pages.

Step 1 – Web Server

Setup a simple web server like Apache or the free version of LightSpeed (free version is at the bottom of the download page).

Make sure the server is installed and running properly before proceeding.

Step 2 – DynDNS Account

Go to DynDNS, register an account and create a new host. The site has good help sections to assist you through any issues or questions you run into. (see the DynDNS How-To section)

After creating the new host, download, install and run the DNS update program. This will update the service with your new IP address every time it changes.

Step 3 – Router

If your network uses a router, you might need to update it’s settings to let the requests through to your computer inside the network. At this point it is important to realize that your router has the “main” IP, which is provided by your ISP, and each computer inside your network will get their own “internal” IP address, provided by the router itself.

First test the new DynDNS URL you created. When you load the URL in your browser does it show pages from your local web server or does the browser sit there and mock you as it endlessly spins the “loading” animation?

If your web server didn’t load anything, you might need to alter your firewall settings and/or setup port forwarding in your router. Start by checking your router manual for information on how to login and change settings on it. On my SMC wireless router after logging in I found the settings I needed under Advanced Setup > NAT > Virtual Server. There I entered the last number from my “internal” IP address (IP on my computer) and the port that should direct to that computer. So if my internal IP is 192.160.2.53 and my web server is setup to respond to port 80, I enter “53” and “80” into the fields.

Step 4 – Static Internal IP

If you had to setup port forwarding in the last step, you should also create a static internal IP on your computer. Otherwise next time you restart your computer it’s IP might be different and your URL wont work.

This step is surprisingly simple:

  1. Open your network preferences
  2. Go to the network you use (in my case “Airport”)
  3. Click Advanced (or similar button — I’m using Mac Leopard)
  4. Go to the “TCP/IP” area.
  5. Change the dropdown menu from “Using DHCP” to “Using DHCP with manual address”
  6. Enter the internal IP address you added to the port forwarding setting in your router.
  7. Done

Troubleshooting

If you have any problems with the setup, check out the troubleshooting page at DynDns.

Done

Now you should be able to access your local computer from inside VirtualBox with your new URL.

Return of the Singing Keyboard

Since posting my DIY instructions for the Singing Keyboard Prank, a couple years ago, it continues to be one of the most viewed entries on this site; and the most fun to write. So when I saw that Instructables.com was having an April Fools contest, I had to enter it. I’m still not even sure what the prize is, but I’m motivated to win!

So please checkout my instructable and give it a vote!

Plagiarism Claims

Some people on the site have already added comments accusing me of copying KipKays video. On closer inspection you’ll notice that he posted that video a whole 8 months after my original post. In fact his video follows exactly the same steps and procedures that my instructions outlined. I’m not mad, I think his video is excellent and I’m glad somebody took the time to do that. However, I would have liked him to give credit where it is due.

To take other peoples work and claim it as your own is wrong.

Thanks for the vote

With that said, checkout my new instructable and if you like it, throw it a vote. Thanks!
California home loan mortgage refinance loan california
Home equity loan calculator
Credit life and disability insurance
Credit repair business
Disability insurance canada
Consolidation debt elimination
Student loan servicing center
Student loans apply online
Mint credit card uk
Repairing credit score
Advantages of whole life insurance
Buying life insurance
Credit report fico score
Federal long term care insurance
Payday loan calculator
Fair credit and reporting
Best airline credit card
Credit card offer
Low cost health insurance
Card credit interest low
Broker commercial loan mortgage
Payday advance loan
Experian credit score
Missouri payday loan
Instant credit score
Instant issue life insurance
Creditreports
Illinois auto insurance
Three major credit reporting
Uk home loan house refinance mortgage rates
Consumer credit reports
Credit reporting bureau
Leads insurance annuity
Do credit scores
Irs tax debt relief
Accept card credit
3 bureau credit report
Federal home life insurance company
Long term care insurance policies
Discount life insurance
Dispute credit reports
Fha home loans
Credit cards no apr
Legal credit repair
Student loans consolidated
Free credit score only
Credit card application for
Clean credit report
Creditreport
Extended auto warranty california
Debt relief settlement
Online auto loan
Health insurance quotes texas
Credit report identity theft
California home equity loan rates
Government free credit reports
Credit repair sample letter
Canadian credit report score
Compare renters insurance
Auto loan rates
College student loan
Rhode island health insurance
Credit immediately online report
Term vs Whole life insurance
Instant payday loans
Renters insurance co
Best credit card offer
For credit reports
Free credit repair letter
Home loans bad credit
Cancer health insurance
Student loans for bad credit
Online credit report
Denver home refinance
Bad credit california home loans
Repairing bad credit
Credit report laws

I’m Naked and it feels great…

…a bit brisk though.

If you’re wondering why my site is missing it’s design and appears a bit ‘naked’, it’s because I’m participating in CSS Naked Day ’07. To support web standards this site will be naked on April 5th.

CSS Naked Day is the brainchild of Dustin Diaz:

“The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and of course, a good ‘ol play on words. It’s time to show off your <body>.”

April Fools Hack – The Singing Keyboard

This year I decided to go all out for April Fools and do something that could be duplicated across multiple computers without permanent damage — and so the singing keyboard hack was born.

Update

If you like this project, please vote for it on instructables.com.

Concept

Take the musical element from a musical greeting card and connect it to the caps lock LED on the user’s keyboard. Each time the victim presses caps lock the music plays (and quite loud too). This is a great sleeping prank…It might be found on the first day, or weeks from implementation. It’s the perfect prank.
Continue reading April Fools Hack – The Singing Keyboard