WiFi

From Organic Design wiki
Revision as of 09:11, 14 May 2009 by Nad (talk | contribs) (Firmware upgrade)

Vauxhall Road Connection

We (Milan and Aran) have a wireless connection between our flats which are about 250m apart. We used ESR1221 200mW access points, 14dBi backfire antennas and 5m low-loss coax cable on each end and configured them as a Wireless Distribution System which allows them to connect to form a single local network. We don't have perfect line of site as there is a couple of brick walls and tree foliage the signal needs to pass through, but our hardware seems to connect quite well regardless - apparently it should connect over 2km line of sight, or 5km with the 600mW access points.

Nad and Milan flats.jpg

Dish-room.jpg   Dish-back.jpg   Dish-front.jpg
Aran's 14dBi backfire antenna
  Dish-target.jpg
View looking along the direct line
towards Milan's dish which is
currently inside his apartment

Configuration

The net connection is on Milans end via a LinkSys WAG54GP2 on 192.168.1.1 which is the DHCP server and default gateway for the LAN. Event though our access points are both configured with each others MAC addresses for WDS it doesn't seem to forward the DHCP requests, so I've set up the access point on my end with a DHCP server. Both DHCP servers must have mutually exclusive IP ranges on the same subnet since they're all part of one LAN. Here's the devices and their attributes:

  • 192.168.1.1 - LinkSys WAG54GP2 ADSL router, default gateway & DNS server for whole LAN, DHCP server for Milan's side (192.168.1.50 → 192.168.1.99)
  • 192.168.1.100 - NAS
  • 192.168.1.101 - ESR1220 Access point, no DHCP, Milan's end of the wireless link.
  • 192.168.1.102 - ESR1220 Access point, Aran's end of the wireless link, DHCP server for Aran's side (192.168.1.150 → 192.168.1.199) no DHCP
  • 192.168.1.25 - IRC server (using ngIRCd)

Performance

The connection is very robust having no outages at all. The transfer rate is around 10Mbps locally and the XNet Internet speed test gives about 8.5Mbps down and 780Kbps up), but is reliable enough that long file transfers of many hours are fine. The connection continues to work reliably in heavy rain with a good response time, but the transfer rate drops down to less than 200Kbps (not tested in rain since dish was mounted better yet).

Issues

Gigabit switch

The network access from my end (Aran, the remote end) failed today (01:17, 18 April 2009 (UTC)) and it turned out to be due to Milan initiating a large file transfer from his computer onto the NAS. This was the case even though the access point, computer and NAS in question were all connected to a switch not a hub. Milan solved this by upgrading it to a gigabit switch, but this would need to be solved a better way if we had a lot of gigabit LAN activity.

Firmware upgrade

We kept getting a problem of inability to ping IP across the link, but checking the WDS statistics would show the link to be strong. This problem started off occuring for around half an hour every day or so, but then one day increased to an intolerable level. After fiddling around I found that using the Universal Repeater Mode rather than WDS worked properly (except that it's not a proper LAN but more of a bridge between two LAN's which is not quite what we're after). I tried upgrading the firmware (from here), and put it back to AES encrypted WDS which MAC access restriction on the AP side and it has so far been working very well without outages again, but time will tell for sure.

Cantenna's

A cantenna is the name given to directional WiFi antennas made out of tins from canned food or Pringles packets. These can be whipped up very quickly and cheaply but will typically result in a gain of <10dBi and exhibit less reliability than commercial products. Some designs such as the Super Cantenna boast 12dBi gain, but I'd imagine that to be a very optimal figure achievable only after spending a lot of time manipulating and "tuning" it.

Running a hot spot

See also