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

Let's talk about the new Asus RT-N12/B1

Discussion in 'Tomato Firmware' started by Gaius, Oct 6, 2011.

  1. Gaius

    Gaius Networkin' Nut Member

  2. clarknova

    clarknova Networkin' Nut Member

    The 5 dBi antennas make this a much nicer choice than the original RT-N12. I'd like to know what the prospects are of having Tomato support on this baby. Although the CPU is different from the original RT-N12, it's still a Broadcom.
     
  3. shibby20

    shibby20 Network Guru Member

  4. pendetim

    pendetim Addicted to LI Member

    Hi,
    I just purchsed a RT-N12 for Tomato VPN "upgrade"/ not the B1 model and installed "Tomato Firmware v1.28.7483 MIPSR2-Toastman-RT K26 VPN" on it.
    Just curious, what kind of issues does it have? I had hoped to send it to a service man stationed over seas but don't want to have to handle 4,000 mile service calls :eek:
    Tim
     
  5. clarknova

    clarknova Networkin' Nut Member

    Code:
    Tomato v1.28.0000 MIPSR2-079V K26 USB BT-VPN
    root@unknown:/tmp/home/root# cat /proc/cpuinfo
    system type            : Broadcom BCM5357 chip rev 1 pkg 8
    processor              : 0
    cpu model              : MIPS 74K V4.9
    BogoMIPS                : 149.91
    cpu MHz                : 300
    wait instruction        : no
    microsecond timers      : yes
    tlb_entries            : 64
    extra interrupt vector  : no
    hardware watchpoint    : yes
    ASEs implemented        : mips16 dsp
    shadow register sets    : 1
    VCED exceptions        : not available
    VCEI exceptions        : not available
    
    unaligned_instructions  : 1
    
    Sorry to be daft, but how to I get an nvram dump?
     
  6. clarknova

    clarknova Networkin' Nut Member

    Found it. Including the 'before' and 'after' clearing nvram.
     

    Attached Files:

  7. shibby20

    shibby20 Network Guru Member

  8. clarknova

    clarknova Networkin' Nut Member

    Here's what I'm seeing when doing gpio poll x, where x is any of 0 through 8:

    LAN4
    Code:
    60D32FBE .12345.789AB.D..
    
    LAN3:
    Code:
    60D32FBD 0.2345.789AB.D..
    
    LAN2:
    Code:
    60D32FBB 01.345.789AB.D..
    
    LAN1:
    Code:
    60D32FB7 012.45.789AB.D..
    
    WAN:
    Code:
    60D32FAF 0123.5.789AB.D..
    
    So essentially this:
    LAN4=0
    LAN4=1
    LAN4=2
    LAN4=3
    WAN=4
    2.4GHz=5
    PWR=6

    with a changing hex code (60D32Fxx) preceding it. and 789AB.D.. following.

    When I try

    Code:
    gpio [en|dis]able [0-8]
    
    only this one is effective:

    Code:
    gpio enable 5
    
    which turns off the 2.4GHz LED, and

    Code:
    gpio disable 5
    
    which turns it on again, but now it's not flashing when it was before.

    I don't see the Restore or WPS buttons having any effect on the output of either of these commands.
     
  9. shibby20

    shibby20 Network Guru Member

    try higher GPIO. In RT-N10U buttons are on GPIO 20 and 21.
     
  10. clarknova

    clarknova Networkin' Nut Member

    When I press the WPS button, the output of gpio poll x changes from 60D32FDE to 60532FDE, so the third digit changes from a D to a 5. When I press the Restore button the third digit changes from a D to a 9.
     
  11. shibby20

    shibby20 Network Guru Member

  12. clarknova

    clarknova Networkin' Nut Member

    Firmware update from GUI went fine. The model name still doesn't show correctly, but the USB menu disappeared. I haven't noticed any other changes but all appears to be working well so far.
     

    Attached Files:

  13. shibby20

    shibby20 Network Guru Member

    thx. i will check again model detection
     
  14. shibby20

    shibby20 Network Guru Member

  15. clarknova

    clarknova Networkin' Nut Member

    Nice. The Overview page now shows the correct hardware and the Basic>Wireless page now has the correct 40 MHz channel settings. 40mhz.png model_correct.png
     
  16. Toastman

    Toastman Super Moderator Staff Member Member

    Nice work, shibby...
     
  17. clarknova

    clarknova Networkin' Nut Member

    This router (and the non-B1 version) have a physical switch on the back for three modes: Router, Repeater, AP. Has anybody tried to do anything with these? It would be cool if it could be actually made to work as labeled. I'll see if gpio reveals anything about that switch.
     
  18. clarknova

    clarknova Networkin' Nut Member

    Router mode gpio poll:

    Code:
    60D22FBF 012345.789AB.D..
    Repeater mode gpio poll:

    Code:
    60D22F7F 0123456.89AB.D..
    AP mode gpio poll:

    Code:
    60D22EFF 01234567.9AB.D..
     
  19. clarknova

    clarknova Networkin' Nut Member

    The WAN option for 3G modem could probably be dropped too, since this model has no USB port. Not that it hurts anything to be there, but I suppose it could cause user confusion.
     
  20. clarknova

    clarknova Networkin' Nut Member

    Now that I've had a chance to test the wireless on this RT-N12 B1 a little bit, it seems there is something wrong with its performance. I have here a B1 and a V1. The B1 is running the last firmware that you (Shibby) posted to this thread, while the V1 is running the most similar firmware I could find for its model, http://tomato.groov.pl/K26/build5x-079V-EN/tomato-K26-1.28.905xRAF-EN-MIPSR2-079V-MiniIPv6-VPN.trx. I used the same pair of 5dBi antennas on both routers, and positioned them the same for the tests. I used the router's LAN port for uplink with DHCP disabled. Both routers were tested after resetting the nvram and disabling the DHCP server.

    iperf results (iperf -c 172.21.252.10 -P4 -d -t 40), wifi <> LAN (local, low latency) :
    B1 -- rtt 1ms, Rx 46 Mbps, Tx 30 Mbps (as seen from Tomato's WL interface)
    V1 -- rtt 1ms, Rx 43 Mbps, Tx 18 Mbps

    speedtest.net results to nearest server:
    B1 -- rtt 52ms, Rx 0.10 Mbps, Tx 5.06 Mbps (as seen from wireless client)
    V1 -- rtt 50ms, Rx 19.69 Mbps, Tx 6.81 Mbps

    speedtest.shaw.ca
    B1 -- rtt 122ms, Rx 0.17 Mbps, Tx 2.22 Mbps
    V1 -- rtt 122ms, Rx 14.41 Mbps, Tx 3.93 Mbps

    Obviously the B1 does fine on very low latency connections, but terribly on internet connections with even reasonable (~50ms rtt) latency. This effect is far more extreme when the wireless client is downloading, but still present when the client is uploading. Note that I'm not using the WAN port for any of these tests, but merely testing the speed of the wireless at layer 2.

    Please have a look at this and let me know what other tests or feedback I can give.
     
  21. clarknova

    clarknova Networkin' Nut Member

  22. clarknova

    clarknova Networkin' Nut Member

    Hmm. I deployed the RT-N12 B1 on a 3/1 ADSL connection and wireless speed was fine.
     
  23. shibby20

    shibby20 Network Guru Member

    did you test dd-wrt?
     
  24. clarknova

    clarknova Networkin' Nut Member

    No, but I will in a week or so.
     
  25. clarknova

    clarknova Networkin' Nut Member

    One other thing I noticed before this one got away on me, I had the wireless set to 40 MHz channels and a laptop connected to it at 300 Mbps, but as soon as I enabled WPA2/AES it dropped to a 20 MHz channel. Is this a hardware limitation, or perhaps just a driver hiccup?
     
  26. Nezrym

    Nezrym Networkin' Nut Member

    Please, help with firmware for Linksys E1200 and E1500.
    Processor them the same as the Asus RT-N12 B1: Broadcom BCM5357
    Flash Memory E1200: 4 MB
    Flash Memory E1500: 8MB
    RAM: 32MB
    Thanks
     
  27. clarknova

    clarknova Networkin' Nut Member

    Ok, I was finally able to test dd-wrt mini build 16785:

    iperf results (iperf -c 172.21.252.19 -P4 -d -t 40), wifi <> LAN (local, low latency) :
    B1 -- rtt 1ms, 29.3/31.1 Mbps

    speedtest.net results to nearest server:
    B1 -- rtt 16ms, Rx 22.64 Mbps, Tx 16.02 Mbps (as seen from wireless client)

    speedtest.shaw.ca
    B1 -- rtt 123ms, Rx 18.39 Mbps, Tx 3.19 Mbps

    Looks like a Tomato problem to me. Let me know if I can do more testing. I have a supply of this hardware now.
     
  28. clarknova

    clarknova Networkin' Nut Member

    Flashed back to Tomato and did the same tests again. Results are a little better this time, but not great:

    iperf results (iperf -c 172.21.252.19 -P4 -d -t 40), wifi <> LAN (local, low latency) :
    B1 -- rtt 1ms, 2.1/7.2 Mbps

    speedtest.net results to nearest server:
    B1 -- rtt 55ms, Rx --- Mbps, Tx 3.34 Mbps

    speedtest.shaw.ca
    B1 -- rtt 123ms, Rx 0.13 Mbps, Tx 0.89 Mbps

    These tests are not directly comparable to the tests I did a couple weeks ago for a few reasons:

    1. This is a new router, even though it's supposedly the same thing.
    2. The router is positioned slightly differently, but in the same office.
    3. The server is different, although still Ubuntu (newer release) and on the same network.

    Still, the difference in performance between Tomato and dd-wrt is significant and apparent. Check out this graph from Tomato during the iperf test. Average throughput is higher than in my last tests, but the speed is all over the place during the test.

    iperf-tomato-rt-n12b1.png
     
  29. sonicnan

    sonicnan Addicted to LI Member

  30. clarknova

    clarknova Networkin' Nut Member

    Thanks for the heads-up on the new release. Unfortunately the results on this firmware don't look much better:

    iperf results (iperf -c 172.21.252.19 -P4 -d -t 40), wifi <> LAN (local, low latency) :
    B1 -- rtt 1ms, 19.3/37.4 Mbps

    speedtest.net results to nearest server:
    B1 -- rtt 20ms, Rx 1.03 Mbps, Tx 21.97 Mbps

    speedtest.shaw.ca
    B1 -- rtt 122ms, Rx 0.76 Mbps, Tx 3.45 Mbps
     
  31. Gaius

    Gaius Networkin' Nut Member

  32. Toastman

    Toastman Super Moderator Staff Member Member

    Done - changed it :)
     
  33. 777Braveheart

    777Braveheart Networkin' Nut Member

    Hi. I'm a newbie here. Go easy... I used the Buffalo WHR-HP_G54 and WRT54GL for years with various builds including Victek, Shibby, and Toastman. Thanks for all the great builds guys!

    I now have the n12B1 as above and loaded the tomato-K26-1.28.RT-N5x-MIPSR2-083V-IPv6-VPN.trx build last night. So far so good.

    1 - I noticed the default transmit power was set to 42. Was that intended? Does anyone know the best rate?
    2 - I noticed the transmission rate is defaulted to "Auto". The available selections go to a max of 54. I thought this router would have higher options since it is n. Am I wrong?
    3 - Is there anything I can test to help with this build?

    Thanks Shibby!
     
  34. clarknova

    clarknova Networkin' Nut Member

    I think this is normal on most Tomato builds. I read an article somwhere, I believe it was written by Toastman, stating that he had done some testing and found that setting the power to 60 gave him the best signal. Of course I'm quoting him way out of context, and this will vary with many factors, not the least of which being the hardware in question.
     
  35. brav

    brav Networkin' Nut Member

    so if i'm using a rt-n12 v1, would dd-wrt still be the recommended firmware for stability and speed? thanks!
     
  36. ygleung

    ygleung Networkin' Nut Member

    I'm not sure we are talking about the same issue, my problem is, if I chose AP/mixed mode/40MHZ, then I use my laptop (with 300M wireless card) to copy some file from my PC (with a wire connected to LAN1 port), the rate is poor, 300-400KB/s only

    If I switch to 802.11G mode, the rate can be 2MB/s, much better

    Did anybody find a solution?
     
  37. John Matthews

    John Matthews Serious Server Member

    I initially had the same poor performance issues with DD-WRT also until I selected the G+N wireless mode. I'm currently using version 18024 of DD-WRT but would rather use Tomato if I can get 802.11n speeds working on the Asus RT-N12 B1. Neither Toastman nor Shibby currently support a "G+N" only wireless mode for the RT-N12 B1. I've been getting much better performance by selecting G only mode when using Shibby or Toastman versions. They appear to use the same Broadcom driver. I'm guessing the N performance issues have something to do with the wireless mode settings.
     
  38. kthaddock

    kthaddock Network Guru Member

    To get N-mode you have to do: wpa2+aes 40 Mhz and turn WMM on
     
  39. ygleung

    ygleung Networkin' Nut Member

    This doesn't work.

    I've consulted the engineer of Asus, he didn't deny, nor admit, just ask me to wait for the next build of firmware, I just guess that they also notice this issue but just can't solve it immediately. Could it be the Broadcom driver issue? I can't imagine why DD/TT/Asus firmware have the same problem except this reason.
     
  40. kthaddock

    kthaddock Network Guru Member

    If you can't get that working then you have to look at your client setup and look if that is capable to connect with mimo 2x2.
    Wifi driver in Toastmans and others build is working in 300Mbps. (Some Intels wifi card have problem with that)


    kthaddock
     
  41. Steven Chou

    Steven Chou Serious Server Member

    I recently bought 2 asus rt-n12b1 routers, which want to replace the old rt-n11(no custom firmware can load) and a wl-500gx(lower speed, now with k26 USB 1.28.9054 lite beta), used to link by AP+WDS way of 2 buldings of 10M length, no problem just slower(use wep-128 bit).but...
    I have tried all Toastman's builds for rt-n12b1, RAF's 079, Shibby's, Oleg's and dd-wrt's builds but all fail to have a stable wireless link at both rt-n12b1 routers, seems not more than 30 minutes, the clint router of rt-n12b1 will become only have tx but no rx flow, set to 20 MHz will last longer than 40 MHz, Shibby's build after setup to be an AP+WDS will brick after reboot, need to be restore firmware, but if I use 1 of rt-n12b1 as a server AP+WDS to link with n-11(hybrid mode) or wl-500gx as clint AP+WDS and they both work fine, except the n12b1 linking each other, so I bought another asus RT-N16 to test with toastman's newest build and got the same thing, now I can only use no encryption to link with rt-n12b1 and RT-N16 by locking the Mac address clients, the benefit is now the speed of linking is up to 300 Mbps, but I still want to have better encryption way to connect each other as an AP+WDS, any advice will be appreciated, thanks.
     
  42. ygleung

    ygleung Networkin' Nut Member

    Hi,

    How to know whether my wireless card support MIMO 2x2?
    As you can see in my previous post, if I flash back to the original firmware (v1.0.1.8), the maximum speed could be 9MB/s (1 on LAN+1 on WLAN), just can't reach this rate on other firmware.
     
  43. Toastman

    Toastman Super Moderator Staff Member Member

    I have just purchased an RT-N12HP version B1 which I've been trying with mine and shibby's builds. It basically works, but the router locks up completely, not even responding to pings, when something is saved to NVRAM. Config can be entered into the tools/system box as nvram --set etc. and saved with nvram commit ok. When saving from the GUI, this lockup seems random. I'm reluctant to open it up to attach serial connection as that will void the warranty.

    Has anyone experienced this and found any cure?

    This router has just been launched in almost every shop here, it has huge 9dBi (claimed) antennas and is made in 2015. It may be a newer model than I've seen here on the forums before.
     
  44. Toastman

    Toastman Super Moderator Staff Member Member

    After exchanging the router for a new one (no change) and numerous re-entries and 3 days, it seems to have started working. I have no real idea why. Not very impressed with these routers so far, I hope time changes my opinion.
     
  45. gonzol

    gonzol New Member Member

    Hi all, I am kinda digging up this thread as I upgraded yesterday an RT-N12B1 to 1.35 (used tomato-K26-1.28.RT-N5x-MIPSR2-135-Max) and I noticed that support for the WPS button (i.e. toggle wireless on/off) was dropped.
    Am I missing a step here? I tried the 30/30/30 reset and also the thorough clear NVRAM.
    Does anyone recall/have the latest fw where this is supported?
     
  46. Monk E. Boy

    Monk E. Boy Network Guru Member

    I don't recall the WPS button ever working on an RT-N12B1/D1. Some models don't have button support, which is why if you browse into administration -> buttons it should say "not supported" or something similar. My last B1 was eaten by my local power monopoly, so its been replaced with a D1 (so I can't look at a B1 to check), but I recall it working the same.
     

Share This Page