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

Tomato ND USB Mod with kernel 2.6 (Tomato-RT)

Discussion in 'Tomato Firmware' started by teddy_bear, Jan 8, 2010.

  1. teddy_bear

    teddy_bear Network Guru Member

    For those who have been waiting...

    This is a beta version of Tomato USB mod based on Linux Kernel 2.6. Releases, detailed description of various editions available, and useful information are now tracked at the Tomato USB web site.

    Please read carefully the 1st post of Tomato USB Mod thread (and the posts linked from it) before asking any questions regarding functionality and features - your questions might be already answered there.

    The kernel 2.6-based firmware images can be downloaded from here. Please find the list of supported models here, and choose an appropriate build for your router depending on the CPU (MIPSR1 or MIPSR2). If you try to load this firmware (at your own risk) on any other router, please report whether it worked or not.

    Wiki:
    Tomato USB guides and documentation are maintained in a Wiki format. If anyone would like to contribute to the Wiki, please feel free to do so - your help is needed! Go to Tomato USB web site, and click on "Help us!" link. After registration, you will be able to create and edit Wiki pages.

    To flash Asus RT-N16 and RT-N12 with this build, use Asus Firmware Restoration Utility (worked like a charm for me many times before I was able to produce a bootable firmware image), or load DD-WRT first, and then flash Tomato from DD-WRT Web UI following this step-by-step guide by soldier and cariyawa. To load it on Netgear WNR3500L and Linksys routers, you'll have to flash DD-WRT first, and then upgrade to Tomato.

    DO NOT FORGET TO DO THOROUGH NVRAM RESET AFTER LOADING THIS FIRMWARE!

    This firmware is based on the Tomato USB mod, includes all features and fixes of that mod, and in addition to that:
    • Linux Kernel 2.6.22.19.
    • Support for wireless-N mode (no simultaneous dual-band yet).
    • Broadcom wireless driver 5.10.56.46.
    • SIP conntrack module.
    • Samba 3.
    • MiniDLNA Media Server (in Extras/VPN builds, starting from beta 14).
    This is a beta version, so please treat is as such. Use it at your own risk, and if your router is not in the list above, do not load it unless you know how to unbrick your router! This version still definitely has bugs, so bug reports and any feedback are welcome. My RT-N16 runs with this firmware as my main home router now - but I only thoroughly tested functionality that I use myself - the rest is either a very little tested, or not tested at all (for example, I have DHCP WAN connection, so any other connection types are not tested). However, please try to keep general USB mod discussions and questions in the main USB mod thread, and only post bug reports and feedback here if it's specific (or at least you think it is) to this particular version.

    The complete source code of this firmware is available from the git repository - "tomato-RT" branch.

    What's ahead? Of course, bug fixes first! When this version is stable, I'll also consider adding support for some other router models, and implementing various enhancements. The list I can think of is too big, and the time I have to work on it is very limited - so I'll probably will prioritize it based on the feedback received (and of course, my personal preferences as well ;) ). But here are some things from the TODO list (in random order):
    • documentation/wiki
    • full IPv6 support with GUI
    • NFS server and client
    • support for multiple wireless interfaces (that should include both - virtual and physical - interfaces, i.e. multiple SSIDs as well as simultaneous dual-band if it's supported by the hardware)
    • support for USB modems with GUI (currently all the software and modules needed for USB modems are included, but you have to configure and start it manually)
    • integrate USB/IP or any other USB over IP sharing software
    • multi-wan
    • torrent client integration with GUI (and possibly backport of fuse writable mmap support if rtorrent is chosen)
    • some kind of IP/MAC bandwidth quoting/shaping
    • OpenSWAN/IPSec or new implementation of pptpd integration with GUI
    • ability to load a firmware image from the USB drive
    • ...... etc .......
    And finally, I would like to thank everyone from wl500g.googlecode.com project (a fork of Oleg's Asus firmware) for their tremendous help in bringing this mod alive!

    If you enjoy this mod, and would like to thank me for all the time I spent working on it, you can make a PayPal donation:

    [​IMG]

    Thanks to all who donated - your support and appreciation means a lot to me!
     
    donkey and RobRedbeard like this.
  2. The Doctor

    The Doctor LI Guru Member

    I think I speak for many here when I say thank you very much!

    Now I just need to find one in stock.


    Ed
     
  3. Toastman

    Toastman Super Moderator Staff Member Member

    COMPILES FROM RECENT GIT CODE are available here:

    http://www.4shared.com/dir/v1BuINP3/Toastman_Builds.html#dir=119136076

    These should be viewed as experimental and are useful to give feedback to Teddy Bear and the other developers. These builds may or may not contain bugs and/or be stable. They are not "official" releases and bear only a compile date for a version number.
     
  4. occamsrazor

    occamsrazor Network Guru Member

    Don't have an RT-N16 but... congrats on the good work!!
     
  5. mstombs

    mstombs Network Guru Member

    Congratulations!

    I see dd-wrt now have 2.6 kernel test versions for WRT54G-TM and WRT54GL (with CFE patch), but since they do not need the 2.6 kernel for new hardware, esp usb support I am unsure of the benefit.

    Some benchmarking of OpenWRT with 2.6 kernel (no wireless!) against Tomato with 2.4 clearly showed the mature 2.4 was much faster on terms of routing on the same hardware - any speed tests on the ASUS yet?
     
  6. peyton

    peyton LI Guru Member

    Wish to buy one during 2010 but don't really like dd wrt .You made my day, i'm gonna buy it during january.

    Thanks a lot !
     
  7. shibby20

    shibby20 Network Guru Member

    teddy you are my hero :) can you add support to netgear wnr3500L (this same cpu as RT-N16)

    big thanks for you
     
  8. bogderpirat

    bogderpirat Network Guru Member

    this might very well be the dawn of a new era you're heralding here! i'm sure the entire community is happy about what you did there.
    well, i suppose a very small part of tomato users would still benefit from 2.6 kernel on the wrt. for instance me, since the 2.4 kernel in tomato doesn't support igmpv3, for which i currently have dd-wrt running on a second box with some really nasty wiring between it and my tomato box.
    yeah, i'd be very interested in nat throughput tests with the RT-N16 on this firmware.
     
  9. bripab007

    bripab007 Network Guru Member

    Awesome!! :eek:
     
  10. ladysman

    ladysman LI Guru Member

    I am so happy mine showed up on Tuesday. :biggrin:

    Thanks Teddy bear!

    pretty sure you posted this close to my PM to you. :wink:
     
  11. Victek

    Victek Network Guru Member

    Eiiiiiii Teddy_Bear , happy to see Tomato ailve in this model, it will open a world of possibilities for Tomato .. and this forum.

    CONGRATULATIONS!!! ;), Go to install and feedback

    Edit: PPPoE running fine, same behaviour as Tomato K2.4
     
  12. blackmack

    blackmack Addicted to LI Member

    Runs great. Thanks.
    Any chance to make USB faster? With DD-WRT and SlimSamba I was getting write speeds above 10MB/s, now little above 7MB/s. File system ext2 8kb cluster size. Have tested various file systems and this works fastest. With NTFS write speeds were around 2MB/s, ext3 5-6MB/s, FAT32 5-7MB/s. It's a Transcend 8GB USB flash drive.
     
  13. bripab007

    bripab007 Network Guru Member

    I fail to see how your sex comes into play here... :biggrin:
     
  14. blackmack

    blackmack Addicted to LI Member

    :biggrin:...corrected
     
  15. teddy_bear

    teddy_bear Network Guru Member

    There could be various reasons why usb on dd-wrt is a bit faster for you... It could be a slightly newer kernel dd-wrt uses, the other might be the Samba version (I believe SlimSamba is Samba 3 while this firmware still uses Samba 2). Maybe something else...

    I have plans to make some kernel level updates - although upgrading the whole kernel may not be an option because of the binary wl driver, it should be possible to at least backport some important updates. I'm also considering to upgrade Samba in this build to Samba 3.x. Maybe that will somewhat speed up the usb transfers. But be patient - this all will take time...
     
  16. humba

    humba Network Guru Member

    Wow.. just recently I was wondering when I could finally look at retiring the trusted old WRT54GL and now it seems that day will come much sooner than expected. Looking forward to the OpenVPN integration :)
     
  17. shibby20

    shibby20 Network Guru Member

    teddy_bear... is any chance add support for netgear wnr3500l to your tomato?
     
  18. gingernut

    gingernut LI Guru Member

    Thanks Teddy Bear.

    Best news so far this year.
     
  19. teddy_bear

    teddy_bear Network Guru Member

    shibby20,
    Sure, there's always a chance ;)... However, do not keep your hopes high - I do not have this router, and based on the other firmwares code it looks like Netgear needs a new firmware image format, and different MTD handling code. Although - yes, I have plans to support this model - just don't know when.

    By the way, why do you keep asking about wnr3500l - do you already have it? If not, I don't see why would anyone prefer wnr3500l over RT-N16 - it costs about the the same or more than Asus, and has less RAM and smaller flash...
     
  20. shibby20

    shibby20 Network Guru Member

    yes i have wnr3500l and now im using ddwrt eko but i also use your tomato ND on my wl500gp and i love it. I wish to have tomato on my netgear to :)

    In poland RT-N16 cost 500PLN ($170), netgear 300PLN ($105), well netgear is cheaper.
     
  21. though

    though Network Guru Member

    thanks teddy bear! YOU ROCK!

    will this be implemented into future "standard" tomato releases or will this always be a separate install??
     
  22. though

    though Network Guru Member

    1 question.... will this work on the Asus RT-N12? do you know if it will be supported?

    thanks
     
  23. teddy_bear

    teddy_bear Network Guru Member

    though,
    The build that's currently available won't work on rt-n12 because it's too big - won't fit into 4MB flash of n12. And yes - I plan to add support for that model later.

    As for your other question - I'm not sure what you mean by "separate install". There always will be different variations I suppose - K2.4 and K2.6, MIPSR1 and MIPSR2, 4MB and 4MB+ flash etc...
     
  24. though

    though Network Guru Member

    thanks for the quick reply. i know on the dd-wrt release, you had to crank the default tx power down to 17 from 71. do you know how high you can set it at with this tomato release before it becomes unstable??

    thanks again for all your hard work!


     
  25. TurtleFang

    TurtleFang Addicted to LI Member

    This is AMAZING news. You've totally made my day!

    Teddy_bear, your hard (previously unannounced, you kept it so quiet) work has placed Tomato firmware into the next evolution of broadcom chipset based routers.

    The significance of this step forward to kernel 2.6 can not be overstated. You are to be fully commended.

    I can't wait to pull source and take a look around, and try out a build

    I already have a RT-N16 which is was running DD_WRT on, but I will move over and do some testing and let you know how it goes.

    Do you have a RT-N12 already? I have an unboxed one that I will donate to you, even if you just need a 2nd one for testing. Please let me know.

    Thanks,
    -TurtleFang
     
  26. joew333

    joew333 LI Guru Member

    Have loaded the tomato-1.27-NDUSB-9042-RTN16-beta2 on my RT-N16. I loaded DD-WRT first and then flashed this as extension "bin". This is great. Much better than DD-WRT, which is very buggy. For a Tomato Beta version, it is extremely good and by far exceeds expectations. This will be great as the Beta version matures and features get added as the router hardware specs are outstanding and can do a lot. I hope this version will be picked up and form a standard part of Tomato as this router develops a following and becomes more and more popular. Teddy Bear if you need any help testing I am happy to give feedback. You have done an excellent job here....really and truly outstanding.

    Also...what is the recommended setting for wireless transmit power...is the default 42mW OK or should we use a lower setting?
     
  27. kenyloveg

    kenyloveg LI Guru Member

    Hi, teddy_bear
    It is possible to add other wireless drivers (Ralink, Atheros......) after current build becomes stable?
    Thanks and really impressed by your work.
     
  28. Slimey

    Slimey Network Guru Member

    and hope for linksys wrt N routers? meaning routers like 350N and 6xxN series?
     
  29. blackmack

    blackmack Addicted to LI Member

    It was SlimSamba 2. I also tried Samba 3 on DD-WRT and transfer speeds were similar like now.
     
  30. bagu

    bagu Network Guru Member

    Teddy_bear : would you marry me ? (joke)

    Really many thanks for that work.
    As soon as i receive mine, i'll try it.
     
  31. bogderpirat

    bogderpirat Network Guru Member

    dito that in germany. seems that they just turn around prices when they introduce stuff in europe.

    us:
    asus: http://www.newegg.com/Product/Product.aspx?Item=N82E16833320038&Tpk=asus rt-n-16 $100
    netgear: http://www.newegg.com/Product/Product.aspx?Item=N82E16833122334&Tpk=netgear wnr 3500l $150

    de:
    asus: http://geizhals.at/deutschland/a467887.html 120eur (~ $170)
    netgear: http://geizhals.at/deutschland/a470247.html 70 eur (~ $100)

    the netgear box just looks a lot more attractive to europeans, although the two are very similar in specs.
     
  32. tzobor

    tzobor Addicted to LI Member

    hi, maybe you could add support for the Linksys WRT320N in the future? it's cheap and quite speedy.
    dd-wrt works quite well, but i've been using tomato with my linksys WRT54GL for a long time and love it!
     
  33. gingernut

    gingernut LI Guru Member

    Not sure if this is a bug or not but when I allow Wan & Lan ftp access, port 21 is not automatically forwarded, so I have no Wan ftp access.

    If I manually foward it to the routers ip address it works perfect.
     
  34. teddy_bear

    teddy_bear Network Guru Member

    Are you testing it while you're actually outside of your home LAN? Or are you in your LAN, and just using your external IP address? I suspect that's what you're doing, and that's wrong... This question came up many times in the main USB mod thread, and it almost always was the case.

    The other possible reason is if your router running Tomato is behind another NAT firewall. If so, the behaviour is totally different, and since that's not the sandard WAN acsess, you'll need to do manual tweaking in that case.
     
  35. gingernut

    gingernut LI Guru Member

    That was the case. Sorry.

    Just tried ftp access from work without port 21 manually forwarded and it works fine.

    Thanks.
     
  36. though

    though Network Guru Member

    just wanted to let you know i flashed my N16 today from dd-wrt. working GREAT so far!
     
  37. gingernut

    gingernut LI Guru Member

  38. though

    though Network Guru Member

    this is an excellent question... Teddy?


     
  39. TurtleFang

    TurtleFang Addicted to LI Member

    Thanks again to teddy_bear for not only doing all this work, but for releasing the code right away without any limitations.

    This afternoon I pulled source and compiled an image for my RT-N16. Everything went as smooth as possible... the process is simple and fairly quick. Very nice indeed.

    Just for fun, I went ahead and recompiled a non-usb image to get the file size under 4MB, enough to fit onto my RT-N12. Someone mentioned possible support for the RT-N12 so I thought I'd give it a try. Now I did this in the release/src-rt directory and not the release/src dir, which may be why I'm seeing the problems described below. But it's late so maybe I'll try the other dir tomorrow. (teddy_bear, can you clarify the two directories usages going forward? I'm not 100% sure what each should be used for, I'm only making assumptions at this point.)

    It booted up, though with some issues. See the attached screen capture as proof that it (kinda) worked.

    Some major problems are that wireless doesn't work, and you can't save anything in the config without the router hanging and the settings not persisting after a hard reboot to clear the hang.

    But using a lan port, I was able to surf the web out the wan port. So a *lot* is working right out the gate without any changes.

    The RT-N12 uses a totally different broadcom chipset, so I'm not surprised that the wireless didn't work. And the nvram issue may be that it's defaulting to an incorrect size in tomato and therefore writing to the wrong offset in flash, causing the crash and missing changes to the config.

    Anyways, this is in no way an attempt to hijack what teddy_bear has done. I just have a few RT-N12's lying around so I thought I'd give it a try flying blind without any changes to source.

    That's the beauty of the Asus routers as even if things go wrong, you can use the firmware recovery tool and get yourself out of just about any jam/hang/crash you get into.

    Thanks again teddy_bear for all your hard work. And don't forget that I've got a RT-N12 with your name on it, just let me know if you need it.

    UPDATE: After 9 hours of uptime, the router is still running... still passing traffic lan to wan and no crash overnight.

    Thanks,
    -TurtleFang
     

    Attached Files:

  40. teddy_bear

    teddy_bear Network Guru Member

    everyone,
    Please do not expect me to answer your questions whether or not a certain router model will be supported - I do not know myself yet. I can only tell you that it will be only possible for Broadcom-based routers, and the chances are much higher for single-band routers than for dual-band. However, do post your requests here - I won't respond immediately, but you can be sure that your feedback counts!

    though & joew333,
    I don't know which power setting is optimal for RT-N16 - I have my set to 20 mW now which is more than enough for my house, but I didn't have any issues with it being set to 35 either. The rule is however - do not set it higher than you really need since the higher power increases the noise.

    though & gingernut,
    My friend's notebook was able to connect at 300 Kbps with WMM being off, so I suppose it's not required.

    TurtleFang,
    Great, thanks for the info! Good to know it almost works on RT-N12. But actually I expected it to go even smoother - the wireless issue is a bit surprising... You did right by running "make" in the "src-rt" directory - the "src" is for builds with kernel 2.4, and src-rt is for building "tomato-rt" branch based on kernel 2.6. Well, I guess after all I will need an actual hardware to make it up and running - unless you figure it out first... So if you still want to donate one, I won't refuse ;).

    blackmack,
    Have you tried to test SlimSamba with this firmware to see if it performs any better than built-in Samba?
     
  41. tomatofan

    tomatofan Addicted to LI Member

    Awesome work teddy_bear! Maybe Tomato will end up on a bigger selection of routers after all.
     
  42. TexasFlood

    TexasFlood Network Guru Member

    Should have some time to load this today and check it out for myself. I believe it was mentioned over on the dd-wrt forums that the default for the power commands on the RT-N16 is dBm, not mW, so be careful which is being used as they are very different figures. Easy to check from the command line, I think it was "wl txpwr" or maybe "wl txpwr1" would report the current setting in the various different formats.
     
  43. teronzhul

    teronzhul Addicted to LI Member

    I just registered to say that this is awesome!

    Good Work Teddy Bear. Thanks a lot.

    I had been holding off on purchasing an N router due to the lack of Tomato. Now I just have to find an RT-N16 in stock somewhere.
     
  44. TurtleFang

    TurtleFang Addicted to LI Member

    Ok, I did some digging this morning and things are looking much better.

    Basically, RT-N12 is fully operational but for the ignore of the SES button actions.

    Last night I noticed that the WLAN led would light up, but would turn off almost right away.

    Looking the logs, I saw entries from the buttons process that the SES button was being pressed multiple times for random lengths... and I wasn't pressing the button.

    The Asus RT-N12 is unique in that it has a switch on the back where you can physically set it to 3 positions (router, bridge, ap).

    Pure speculation at this point, but maybe this is the root cause of the spurious SES detections. I moved it between the 3 settings and did see different behaviors. So as a test I simply modified the code in buttons.c to take no action when the button is pressed, and recompiled.

    With the new image, wireless now works and I can modify/save the config without a crash.

    Just need to gracefully handle buttons proccess on this platform and all will be well. More to follow later.

    Also, if someone wants to test out a trial image I could try to provide an alpha (pre-beta) image... of course with the usual caveats.

    Hope this helps,
    -TurtleFang
     
  45. blackmack

    blackmack Addicted to LI Member

    @TEDDY BEAR

    Have tried SlimSamba now. Write speed is the same than yours. Little above 7MB/s. So its not the problem in your Samba.
     
  46. teddy_bear

    teddy_bear Network Guru Member

    Good finding! So it is all down to correct gpio handling... Thanks - now I know what to look for!
     
  47. though

    though Network Guru Member

    turtle,

    i may be interested in testing your release for the N12... can you provide me a link?

    thanks for your work too!
     
  48. gingernut

    gingernut LI Guru Member

    At the default 42mW tx power the wl txpwr1 command outputs

    TxPower is 127 qdbm, 31.75 dbm, 1496 mW  Override is Off

    But even though you reduce the tx power to 20mW there is no change neither in the
    wl txpwr1 command output or in signal quality.
     
  49. though

    though Network Guru Member

    what does this mean exactly?

     
  50. TurtleFang

    TurtleFang Addicted to LI Member

    Here you go:
    http://www.mediafire.com/?3xxjznyz0cz

    When I built the image, I used random numbers and my userid as the two make command line defines. So it shows up in the about link as "Tomato Firmware v1.27.8824 TurtleFang ND". But make no mistake, this image comes from the hard work of others like teddy_bear, not me. It's just my private build image.

    Again, this is a pure alpha grade image so you use at your own risk. But the image has been up and running for me for more than 2 hours. Most of that time it was idle while I was out of the house... so it only has about 10 minutes of actual usage on it. Please take this into account.

    The power led flashes continually, but it doesn't effect operation. I'm sure this led is driven by software, so we should be able to correct this as well in time.

    The one change that I made to the code as mentioned earlier was to comment out any actions from being taken when the router perceives that the SES button is being pressed. I also added a bit more debug to syslog when this occurs, so you should see the following in your log file:


    Jan 10 12:27:40 Turtle user.info buttons[294]: ::: SES pushed. Count was 55. I plan to do nothing.
    Jan 10 12:27:40 Turtle user.debug buttons[294]: ses-func: count=55 sesx_b3='4'
    Jan 10 12:27:43 Turtle user.info buttons[294]: ::: SES pushed. Count was 1. I plan to do nothing.
    Jan 10 12:27:43 Turtle user.debug buttons[294]: ses-func: count=1 sesx_b0='1'
    Jan 10 12:27:47 Turtle user.info buttons[294]: ::: SES pushed. Count was 3. I plan to do nothing.
    Jan 10 12:27:51 Turtle user.info buttons[294]: ::: SES pushed. Count was 2. I plan to do nothing.
    Jan 10 12:27:51 Turtle user.debug buttons[294]: ses-func: count=2 sesx_b0='1'
    Jan 10 12:27:54 Turtle user.info buttons[294]: ::: SES pushed. Count was 1. I plan to do nothing.
    Jan 10 12:27:54 Turtle user.debug buttons[294]: ses-func: count=1 sesx_b0='1'
    Jan 10 12:27:59 Turtle user.info buttons[294]: ::: SES pushed. Count was 4. I plan to do nothing.
    Jan 10 12:27:59 Turtle user.debug buttons[294]: ses-func: count=4 sesx_b1='4'
    Jan 10 12:28:09 Turtle user.info buttons[294]: ::: SES pushed. Count was 9. I plan to do nothing.
    Jan 10 12:28:09 Turtle user.debug buttons[294]: ses-func: count=9 sesx_b2='4'
    Jan 10 12:28:12 Turtle user.info buttons[294]: ::: SES pushed. Count was 2. I plan to do nothing.

    If you don't see similar messages that would be interesting to, and would point to flaky hardware on my RT-N12. So please let me know what you see.

    Hope this helps,
    -TurtleFang
     
  51. gingernut

    gingernut LI Guru Member

    Well it means that even if you change the tx power value in Tomatos advanced wireless page it has no affect and does not change anything.

    Have a try and change from 42mW to 10mW.

    You will not see any change in signal strength or quality between router and wireless clients.
     
  52. though

    though Network Guru Member

    that's what i figured it meant so this is a bug that teddy needs to be informed of???


     
  53. gingernut

    gingernut LI Guru Member

    After some testing you can change the tx power value, but manually.

    The command is wl txpwr1 -m 20 and after with wl txpwr1

    you get this output TxPower is 52 qdbm, 13.0 dbm, 20 mW Override is Off

    So it has changed but with still no affect on signal strength or quality.

    Maybe the tx power is fixed at binary level in the broadcom driver and can only be changed when compiling the firmware.
     
  54. though

    though Network Guru Member

    i think teddy can shine some more light for us. im too dumb :)


     
  55. TexasFlood

    TexasFlood Network Guru Member

    Do you have to reboot for a power setting change to actually change the output?
    Not sure, just asking...
     
  56. though

    though Network Guru Member

    good question.... or a power cycle....


     
  57. gingernut

    gingernut LI Guru Member

    Not sure but I think whan you press save wireless is restarted.

    Even though I can't change the radio's output power I still have good wireless signal range.

    On Asus's firmware can you change the tx level, maybe from high to middle to low or something, I don't remember.
     
  58. deboyz1014

    deboyz1014 Addicted to LI Member

    This is great news, I have both N16 and N12 and can't wait to get home to play with them.
     
  59. teddy_bear

    teddy_bear Network Guru Member

    tx power

    The tx power issue is known, and common for all firmwares with newer Broadcom wifi driver. There's no need to reboot after changing settings in the GUI - the wireless is restarted automatically when you save the settings. But the "override" feature is disabled in the driver, so no matter what value you set the tx power to, the local regulations are still applied and may limit the actual power value.

    Try setting the Country on Advanced->Wireless page to US - you'll loose channels 12-14 but will probably gain some control of the actual tx power. That said, don't expect the huge difference between 20mW and 250mW (it's only about 10 dBm difference if you look at it in inSSIDer) - but at least, unlike Japan and some other countries, there should be some effect that you'll be able to notice.

    You can search this forum for more details - there were several lengthy discussions of the issue.
     
  60. gingernut

    gingernut LI Guru Member

    The tests I did was using US set as wireless region.

    Do you know why the default tx power output says its at 1496mW?

    I think it was the same on the stock firmware but something tells me that this can't be correct.
     
  61. TexasFlood

    TexasFlood Network Guru Member

    Yes, I posted over on the dd-wrt forums that the output of "wl txpwr" from the Main_AdmStatus_Content.asp page on the stock firmware was "31.75 dBm = 1496 mw". This didn't really make sense to me but didn't generate much discussion over there, guess there enough other issues to deal with.
     
  62. teddy_bear

    teddy_bear Network Guru Member

    At what point exactly did you see this result?
    Dunno about official Asus firmware, but whenever I checked on Tomato, the value displayed by "wl txpwr1" always matched the GUI setting - including right after reset to defaults (unless the radio is disabled and was never enabled after the last reboot - but in this case it's irrelevant what txpwr1 shows)...
    Also, with country set to US, and the laptop right next to the router, I can clearly see 5 to 10dBm difference in signal in inSSIDer when I switch the power setting in the GUI from 10 to 250 mW.

    You did thorough nvram erase after loading Tomato, did you?

    TexasFlood,
    I suppose the issue didn't generate much discussion not because of the other issues - but because no matter what's txpwr1 shows, the actual power won't exceed the value allowed by regulations (250[?] mW in the US) - so it doesn't really matter...
     
  63. gingernut

    gingernut LI Guru Member

    I did a thorough nvram erase after flashing.

    I was only trying down to 10mW and up to 50mW. Didn't want to go to much higher just in case. But as you said if it works for you it should work for me. There is probably someting I'm doing wrong.

    The 1496mW output was using the command wl status on Tomato's tools--> system page.

    At the moment I have great wireless coverage with this router using Tomato, all over my house, and my RT-N16 is performing at lot better than before Tomato firmware was on it, thanks to great work by you, Victek and others, so I'm going to leave the tx power thing at that and let some more important discussions take over.
     
  64. TexasFlood

    TexasFlood Network Guru Member

    Sounds right, there was one post over on the dd-wrt forums that essentially said the same thing, if not as precisely.
     
  65. Engineer

    Engineer Network Guru Member

    I hate you all...Now I'm going to have to go out and spend money on a new RT-16N! :D

    (just kidding...I'm actually amazed at what you guys come up with..truly amazed).
     
  66. TexasFlood

    TexasFlood Network Guru Member

    I know what you mean, I originally ordered the RT-16N for the Provantage one time good deal price that fell through in the end. But by that time I was hooked and had to buy it anyway at the higher price. But it's all good, I just got Tomato loaded on it and life is good. Thanks teddy_bear!
     
  67. TexasFlood

    TexasFlood Network Guru Member

    wl status shows some interesting info but on my router it doesn't show the tx power. However both wl txpwr and wl txpwr1 do.

    After a thorough reset, I get the following:

    wl txpwr
    16.25 dBm = 42 mw.

    wl txpwr1
    TxPower is 65 qdbm, 16.25 dbm, 42 mW Override is Off

    wl status
    SSID: "wireless"
    Mode: Managed RSSI: 0 dBm noise: -83 dBm Channel: 4
    BSSID: XX:XX:XX:XX:XX:XX Capability: ESS ShortSlot
    Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
    802.11N Capable:
    Chanspec: 2.4GHz channel 4 40MHz (0x2e04)
    Control channel: 6
    802.11N Capabilities:
    Supported MCS : [ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 32 ]
     
  68. Engineer

    Engineer Network Guru Member

    I know exactly what you mean. I already have SlickDeals with a deal alert looking for it! :)
     
  69. TexasFlood

    TexasFlood Network Guru Member

    Total / Free Memory 124.19 MB / 110.33 MB (88.84%)
    Six months ago I wouldn't have believed this possible in a home router in this price range :biggrin:
     
  70. ladysman

    ladysman LI Guru Member

    I wish I would have bought 2 of them. I got mine for $85 shipped!
     
  71. Toastman

    Toastman Super Moderator Staff Member Member

    I'm not at all surprised that the drivers finally got to comply with regulations and limit power according to the country. But this weird figure of 1496mW worries me. The power amplifier chip used in the RT-N16 is, as far as I am aware, the same one used in the WRT54GL. It cannot run that sort of power. Whatever that figure is reporting it's best ignored.

    http://www.linksysinfo.org/forums/showpost.php?p=349722&postcount=10
     
  72. mstombs

    mstombs Network Guru Member

    Just to confirm

    Code:
    16.25 dbm, 42 mW
    is correct, the relationship between the variables is

    Code:
    dbm = 10 * log10 (mW)
    decibels relative to 1 milliWatt

    The reverse

    Code:
    mW = 10 ^ (dbm/10)
    is clearly what is used for

    (typo on mW!)

    but just think what 31.75 is in fixed point binary 11111.11 - it is clearly not a real value!
     
  73. Toastman

    Toastman Super Moderator Staff Member Member

    But where the dickens does this figure of 31.75 (=1496 mW) come from? A search of the DD-WRT, OpenWRT, ASUS etc forums shows this message is occurring with these newest drivers, one wonders if some piece of hardware that has been used for development or later release actually had a high power device in it? Or is it just a programming error.?

    I did not find a single post that made sense, just a lot of waffle.
     
  74. deboyz1014

    deboyz1014 Addicted to LI Member

    Running into strange issue after upgrading from DD-WRT to Tomato firmware for my N16. Upgrade went fine, did NVRAM reset and cable modem reset so that I would start out fresh. Here is where the problem occurred, after everything booted up after reset, the network status is stuck at Renewing. I can access local resources just fine but no internet access. Win 7 diagnostic tells me that there is an issue with DNS but that’s about it. Tried flushing DNS but no luck there either.

    I know this issue has to do with some settings in the modem because I plugged my Asus 520GU with latest tomato firmware (default setting) to the modem and was able to get internet, same with my N12 latest DD-WRT (default setting). Any ideas on what I could try to resolve this?
     
  75. TurtleFang

    TurtleFang Addicted to LI Member

    I saw the same behavior. Starting with a scrubbed NVRAM I would see the wan port stuck at renewing. Happened with both my RT-N16 and my RT-N12.

    Simple reboot of the router and it would come up every time.

    I'm thinking its down to a race condition at init with setting up some environment variables. Something isn't setup in time? Not much of a problem at the time as it came up right away on the first reboot, so I just moved on.

    Again, for me it only happened at first bootup and never again.

    Should be something simple to fix, but there is an easy workaround (at least from my experience).

    Reboot your router and let me know what you see.

    Hope this helps,
    -TurtleFang
     
  76. though

    though Network Guru Member

    ya i think this happened to me too. just hold the reset button in for 10 seconds or so and that should fix it! make sure you do a thorough NVRAM erase if you haven't already!

     
  77. ladysman

    ladysman LI Guru Member

  78. Edrikk

    Edrikk Network Guru Member

    Can someone with the ability to recover from flashes try this on the Linksys WRT610Nv2? (Note: Version 2)?

    That router has the exact same chipset as the RT-N16 (Broadcom4718@480 [both are actually running at 480 MHz instead of the maximum of 530 MHz] 64 MB RAM instead of 128 on the RT-N16, and I believe, 8MB Flash ROM instead of 32)


    I figure it should work... Also of note is that Eko of dd-wrt supported both of these two routers at *exactly* the same time...
     
  79. vanhh

    vanhh Network Guru Member

    Any online gamer - how does RT-N16 + tomato do? better, worst or the same in game playing? better pings? - in general comparing to your old router.
     
  80. though

    though Network Guru Member

    i don't do online gaming, but i hammer the crap out of this thing and it's FAST and SOLID AS A ROCK!

     
  81. deboyz1014

    deboyz1014 Addicted to LI Member

    Thanks for all the suggestions, I tried the 10 sec reset (not the wds button) and it worked. I was having some problem accessing my NAS also but unplug/plug power to the NAS seems to resolved that issue.

    Thanks again.
     
  82. Troydm

    Troydm Addicted to LI Member

    flashed it on my asus RT-N16 from dd-wrt, then did hard reset (button press) and everything works ok amazingly stable, i don't use nas and some other features so but everything else is working flawlessly. iperf wireless n tcp test showed 89 Mbit/s throughtput from wireless client to lan (gigabit connected) server. samba transfers of large files between lan to wireless also work without lockups that happend frequently on dd-wrt 13491 that i had. amazing firmware.
     
  83. ladysman

    ladysman LI Guru Member

    I guess I should just load this. I was waiting for TB to release another one just in case. Sounds like I don't have to wait. Nice job Teddy Bear!:)
     
  84. baldrickturnip

    baldrickturnip LI Guru Member

    what is possible with the USB port ?

    could you run a Huawei USB HSUPA modem from one as a WAN ?
     
  85. The Doctor

    The Doctor LI Guru Member

    I've got a desire similar to the last poster. Is it possible to install a USB-->ethernet adapter and use it as a LAN port? I need more than 4 ports due to my use of a PSTN gateway.

    Currently using a Buffalo WHR-HP-G54 as a switch & wireless access point(needed to get wireless CPU load off of WRT54G-TM). I could eliminate that if I had a 5th LAN port. The port needs less than 1Mbit. Possible?


    Ed
     
  86. teddy_bear

    teddy_bear Network Guru Member

    baldrickturnip,
    All kernel modules (usbserial, option, cdc-acm) and software (usb-modeswitch) needed for this are included into RT-N16 build (or at least I hope so). However, there's no GUI, no scripts, nothing else...

    Although full support for USB modems is one of the 1001 item on my list, it's pretty low in the priority. I don't have any of such modems now, and it'll probably never be done without somebody else's help. If you're interested, you can google around and start experimenting with it yourself (all I know about the subject is in this post :) ). If you (or someone else) get it working, post your results and how-to's, and hopefully it will lead to full built-in support in the firmware.

    The Doctor,
    That's not really similar, and no - it won't be implemented. Not worth the efforts... If you don't like the bulkiness of your 2-routers setup, get the switch - they are small and inexpensive these days.
     
  87. The Doctor

    The Doctor LI Guru Member

    Teddy bear, no problem. I certainly didn't expect you to add anything to your mod to handle that function, especially considering that there are probably very few, if any, others who would like to try this.

    I just figured I would ask, as I thought there was some possibility of doing this with a simple script or something. I had a feeling it may not be possible or easy, but figured I'd give it a try.

    I'll just keep my current setup, and replace the old Linksys with the new Asus. To be quite honest, I am quite happy just to be able to run Tomato on some hardware which is fast enough to fully utilize my connection. I'm hoping to have the new router in a few days, and from what other people have reported, I don't expect to have any trouble getting it to work properly.

    Ed
     
  88. ladysman

    ladysman LI Guru Member

    RT-N16....I found some for you guys! (Thanks to a buddy of mine!)

    I ordered another another one. $94 shipped. At 11am CST they had 34. We ordered 3 (3 people since there is a limit of 1). So i know they have 31 or less. :wink:

    http://www.ewiz.com/detail.php?p=AS-RTN16&c=nextag

    Ebay also has some now.
     
  89. mooper

    mooper Guest

    does this version have mlppp on it?
     
  90. teddy_bear

    teddy_bear Network Guru Member

    mooper - No.
     
  91. though

    though Network Guru Member

    Teddy Bear -or- anyone else in the know....

    i just set up a WDS system with 4 buildings.... 2 of them are connected via WDS to each other while the other 2 buildings bridge to the secondary WDS unit (see picture below). the connection is solid, no packet loss, everything seems to be great except 1 thing that i can't figure out.

    when i run torrents on the 3 units (other than my main router) i am getting speeds at around 2.0MB/sec. pretty close to the max speed of my cable modem. this is great, BUT when i try to download something using my browser, whether it's a speedtest, a service pack from microsoft, quicktime w/ itunes, etc, the speeds are VERY slow, around 200kB/s. if i download these from my pc that is on the main router, these downloads are FAST, around 2.0MB/sec just like the torrents.

    how come the torrents are fast like they should be on the secondary units, but 'regular' downloading is not????
     

    Attached Files:

    • WDS.jpg
      WDS.jpg
      File size:
      17.7 KB
      Views:
      65
  92. mstombs

    mstombs Network Guru Member

    Check the basics first - are the TCP tuning constants MTU/ RWIN etc correct, latency plus small receive window could give that behaviour, compare settings reported by

    http://www.speedguide.net/analyzer.php
     
  93. deboyz1014

    deboyz1014 Addicted to LI Member

    One strange thing I've noticed with both DD-WRT and Tomato regarding this router. Every time I transfer large file (8GB) over wireless, the connection would drop after 15-20 secs into the transfer. This happens to desktop as well as laptop around the house so its not specific to a single type of wireless card. Has this happen to anyone?
     
  94. ladysman

    ladysman LI Guru Member

    This is very interesting to me and would be a deal breaker for me. I stream HD video over wireless right now.

    Are you saying a combination of Files? Or just 1 file that is 8gb or more?
     
  95. deboyz1014

    deboyz1014 Addicted to LI Member

    I tested file ranging from 5 gig to 8 gig with same results and its a single file.

    Settings:
    DD-WRT G/N Mixed
    WPA/WPA2 - TKIP/AES

    Settings:
    Tomato Auto
    WPA/WPA2 - TKIP/AES

    I didn't have time to play around much with the setting yesterday to see what might be causing this issue but seems the common setting is the security. I'm going to play around with that settings later on and report back with the result.
     
  96. teddy_bear

    teddy_bear Network Guru Member

    After reading about this problem with dd-wrt, I tested large file transfers (10-20 GB) via wired or wireless using built-in Samba, as well as HD video streaming over wireless (between RT-N16 and WL520GU running in WET mode with WDTVLive box connected to it) several times, and never had a lock-up.

    Troydm also reported on the previous page:
    So it looks like there must be something else - another condition - for this to happen... My Tomato settings are (looks exactly as yours with the except of TKIP encryption):
    Network Mode: Auto
    Security: WPA/WPA2+AES (all clients use WPA2, except WL520GU which is WPA+AES)
    Channel 8, Channel Width: 40 MHz

    Would be interesting to know if anyone else experiences the same issue.
     
  97. madduru

    madduru Addicted to LI Member

    How to connect WL520gU to RT-N16

    I am a WL520gU/Tomato user and recently I have purchased Asus RT N16. SO I am thinking of making N16 the primary router and make Wl520gU as a slave router. (I am thinking of connecting Wl520gU to my another PC as a wireless adpater/extender) Can any one provide help or link on how I could do this? Any help is appreciated.
    Thanks,
    S Madduru
     
  98. bmr501

    bmr501 Network Guru Member

    Would it work on the Asus RT-N15,it seems close to the RT-16
     
  99. teddy_bear

    teddy_bear Network Guru Member

    madduru,
    That's my exact current configuration - RT-N16 in the AP mode with 520GU as a Wireless Ethernet Bridge (WET) with a couple of wired clients. No issues at all so far. Just make sure you also use the latest v42 on 520GU as well since in this build I added some improvements specifically for WET mode (to auto-reconnect when the connection to the main router is lost).

    bmr501,
    No, and never will - not Broadcom-based.
     
  100. cariyawa

    cariyawa Addicted to LI Member

    Hi all and of course, I am new to this forum, :)

    Currently I am running DD-WRT on my RT-N16 and I am planning to install tomato. But I have three questions.

    1. I want to use ddns and my IP rarely changes.. probably once per month. So is there any setting in tomato ddns settings to force update after certain date(say after 10 days)- just to avoid emails from DynDnS people saying they are going to delete my host name due to account inactivity

    2. As discussed in this thread, one of the biggest problem in RT-N16 with DD-WRT is that it locks + reboots when transferring large files. Does it exits in tomato too?

    3. By any chance, if I want to transfer back to DD-WRT, Can I just flash DD-WRT from tomato firmware upgrade section?

    Thanks LOT!
     

Share This Page