First a very brief intro about the wireless networks: the protocol that our wireless networks use is called 802.11 and comes in various flavours, which roughly decides (if we think of wireless communication as speaking) at what pitch we talk to our routers. The most common ones are 802.11b/g which work around 2.4GHz frequency band and 802.11a which runs at 5 GHz band. 802.11 b/g are more prone to noise because many other devices (microwave being the most significant of them) run in the same frequency band and create interference (shouts so that router can't hear what laptops are saying). 802.11a has its own faults, noticeably the fact that it has a smaller range than 802.11b/g. My own router is a b/g router.
In each "band" there are many frequency channels: think of them as languages in which you can speak. The router and your laptop should agree on which language they are going to talk apriori. In the 2.4 GHz band, there are 11 channels. Some channels overlap: this is bad, if two languages sound the same sometimes, it may be hard to figure out what is being said. Channel 1,6 and 11 are the only non-overlapping channels in 802.11b/g, so most routers pick one of these channels as default when setting up the network for the first time. If a neighbouring network runs on a different (and non-overlapping) channel, it does not cause interference; if however, it does run on the same channel, thats bad: this means some other machines are speaking in the same language that you understand (and you need to shut up while they speak to their routers.)
Phew! with all that physics out of the way, lets get our hands dirty: first thing to do, figuring out which networks are the closest (most heard) in the apartment apart from my own, and what channel they use: I stumbled upon (not literally :) ) a nifty little piece of software that gives me that information: its called network stumbler. It tells me the Signal strength, Signal to noise ratio and channel for each network SSID (name) that my laptop can hear. ( Click on the screenshot below to get an enlarged view )
The fields of interest are : address of router, SSID(name) of network, channel number, data rate, encryption technique, Signal to noise ratio (SNR), Signal strength in that order.
First field to look at is signal strength: I have arranged it in an increasing order of signal strength:so the last network is mine( which now runs on channel 1: earlier it ran on channel 6 before I troubleshooted) The closest interferers(previous two entries) run in channel 9 and 6, in that order. (this screenshot was taken from my room where the router is, all our wireless problems were in the other bedroom) When my network was on channel 6, in the other bedroom, the other channel 6 network (3rd from bottom) was having a high signal strength and was degrading the SNR for my network. Another point that this screenshot illustrates: there are so many networks that run on channels 11 and 6, so likelyhood of running into noise there is more.
My network is much faster(I got a 30Kbps jump in downloads) and more reliable now, though it has to stand the test of time: here are some of the points that I have extracted out which may be of help when configuring wireless networks:
- Have some sort of encryption: Wireless security is mocked at by many, but having an encrypted network prevents squatters from just hooking on to your network and slowing things down for legitimate users.
- Avoid the overlapping channels(all except 1,6,11) if possible (however, go for them if all non-overlapping ones are heavily used in the neighbouring networks)
- Avoid channels 7-10 in general and 9 in particular: channel 9 operates at 2.452 GHz - very close to the natural resonant frequency of water. While microwaves are supposed to contain the radiation, its enough to cause packet drops (I tried :) -- I configured to channel 9 and had milk -- the SNR just collapsed!!) Channels 7-10 all experience some noise as microwave frequency is not always steady.
- Try frame bursting to see if that helps, in uploads. It reduces the overhead, and most routers have it built in. This might require some networking skills; it would be one of the advanced settings, and may not have a nice GUI interface, and require manual turning on by logging into the router.
- Check channels when there's sudden degradation in performance. This is quite tedious, having to do this manually (unless you're crazy about networks, like me: then its a welcome distraction :) ). It would be quite nice if the routers were smart enough to figure out the right channel to talk on. I think this is now a draft (802.11h? -- not sure) standard, so in future we might see smarter routers and wireless cards that know what language to speak!


