1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WDS With Multiple Firmwares?

Discussion in 'Tomato Firmware' started by GhaladReam, Apr 21, 2007.

  1. GhaladReam

    GhaladReam Network Guru Member

    Is it possible to use WDS when the 2 routers in question are using 2 different firmwares? I have my main router, a WRT54GSv2 with Tomato, which is my internet gateway. I also have a hacked FON La Fonera router with DD-WRT on it. If I could put tomato on the La Fonera, I sure would. Unfortunately DD-WRT is the only supported 3rd party firmware for it right now.

    Can Tomato and DD-WRT do WDS together? I tried getting it to work, but it doesn't seem to want to. I followed the configuration the the Tomato FAQ, as most of the fields in both firmwares are the same. But it still doesn't seem to work.

    EDIT: According to the DD-WRT wiki, the WDS function on the La Fonera is working correctly, so I don't believe it's a DD-WRT bug.
     
  2. GeeTek

    GeeTek Guest

    DD-WRT and Tomato work fine together in WDS. I have several links that have been running since last year. Some with Tomato 1.01, 1.02 and 1.04, all linking to DD-WRT 4-18-06 Micro. What happens if you do a firmware upgrade to Tomato from the Fonera DD-WRT web interface ?
     
  3. TexasFlood

    TexasFlood Network Guru Member

    They do with no encryption, WEP or WPA TKIP but seemingly not if the dd-wrt router is set to WPA2 mixed.
     
  4. GeeTek

    GeeTek Guest

  5. GhaladReam

    GhaladReam Network Guru Member

    Hmm, that doesn't really help me then... I kinda need encryption. Not so much need it, but want it. Nevertheless, maybe encryption will work, I'll try it anyway, and post my results.

    As for putting Tomato on the La Fonera, I havn't tried flashing it, but I know for a fact it wouldn't work. Tomato was designed for routers with broadcom-based CPUs. The La Fonera has an Atheros adapter. It does have 4mb Flash and 16mb RAM though.
     
  6. GeeTek

    GeeTek Guest

    Oh, I did not know that.
     
  7. TexasFlood

    TexasFlood Network Guru Member

    I've run 3 different firmwares with WDS and WPA TKIP worked well between thibor, dd-wrt, motorola and tomato firmware.
     
  8. GhaladReam

    GhaladReam Network Guru Member

    There must be a bug in the most recent builds of DD-WRT for the La Fonera device. I did everything I was supposed to do to set up a WDS link. I followed the DD-WRT directions in the DD-WRT wiki, and the Tomato instructions in the Tomato FAQ.

    My Tomato router, the WRT54GSv2, displays the La Fonera router in its Device List as a WDS device, and the signal strength is really good. My WRT does show up in Wireless Status on the Fonera's web config, however, the signal quality of the WDS link is at 0%, and nothing works. I don't understand why. I rebooted both devices after setting everything up and that didn't help. I connected a laptop to the Fonera's ethernet port to see if it got an IP from my WRT, but it didn't... (DHCP and WAN are disabled on the Fonera, as they should be). I then set a static IP on the laptop so I could get into the Fonera's config, but I still couldn't access anything beyond the Fonera. I also have wireless encryption disabled. I'm stumped.
     
  9. TexasFlood

    TexasFlood Network Guru Member

    I don't think all WDS interoperates with all other, there isn't such a clear standard. For example, I don't think dd-wrt v23 and v24 work well with each other over WDS.
     
  10. GeeTek

    GeeTek Guest

    Your Tomato router is in either WDS or AP+WDS mode with the wireless MAC of the DD-WRT box in the WDS field, the DD-WRT box has WDS mode set for "LAN" and the wireless MAC of the Tomato radio in it's MAC field ? Both radios on the same radio channel (SSID does not matter). ? No duplicate IP addresses ? Verify the MAC addresses. Copy and paste from a site survey on both radios if possible. The numbers are easy to fudge.
     
  11. GhaladReam

    GhaladReam Network Guru Member

    All confirmed. I've done everything you mentioned here. Both routers ARE confirming a WDS link in their Status/Device list page, but the link on the Fonera (DD-WRT) router says the singal quality is 0%. The Tomato router reports a strong signal from the Fonera, which is weird.

    I'm hoping this isn't the case, but you're right, it's certainly possible... I'll post on the official DD-WRT forums and see if anyone knows anything.

    I did notice something out of the ordinary though, if someone can let me know if this is normal, that would be appreciated. The Fonera only has 1 physical eithernet (RJ45) port. I don't know if that would have anything to do with this, but I noticed that the wireless and wired LAN MAC addresses are the exact same on the Fonera. It seems that they are the same interface. Could this be causeing a conflict? I've included a screenshot.

    And yes, I know it doesn't say my WAN is disabled in that screenie, like it should be for being Router #2 in a WDS, but I took it just after restoring to factory defaults.
     

    Attached Files:

  12. tuskan

    tuskan Network Guru Member

    i've tried to set up wds with dd-wrt (WRT54GL) and dwl2100ap from dlink.
    does not work.

    but BS also said that must work....
     
  13. skit

    skit Addicted to LI Member

    Any news on this matter ? Please help me out guys.
     
  14. rippyruckus

    rippyruckus Addicted to LI Member

    I'm wanting to try running DD-WRT on the host router, a WHR-g125, and Tomato v1.17 on the WDS repeater, a WHR-G54. Being that both are buffalo routers, it should work well, right? I had a lot of problems with the WDS net when both were running dd-wrt but now with both on Tomato things have improved dramatically. However, the host router still drops wireless clients and refuses to let new ones in from time to time which is a PITA. Perhaps this hypothetical setup would be a marriage made in heaven?
     
  15. TexasFlood

    TexasFlood Network Guru Member

    I tried that and WDS worked with some types of encryption but not others. Intially I had tomato set to WPA/WPA2 Personal TKIP and coudn't establish a WDS connection with ddwrt until I switched to WPA Personal TKIP then it was fine. I'm back on only tomato for now. I was also having problems with tomato and occasional drops which seemed to go away after I switched all routers to WPA personal w/ TKIP then w/ AES. Seems very stable now so I'm not inclined to try and put ddwrt back in the mix for now. There are solme cool features in ddwrt but stability is really #1 for me.
     
  16. rippyruckus

    rippyruckus Addicted to LI Member

    dd-wrt tomato WDS combo

    Thanks for sharing that info. Are you in fact running the same models of Buffalo routers as I am, i.e. WHR-G125 and WHR-G54S? Curious as to which one you run as host, repeater? Were you having problems with the G125 dropping wireless connection attempts or the G54? or both? What version of Tomato were/are you using?

    At this point if I had my druthers I'd be inclined to go back to DD-WRT on the G125 (my host) and have Tomato handle the WDS repeater connects on the G54S. Strangely enough, after repeated problems with the G125 dropping wireless clients and giving out junk IPs that even got forwarded over WDS, for a few days now it's been behaving very nicely. Go figure.

    One more q for you, when you say: "I was also having problems with tomato and occasional drops which seemed to go away after I switched all routers to WPA personal w/ TKIP then w/ AES." are you now using TKIP + AES or did you have TKIP before and AES proved more reliable so you stuck with that? Please let me know if you do go back to dd-wrt and how that works out for you.
     
  17. TexasFlood

    TexasFlood Network Guru Member

    No, sorry to be unclear, I am not running the same router models, I was assuming it wasn't hardware but configuration but didn't state it. My main router is a Linksys WRT54G v2 and two different generations of Motorola WR850G units to extend my network. I have run the same versions of DD-WRT and Tomato on all of these and have come to assume the hardware is typically not the issue as they seem to behave the same. This theory may not extend to your hardware but was my assumption.

    On encyption, on my all Tomato network, I was running "WPA / WPA2 Personal" on all routers with TKIP encryption. When I tried to introduce a router running DD-WRT into this network, I had to switch to "WPA Personal" with TKIP to get WDS working between DD-WRT and Tomato. The DD-WRT router kept dropping connections so I took it out of the mix, didn't have time to dink with it, might try again later. But I left the encryption changes to Tomato. Not too much later I was reading Tomato FAQs and saw examples using AES so switched all my Tomato routers to "WPA Personal" with AES for the extra security, WDS continued to work fine (can't say if it would have with DD-WRT interoperability though). What I noticed was since taking WPA2 out of the mix was: I was getting occasional client drops after being connected fine for hours. It wasn't terrible and I could reconnect, but it was irritating. Those now seem to be gone. Maybe I haven't run in the current configuration long enough to be sure but I'm cautiously optimistic that the issue is behind me. I don't understand it, just passing along what I observed.
     
  18. skit

    skit Addicted to LI Member

    Maybe you could post your config ?

    Because im running Tomato on the WRT54GL and dd-wrt on the fonera. After some stuff changed on the fonera im able to see the fonera as part of the wds on the linksys but without any ip assigned to it. It does connect with each other, same ssid, same pass, wpa w/tkip.

    Please help me out here.
     
  19. TexasFlood

    TexasFlood Network Guru Member

    The WDS link configuration is very simple, the links are really defined by the MAC addresses on the respective routers, no "lazy" WDS. The router IP addresses, subnet mask, default gateway & DNS (I have gw & dns pointing to the primary tomato router), time zone / NTP, dynamic DNS settings are all defined statically in the LAN configuration on all routers. And of course, they all have the same wireless SSID, channel and encryption settings. The firewall is only enabled on the primary router. The bulk of the unique stuff, static DNS assignments, access restrictions, port forwarding, firewall, etc, are defined on the main "gateway" router. The main router is set to gateway mode, the others to router, and WAN is disabled except on the main gateway router which is set to DHCP WAN. On the main router DHCP page, "Use Internal Caching DNS Forwarder", "Use Received DNS With Static DNS", and "Reduce Packet Size" are ticked and lease time is set to infinite. NAT loopback is set to "all". What else, that's all I can think of. Let me know if you have any other questions.
     
  20. skit

    skit Addicted to LI Member

    One question, what about dhcp on the second router ? Forwarded to the main one ?

    Main router with the same subnet ? so i guess the main router is something like 192.168.1.1 and the second something like 192.168.1.2 ?

    On the main router i actually havent changed that many things, installed tomato and change the wireless mode to Gateway + WDS, added the wireless mac of the second router and that was it. On the fonera i changed a lot of stuff on dd-wrt, since i don't have access to it now i guess im gonna have to reset it, once again ...

    Gonna try some new configurations by tomorrow, thanks for your answer ;)
     
  21. TexasFlood

    TexasFlood Network Guru Member

    DHCP servivces are only enabled on the main router. The "extension" WDS routers have DHCP disabled and their IPs are statically configured, and yes they are on the same LAN as the primary router. With DD-WRT you would select "LAN" beside the WDS MAC entry of the primary router. I have 3 routers but one flat subnet. I used to have a couple of subnets but the Windows servers didn't play well a lot of the time so I flattened it out so they could share and play nicely. When I configure a new router or reconfigure one, I often leave DHCP services on and turn it off only after everything is working. This is just to make it easier to get into the router with a wired connection if something isn't working. You can always set a static IP on a laptop or PC and get in that way but it's a pain.
     
  22. skit

    skit Addicted to LI Member

    Here's the thing now, fonera does appear on the WRT54GL as a wds station, however with no ip attached to it ? Is this normal ? Because it seems to me that when i open a internet page for example the fonera blinks (if you know what i mean).

    Hum ... weird, because i dont sense any improvemente on the wifi signal.
     
  23. skit

    skit Addicted to LI Member

    It's working, the problem now is the only protection i have is mac filtering cause if i enable wpa pkip or aes the second router can't connect ... damn!

    Anyway, another question, to open ports and etc i have to do it on the two routers ?
     
  24. TexasFlood

    TexasFlood Network Guru Member

    I've connected dd-wrt and tomato with WPA Personal & TKIP for sure, not sure why it wouldn't work but I don't have a router with DD-WRT to test with or the time reflash on right now. I guess you don't HAVE to use WDS though, there are other options these days. You could use client-bridge mode for an extension router supporting only wired clients or repeater bridge mode if the router will need to host wireless clients. Do recall at times in the past that I had to reboot routers to get WDS working but didn't think I had to last time. The way my routers are set up, I have one main gateway router and the others are basically layer 2 WDS network extensions with very little other functionality as I described earlier. Any configuration related to port forwarding would be done on the main router only.

    *Update* I had to check, so loaded up DD-WRT, latest v24 Brainslayer 9360 build, and was able to establish a WDS bridge with with Tomato 1.17 using WPA Personal & AES. I'm typing across the link right now. I can't recall in what order I tested DD-WRT / Tomato interoperability last time. I was having a lot of trouble staying connected to DD-WRT as apposed to infrequent but nagging with Tomato. It seemed like moving from "WPA/WPA2 Personal" to just "WPA Personal" had eliminated that issue with Tomato. Now Using DD-WRT as an access point to a otherwise Tomato network also seems rock solid. I am running a different DD-WRT release, last time it was v24 Eko 9346_VINT. I can't remember anything else that changed. Whatever happened, it's a very good thing for me, network stability is boring but wonderful.
     

Share This Page