EveryDNS Setup for DD-WRT

It is possible to setup dynamic DNS with your router. DD-WRT, a free Linux-based firmware for several wireless routers, offers multiple dynamic DNS setups. In this example I have chosen to use DD-WRT with the free dynamic DNS service EveryDNS. Although DD-WRT does not specifically list EveryDNS as an option under the Setup – DDNS section, you can easily add it in the following manner:

DD-WRT DDNS EveryDNS Setup

  1. Login into the DD-WRT control panel for your router and choose Setup – DDNS.
  2. Fill in the following values:
    • DDNS Service = Custom
    • DYNDNS Server = dyn.everydns.net
    • User name = your username
    • Password = password for you account
    • Host Name = your domain name
    • URL = /index.php?ver=0.1&domain=your_domain_name
  3. Save and Apply your settings.

If you are not using EveryDNS, you can find instructions for other dynamic DNS providers on the DD-WRT Wiki.

Wireless Networking Does Not Work

Linksys RouterYou ever work on something for so long that you start to think someone must be playing a joke on you, or at least laughing at you? This is the exact feeling I have when dealing with wireless networking. On the one hand, not having to run wires through your house and worrying about your dog or children tripping over them is nice, I am not sure the trade off is worth it. Let us begin with a simple home wireless network router and how the labyrinth gets complicated so easily can sometimes amaze you. Immediately you are encountered with a list of concerns that you never had with wired Ethernet, such as to secure the router or not? Any technical person would tell you that you need to secure it to prevent your neighbor’s kid from downloading all sorts of naughty things, because if you do not do this, ultimately you are legally responsible for anything that gets downloaded through your $50 router! Next you have to worry about signal interference, cause you do not want your wireless router to interfere with any cordless phone or other wireless router that your neighbor may have. Did I mention your microwave hates your router too?

Say you figured out all of that stuff and you are happy with your router security and your router’s placement. Now comes the fun part, which is having to one by one connect all your devices to your router and make them all play nice with each other. First come the desktop machines, then the laptops, and if you have mixed Windows and Macs it makes it more challenging. On older Windows XP machines, you end up cursing Microsoft for making this harder than running a marathon, and on the Apple side, you wonder if Apple documents anything at all with industry terms, it is as if Apple has to rename everything to an Apple friendly name just for the sake of being different!

If you survive all of this configuration and troubleshooting, you then are confronted with your son or daughter asking you if you can fix it so their Nintendo DS and Sony PSP can access the Internet. Oh, you probably need to fix it too so that the Playstation 3 can connect too. Overall, by this time you figured out that the easiest of all was the network printer, but for whatever reason the PS3 still can’t see your printer.

Lessons Learned

I am sure the Steve Jobs digital lifestyle works, if all you have are Apple products, but in reality wireless networking is a test of patience. What you suddenly discover is that networking is too complicated for normal people to do. With every device you add to the network, the security model tends to suffer and you see that inexpensive products like the Nintendo DS just do not support the latest security methods such as WPA2 and AES. You almost need two wireless networks, a highly secure one and a very open one that has limited functionality for all those devices that cannot connect to anything secure.

Local Port Detection

This week I have been looking at how to detect TCP/IP ports on a local area network to see if an application was setup correctly. And while using ping and tracert from a DOS prompt works well for somethings, I was looking at what else I could use. For Mac OS X users, the Network Utility tool features ping and traceroute options, or you can always use a terminal window directly to ping and traceroute. To verify that you have a listening port, the command line utility netstat -a comes in handy on both Windows and Mac OS X. With this you can verify that a particular port number is listening. You can still use the website CanYouSeeMe.org, if you want to verify that your particular computer is open to the Internet, but this only works if your router is setup to forward requests for this port. In the case where you want to run a VNC or some other service for only local network connections, netstat works much better to verify that the port is in fact listening.

Another tool which Windows users might find handy is Microsoft’s PortQryUI tool. This utility reports the port status of TCP and UDP ports on a computer that you select.

Securing Wireless

This week, I planned on putting out another guide. Last time I tackled optimizing WindowsXP, this time around, I looked at how I configure my wireless router. Instead of focusing on speed, I thought it would be a good idea to cover security. This is a topic that most consumers don’t understand and while manufacturers have tried to make networking easier, the truth is that networking is quite complicated. While I’m sure my guide on Securing Wireless Networks is not at all definitive, it does cover the basic measures you need to implement to have a somewhat secure wireless network in your house.

If you do one thing, make sure you enable WPA and use a random generated password. This alone is absolutely essential.

Feel free to add any comments and let me know what you do to secure your wireless network.

Upgrade Linksys Wireless

Linksys Wireless RouterThis week, I set out to improve my wireless reception for my home network. The wireless local area network (WLAN) is powered by a Linksys WRT54GS router. This is a pretty standard wireless G router. The WRT54G router series are pretty affordable and if you have an older version of the WRT54G or WRT54GS model, you can even install a third party firmware to enable more features. If you are thinking of getting a new router, then I suggest you purchase the WRT54GL, since this is the only model that makes it easy to install third party firmware.

As always, installing a third party firmware on your Linksys router does void your warranty and Linksys will not support your router if you are running third party firmware. Do not attempt this if you do not want to void your warranty and support!

HyperWRT

Although there are a variety of different third party firmwares, I chose HyperWRT because it features a powerboosting feature and at the same time strives to stay as close as possible to the original Linksys firmware. Once installed HyperWRT looks almost identical to the Linksys interface. The main difference is the Transmit Power option found under Advanced Wireless Settings:

HyperWRT Advanced Wireless Settings

This will effectively boost the range and power of your WLAN. It is best to not boost the signal all the way to 100%, as this will make the router run hotter than normal.

TNC Antennas

Besides firmware changes the other way to boost wireless range is by using a better antenna. The WRT54G routers have TNC connectors to which the antennas connect to. You can purchase a third party antenna from sites like HyperLink Technologies, like this huge Hyper Gain 2.4 GHz 9 dBi Rubber Duck.

HGA7TIf you prefer to have the antennas match your router, then you want the Linksys HGA7T antennas. These replacement antennas are exactly twice as long as the original antennas on the WRT54G router and are rated at 7dBi.

Replacing the original antennas will increase the wireless range and signal strength, depending on your location from the router. These antennas work best when you are located horizontally to the router. If your main objective is to get better wireless reception on a floor directly above from the router, you are better off installing another access point router. In my experience, the HGA7T antennas improved wireless signal by 12% when I setup my laptop one floor above the router. Overall the improvement was not overwhelmingly better, but was an improvement. Like I said these antennas work best when you and the router are on the same floor. I did experience less signal drops though and was able to use my laptop in my upstairs living room where I had been having problems staying connected before.

As for installing the new TNC antennas, all you have to do is squeeze and turn counterclockwise the antenna to remove it. If you are having trouble getting one off, squeeze tighter and pull the plastic bushing (cover) away from the router to get to the actual antenna TNC connector. Once you remove both, slide the original bushings on to the new antennas and connect them. The router will look a bit stranger with the new larger antennas, but hey looks are not what we are after, it’s a better wireless signal that we want.

Corrections:

The original HyperWRT site may no longer be up. You can still find a copy of HyperWRT Thibor, which is the last version of HyperWRT to be worked on: Thibor’s HyperWRT.

Qwest DSL Review

I originally signed up for Qwest DSL when it became available in my area many years ago. The first available package I had included 256k download speeds, and I gradually upgraded over the years to 512k, 1500k, and eventually my max which is now 3072k. I use my DSL connection primarily for web browsing and connecting to my home server. The other option in my area is MediaCom Cable, which offer high-speed cable modem access. At this time Qwest DSL is cheaper than MediaCom service, but not by much. It essentially comes down to what you prefer, either cable or DSL.

DSL Versus Cable

The general differences between DSL and Cable have really diminished over the years and now that both technologies are matured, the choice becomes one of personal preference and requirements. Qwest offers ADSL, which is in fact a more complicated technology than high speed cable. However once you figure out DSL, this difference no longer matters. With a DSL connection your TCP/IP packets are put into PPP packets which are then transmitted over an ATM connection. You then have three protocols of transmission: TCP/IP in PPP, PPP in ATM. The ATM layer adds about 10% overhead to the transmission size, so a 1024k connection is degraded into about 922k connection. This is probably the first thing to understand about actual DSL speed.

The other issue which concerns online gamers is delay. All networks have some sort of lag, and while the debate goes on as to which has less delay, Cable or DSL, the truth is that you have to try both services in your area to see which one in fact has less delay. One thing to consider about DSL is that you do not have to have Qwest as your ISP. You can choose between MSN and a variety of other ISPs, most of them being local internet service providers. I personally have always had a local ISP and have even switched ISPs. The process usually takes about four days to get done. Depending on your ISP with DSL, your network delay will vary. As of last week when I tested my lacency, the delay is equal to about 79 miliseconds for my 3072k connection.

DSL Modems & Routers

At this time, Qwest offers an excellent 2Wire router which includes wireless connections. As for going with a basic modem, I actually am using a Netopia 2240N modem in combination with a Linksys wireless router. This allows me more options and makes it easier to upgrade my wireless options in the future. If you are looking for the simple solution, then the 2Wire router from Qwest is your best option.

Changing your hardware or first installing it usually requires calling your third party ISP. They usually need to rebuild (or setup) your circuit (connection) to recognize your modem or router. Once they do that DSL is up and running. If you do not do this, the result is usually that your modem/router will connect to the ATM network (Qwest), but not be able to connect to the Internet (ISP’s network).

DSL Stability

On average DSL outages are rare. I have only had problems where my ISP has had network issues and at most the Qwest ATM connection has failed about three times. The vast majority of DSL issues will be on your end. DSL routers can get stuck and need an occasional reboot, but if configured correctly and adequately cooled, they usually can run for months without a restart.

DSL In The Future

Eventually ADSL2 will become the standard in the future. If you are replacing your DSL equipment make sure you keep ADSL2 compatibility in mind just in case Qwest rolls out ADSL2 in your area. ADSL2 can provide speeds up to 24 megabytes. The current ADSL Qwest uses now offers only up to 7 megabytes, with most customers qualifying for 3 to 5 megabyte connections. However many people would be happy with even a basic 1.5 megabyte connection, depending on your internet usage.