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

Building Tomato for E4200 v1

Discussion in 'Tomato Firmware' started by cchhat01, Jun 7, 2012.

  1. cchhat01

    cchhat01 Serious Server Member

    Hi All,

    I'm hoping I can get some good advice on this forum about building Tomato for my Linksys E4200.
    I basically followed the directions which involve checking out from git and setting up a path with the /opt/brcm folder.

    I checked out origin/Toastman-RT-N (head of branch). Built it on my Ubuntu 12.04 x64 machine and all built fine.
    my make target was "make n60e"

    I then realized that there are multiple branches being hosted here such as Victek's and shibby's and I wanted to give them all a try.

    I'm looking for a build-related instructions for the shibby and victek source. I was originally going to use Toastman-RT-N (and will try it out as well), however, I realized that Toastman disables DHCP in his builds. Does this also apply to shibby and RAF firmware.

    According to git repo, shibby's was the most recent checkin which leads me to think that the development is more active than others.

    So this is a shoutout to all the mod owners: Toastman, Victek and Shibby.
    Is there anything I can do to optimize the build (toastman: enable DHCP from within the build procedure and how to do so?)?

    EDIT: I forgot to mention WHY i am building locally. I plan on adding YATE (yate.null.ro) functionality so that I can use the router as a VOIP Server. primarily for gtalk. If I succeed in my effort, the entire tomato community will benefit.
    Thanks.

    Thanks,
    cchhat01
     
  2. azdps

    azdps LI Guru Member

    cchhat01 it sounds like you are concerned that DHCP is completely disabled and won't be functional at all in the Toastman's firmware, but that's not the case. To enable DHCP in Toastman's firmware all you need to do is select a checkbox to enable it in the webui. By default, the DHCP server isn't running.

    As for build related instructions for Shibby and Victek branches you should be able to issue the following command to see the build options:

    make help

    As for optimizing a build, each branch has core functionality such as qos, bandwidth monitor, and the tools section for example which can not be removed without pruning them out yourself by making changes to the kernel config, busybox config, webui files (.asp, js), and any other files that are related to the functionality you want removed from the final firmware build that you do. That's why I prefer to use Openwrt on my router's since it's very modular.

    Also your assuming that since the most recent git activity has come from shibby that his firmware branch is the most current. I would say that there are 3 firmware branches that are very current at the moment which are Toastman, Shibby and Teaman. The hardcore developers that are coding new functionality such as multiple SSD's, PPTP etc are Shibby and Teaman right now. Victek is kinda out of the picture right now because of work.

    What ends up happening is that Toastman will implement those into his branch when he decides they are stable enough and worthwhile to implement. Toastman is all about stabilty and if something is causing crashes he will either remove the functionality from his firmware or fix the problem. That's why most people say Toastman's builds are the most stable. Also Toastman has stated his isn't a programmer, not to take any recognition away from Toastman.
     
  3. cchhat01

    cchhat01 Serious Server Member

    Understood.

    After reading your reply, it occurred to me that stability is more important so I have, for now, flashed the latest Tomato-RT-N (which I built locally "n60m", did not need "n60e").
    I do have a couple of questions:

    I have left output power at default levels "0." In the help text next to the tx-power, it specifies that I may enter any value between 0 and 400. Am I reading this correctly? I have read on another thread that even using 100 is overkill.
    I would like to use higher output power. What are valid values here for the 2.4 Ghz band and the 5 Ghz bands? I am kind of used to the OpenWRT interface which allows you to set power based on the CRDA (Regulatory Domain on my Netgear WNDR3700v2, which was 26-27 dBm and 17-24 dBm for the 2.4 Ghz and the 5 Ghz bands respectively (based on the channel and config you're using).

    Currently on the Toastman- build running on my E4200, the Regulatory Setting is "disabled" where I can specify 802.11 d (for 2.4Ghz) and 802.11h (for 5Ghz). Should I make use of it? And enable them? and what good would that do?
    Also, what are the max power settings? Im sure this router has good range, but right now, it is producing lower output signal from exact same location where the Netgear WNDR3700v2 was sitting (and is now replaced).

    So please help me with the tx-power and Regulatory setting.

    Thanks,
    cchhat01
     
  4. azdps

    azdps LI Guru Member

Share This Page