Windows sucks at DNS caching

Here is the graph of my DNS queries in the past month via opendns


Notice how the left is about 10 times taller than the right. What changed? Switching over to Linux, and that’s it. I’m still doing basically the same thing as before. You can see that from the graph of unique domains.


Now, it does show it as less, but nowhere near the drop off as shown in the previous graph. Which leads me to believe that either I had some program that was doing crap it shouldn’t have been, or Linux is just better at caching DNS info.

If you’re wondering, the complete drop off is where I switched over to linux. It took me a while to get around setting up opendns.

WG311v3 64 Bit Driver

I been trying to install Ubuntu and got the 64 bit edition up and running, but the only way for my Netgear wireless card was with ndiswrapper, and Netgear insists on not making any 64 bit drivers. I searched around and found this thread, which shows how to make this driver. I thought it would be easier to just put it together in zip file for easier downloading, or in case one of those sites happen to get rid of it.

Download WG311v3 x64 Driver – Zip File

Download WG311v3 x64 Driver – Gzipped

Though I don’t have a x64 Windows install to test it, it should work. But I do know it works in Ubuntu 6.10 x86_64. Here’s a quick guide:

First, install ndiswrapper if you haven’t already. If you have the DVD or internet access, you should be able to go to System > Administration > Synaptic Package Manager, search for ‘ndiswrapper’, and install ndiswrapper, ndiswrapper-utils, and ndiswrapper-utils-1.8. If this doesn’t work, you have to download and follow the instructions from the sourceforge site.

Next, download the drivers, and extract them. Find out the path that they extracted to or copy them to an easier to access directory. I copied mine to the desktop.

Next, start up Terminal and run sudo ndiswrapper -i ~/Desktop/WG311v3-x64/WG311v3.INF changing the ~/…/WG311v3.INF to the path of your driver. That should’ve wrapped the driver.

Run ndiswrapper -l to check if it did wrap it. Should return something like this:
Installed drivers:
wg311v3 driver installed, hardware present

Now to insert it, run
sudo modprobe ndiswrapper
It shouldn’t return anything.

Now, run dmesg and check if it says: ndiswrapper: driver wg311v3 loaded. If it does, it’s good.

To scan for networks, run sudo iwlist wlan0 scan. Hopefully, it will show the available networks.

To connect, go to System > Administration > Networking, select ‘Wireless Device’, click Properties. Enter the ssid of the network you want to connect to, and if necessary, the rest of the fields. Then close the properties window, and click the box to the left of ‘Wireless Device’ to enable it.

Or, if you like the command line, run iwconfig wlan0 essid "router_ssid" replacing router_ssid with whatever the router it is that you want to connect to. Then iwconfig wlan0 up to enable the device.

Hope that helps.