WDS and Client Mode (Ethernet Bridge) with HyperWRT

Discussion in 'HyperWRT Firmware' started by dellsweig, Jan 25, 2005.

  1. dellsweig

    dellsweig Network Guru Member

    It looks like it would be a simple matter of startup script commands to setup both WDS and/or Client mode using the command shell in hyperwrt.

    The 'wl' command seems to provide everything one needs

    I was able to configure my hyperWRT to associate with a BEFW11S4 as a client but could not figure out the route needed. It was late last night so I will play again later.

    There is also alot of cool statistical data available with the 'wl' command
    Just type 'wl' at a shell prompt and see what kinds of options are available!!!

    Someone get this working!!!!!!!!

    The standard WRT54G is a wireless access point (AP). This means that it can talk to wireless clients but not to other wireless access points. The ability to link it to other access points using the Wireless Distribution System (WDS) or to act as a wireless client is available using the wl command.

    The Wireless Distribution System is an IEEE specification that allows wireless access points to be chained together in a wide area network. Although there is some performance penalty for doing this, the end result is an extended wireless network with a much greater range than is available using single APs.

    In order to link two APs together using WDS, their respective MAC addresses must be known. Log in to each box and run the command wl wds [Mac Addr], using the MAC address of the opposite machine's wireless interface. A new device called wds0.2 then appears on each box and can be assigned an IP address. Once the IP addresses are assigned and routing is set up between the two boxes, you are able to ping one from the other.

    Each WDS link results in data traffic doubling within the network. Because 802.11g is half duplex, this halves the network throughput. If the APs are operating at 54MB/s, this is not much of a performance hit if you keep the links to three or fewer.

    Client Mode Bridging
    A simpler form of bridging is to set up one box as a client and have it link to an access point. This is known as an Ethernet bridge, and several products exist specifically for this purpose.

    Client mode must be selected in the Linux kernel build menu and compiled in the kernel. Once done, the kernel is built with a Broadcom binary-only module that includes support for both AP and client modes. The command wl ap 0 sets the box to client mode, and wl join [SSID] links it to an access point. If you set routing in the client using the access point's IP address as the default gateway, the client automatically routes to the access point and your bridge becomes active. Multiple AP and client pairs can be set up as an alternative to the WDS method described above.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice