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

Buffalo WHR-G125 Support?

Discussion in 'Tomato Firmware' started by spaz1899, Sep 11, 2007.

  1. spaz1899

    spaz1899 LI Guru Member

    I'm thinking about picking up this router later today or tomorrow to use in a WDS setup or as a wireless bridge. I want to get my 360 connected to the internet, but don't want to buy a 90 wireless game adapter when i can get a router for half the price and have it do the same thing.

    I've read that the version 1.07 of tomato won't work on this router, but that the DD-WRT firmwares will. I currently have a WDS setup using the tomato firmware and would ideally like to keep all the firmwares the same. Does anyone know if there will be any support for the G125 by tomato? Will I be able to setup the G125 with dd-wrt on it running in WDS or as a bridge along side my current setup? Any gotchas I should look out for?
     
  2. roadkill

    roadkill Super Moderator Staff Member Member

  3. azeari

    azeari LI Guru Member

    in theory the g125 with dd-wrt running in WDS mode should play nice with the tomato in WDS mode. since the specs for the standard is identical (=
     
  4. roadkill

    roadkill Super Moderator Staff Member Member

    Theory is all good but Jon can modify Tomato to fit the hardware...
     
  5. spaz1899

    spaz1899 LI Guru Member

    Good idea guys.

    I shipped off an e-mail. I'll let you know what I hear back.
     
  6. dontbotherme

    dontbotherme Network Guru Member

    Any news? I bought a WHR-G125 on sale yesterday and I'm not very happy with DD-WRT v24 RC-3. The web interface is very slow and the bandwidth monitoring feature is sub-par.

    I know Jon has stated that he's not interested in adding support for the G125 in the past, but hopefully he's changed his mind.

    If not, how difficult would it be for an average user to download the source and recompile with support for the Broadcom BCM5354?
     
  7. szfong

    szfong Network Guru Member

    Recompiling Tomato gor G125

    It's actually quite simple if you've got the compile environment setup correctly. G125 adds a BETTER chip with more features. Many of the changes are already in the dd-wrt src code, getting a few parts from dd-wrt and some minor changes and a recompile.
     
  8. BAlGaInTl

    BAlGaInTl Guest

    I agree I would like to see this.

    I'm running Tomato on a WRT54GL and love it. I have set a couple of friends up with the Buffalo WHR-G54S, but those are getting more difficult to find. It seems that the WHR-125G is quickly replacing the older models on most shelves...
     
  9. Moombas

    Moombas Network Guru Member

    Do you have any tips on how to set up the compile environment properly? I loaded up Ubuntu 7.04 into VMware Workstation and followed the instructions perfectly. No matter what I did I would end up with compile errors.

    I'm guessing that the "relevant bits" from DD-WRT are located here?
     
  10. Moombas

    Moombas Network Guru Member

    Never mind, I think I have the compile environment set up correctly for the most part. The standard Linksys firmware builds just fine but dropping in the Tomato bits causes some problems (complaints from tar about include/* files already existing).

    Now, on to figuring out how to drop in the important parts from DD-WRT...
     
  11. roadkill

    roadkill Super Moderator Staff Member Member

    you can grab my source it's complete you won't have to mess with deleting
    directories and such as for G125 you need to get the firmware source and use
    the kernel or update the one that exists in Tomato to support all pieces of
    hardware in the router according to what I see at
    http://wiki.openwrt.org/TableOfHardware?action=show&redirect=toh
    it's only a newer Broadcom chip in this case perhaps you could patch the existing
    kernel in Linksys's firmware
     
  12. spaz1899

    spaz1899 LI Guru Member

    Sorry guys, I never heard anything back.
     
  13. Moombas

    Moombas Network Guru Member

    I emailed Jon the other day ans asked about future WHR-G125 support - apparently, not for the foreseeable future. Hence the interest in building it myself.

    roadkill: I'll look into your copies if I run into more problems. I managed to get Tomato to build properly earlier today (would only build as root for some reason). Now to look into how to properly patch the kernel...
     
  14. ziddey

    ziddey Network Guru Member

    Definitely interested in seeing progress on this. If I ever get around to it, I might look into it myself if it hasn't already been done. I'm currently using my g125 with ddwrt as a wireless client failover / specific routing, and a g54s as my main router with cable modem and tomato. I get incredibly subpar wireless performance with my g54s. Not sure if that's just the way it is or if my unit is defective somehow. But it'd make my wireless loads better to switch the two around. And it'd save me the hassle of having to solder a sma plug or something, and then just get a directional antenna so I could get a better wireless client connection.
     
  15. Moombas

    Moombas Network Guru Member

    I've been poking around the DD-WRT source to see how BrainSlayer is adding support for the BCM5354. I don't see where/how he added support for the new chipset in the kernel config options.

    Looking for suggestions at this point...if a simple recompile is all that is needed, larger projects like OpenWRT would have already added support by now, so this doesn't seem quite right.
     
  16. szfong

    szfong Network Guru Member

    After looking at the specs for the new chip, it seems they are just not binary compatible... they should be source compatible.. just that the advanced (performance/cache/speed/capabilities)
    are not utilized... I believe all newer dd-wrt v24 rc-1 to rc-4 are compatible... they just won't use the increased capabilities of the newer chip. you only get the 40Mhz increase in speed though.. :) to get the new capabilities you must d/l the specially compiled version for WHR-G125.. It would be great if one can integrate the specially designed dd-wrt drivers onto Tomato... but I think a recompile job would be just as good... who needs the extra capabilities of this chip? The increased clock rate is god enough for me.. :)
     
  17. Moombas

    Moombas Network Guru Member

    As I mentioned, I downloaded the WHR-G125 compatible source from DD-WRT's SVN already. Again, the problem is that I'm unsure of what source files to pull from the DD-WRT folders to patch into Tomato - everything is downloaded and in a directory and ready to go, I just don't know where to start. I'm just an end-user, not a developer or coder.

    Maybe I'll try emailing BS and see what he has to say, if anything...it would be a lot better if someone who knew what they were doing (unlike me) attempted this instead.
     
  18. szfong

    szfong Network Guru Member

    Perhaps, also emailing Jon (Tomato author) for additional help.... Since many of the underpinnings are also HyperWRT-based... BS, Jon, and Thibor are your best bets.. :) They must know alot about the router... ALSO, grab the source code for WHR-G125 from Buffalo.. THEN also get the source from Linksys, although their routers now are crippled, there newest WRT54G v8 also uses the same Broadcom 5354 @ 240MHz. D-Link's DIR-320 (unreleased, but samples are given to developers), I believe also uses the Broadcom 5354 @ 240MHz as well. D-Link may/must ALSO release the source.

    So, grab the souce from BS, Linksys, D-Link, and Buffalo... and compare them against the older source.... In other word grab source codes for the WHR-G54S/WHR-HP-G54 and compare it against the WHR-G125 source codes... you will see what needs to be added/changed in Tomato... It's all about comparing source codes!!
     
  19. Moombas

    Moombas Network Guru Member

    Buffalo does not have the WHR-G125 source available on its website: http://www.buffalotech.com/support/getfile/?Buffalo_GPL.html

    I have grabbed the sources to the Asus WL-330GE (also powered by a BCM5354) in an attempt to see how support is added in (like you suggested with the DIR-320, comparing the source).
     
  20. szfong

    szfong Network Guru Member

    yeah, it's all about compare jobs, if you scan the binaries from many so called commercial/shareware tools you'll notice ALOT of it uses "borrowed" code. Broadcom router underpinnings are all suppose to based on broadcom reference designed code given to them by the chipset manufacturer. Win32 systems has much better tools for such compare jobs (in my option) because "code theft" from unix/gpl sources and then sticking a gui on top of it and then resold is so prevalent in the windows world. People are just more willing to buy windows software and expect unix stuff to be free.

    Anyhow, I recommend using Win32 tools/development environment for the code analysis/compare jobs and afterwards use linux near the end for compile/debugging...

    Oh, I forgot to mention the sources from OpenWRT... They are also a good source for recent hardware/driver support. Their stuff is quite portable...
     
  21. BrainSlayer

    BrainSlayer Network Guru Member

    the DD-WRT source uses a slightly modified kernel and a totally different wireless driver for the WHR-G125 / BCM5354 devices. thats the only trick
    and this does also include the support for new capabilities (but there arent many)
    i have also access to the very latest broadcom driver sourcecodes. i will introduce some enhancements i made based on these driver sources soon as soon as they are tested. this will include multiple bssid support (not just ssid) for BCM5352 / BCM5354 devices and a much better ack timing config (from my guess)
     
  22. webazoid

    webazoid LI Guru Member

  23. ziddey

    ziddey Network Guru Member

  24. szfong

    szfong Network Guru Member

  25. feld

    feld Network Guru Member

    this is not going to be an easy project for those of us not familiar with the inner workings of these routers.... our best bet would be for Jon himself to give us some pointers... I just can't get this thing figured out and booting.

    I did however get the latest OpenWRT running on it. That's wonderful and all, but I don't have the free time anymore to manage OpenWRT which is overly powerful for my needs at home. DDWRT is lacking in a lot of areas.... Tomato is what I've come to love, and unfortunately I had to give my tomato router to a family member.

    bummer :(
     
  26. feld

    feld Network Guru Member

    More as it comes....
     

    Attached Files:

  27. Low-WRT

    Low-WRT LI Guru Member

    Sweet.
    My g125 can't wait!
     
  28. feld

    feld Network Guru Member

    Confirmed working:
    Firewall
    Traffic graphs
    Syslog
    Wireless ++No Security. Haven't bothered trying others++
    Devices show proper reception quality
    Bandwidth measurement (daily/weekly/monthly)
    WHR-G125's "WAN" port is actually the WAN port on the router unlike OpenWRT SVN
    Mac filtering
    SSH
    Web interface (of course)

    Confirmed issues:
    QoS... makes the router very crashy. When QoS is enabled the graphs don't even work.
     
  29. ajf3

    ajf3 LI Guru Member

    Does his new version (posted 1/23) address the QoS issues you mentioned with the earlier build?

    That's the main reason I'd be going with it on the g125...
     
  30. feld

    feld Network Guru Member

    Yup, everything works! It's wonderful! :D :D :D


    Jon needs to make this an officially supported platform.
     
  31. jshellen

    jshellen Network Guru Member

    I installed George Wu's Tomato version on a whr-g125 today. It seems to work great, except that only WEP is working for me (WPA is failing). I'm using a MacBook with Leopard.
     
  32. jshellen

    jshellen Network Guru Member

    I received an updated build of tomato and WPA is now working on my whr-g125. I've tested with both a macbook/leopard and a notebook w/vista home premium. Thanks, feld!
     
  33. webazoid

    webazoid LI Guru Member

    anyone try the newest firmware?

    apparently support for g125?
     
  34. itzfritz

    itzfritz Guest

    FYI Mr. Wu's tomato_125 bricked my WHR-G125 about 2 hours ago.
    The TFTP transaction was successful, was followed by intermittent flashes of the red diag and green status lights, and now there's a steady green glow from the Power led but no response on any of the wired interfaces.

    Lights are on, but nobody's home ;)

    wlan is still up though (acc. to a site survey from another device), oddly.
     

Share This Page