Archive for September, 2010

Setting up 2 Linksys wrt54g(l) in a WDS with the tomato firmware.

Saturday, September 25th, 2010

Since 2004 I have been using a Linksys wrt54g as my access point at home. Having tried a lot of different firmwares (original linksys, sveasoft,DD-WRT, OpenWRT) over the years, I eventually settled for the nice and easy tomato firmware in 2008.

Here in 2010 I got my hand on yet another wrt54g linux based access point. This time it was an wrt54gl. Ofcourse I then had to join those two into a wireless distribution system (WDS). One of the reason that I like the tomato firmware is that things like that become fairly easy. Growing older also means that you value your sparetime much higher than you did while you were younger ;-)

A little bit of planning before we embark. The original AP (AP1) has ip address 192.168.1.1, runs a dhcp server and has a WAN connection on the “outside”. The new AP (AP2) are going to get ip address 192.168.1.254, not run a dhcp server and have no WAN connection.

With that in place, here is how I did it.

  1. Get access to AP2. I connected the the AP back to back with a PC powered on the AP, held the reset button in for 30 seconds and then released it. That resets all settings in the AP making it possible to log in as the default admin/admin user if it is the original linksys firmware. It was in my case.
  2. Flashing AP2 with a new firmware.  I downloaded tomato firmware 1.27 from polarcloud. After unpacking the firmware I simply upgraded/reflashed the AP using the inbuilt webserver. No fancy trickery there.
  3. After that, I went into AP1 and got hold of the following information:
    • the channel (Channel 8 )
    • the SSID (zensonic.dk)
    • the encryption standard (WPA2, AES)
    • the encryption key (not telling you)
    • the ip address of the AP (192.168.1.1)
    • and he mac address of the AP (00:0F:66:51:CA:EF)
  4. I then connected my Laptop to AP2, with a crossover cable and browsed the built in tomato webserver. I configured AP2 in this way:
    • Under basic/identification, set router name to tomato2, set hostname to tomato2, set domain name to zensonic.dk
    • Under basic/network, disable wan, check use wan port for lan, set router ip address to 192.168.1.254, set default gateway to 192.168.1.1 (ip address of AP1), set the Wireless mode to Access Point + WDS.
    • Under basic/network, set the SSID, the channel and encryption as AP1.
    • Under WDS, update the “Link with” list, with 00:0F:66:51:CA:F0, which is the mac address of AP1.

    Settings of AP2

  5. Furthermore I reconfigured AP1
    • under the basic/network tab, change Wireless mode from Access point to Access Point + WDS
    • Under WDS, update the “Link with” list, with 00:25:9C:CF:F1:4E, which is the mac address of AP2

    Settings of AP1

And that was it.