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

Tomato (Shibby) on Asus RT-N10P

Discussion in 'Tomato Firmware' started by ilovejedd, Sep 26, 2013.

  1. ilovejedd

    ilovejedd Addicted to LI Member

    The Asus RT-N10P arrived at the office like 30 minutes before I had to leave. Fortunately, that was enough time to install Tomato. First I installed tomato-K26-1.28.RT-N5x-MIPSR2-112-Mini via Asus Firmware Restore. That worked and after clearing nvram and confirming flash is 8MB, I installed tomato-K26-1.28.RT-N5x-MIPSR2-112-Max via webgui. The ports (including WAN) were inverted but otherwise, the device appears to be working pretty well. I haven't tried connecting it to the internet yet but I do plan to do a quick check.

    I'll post cpuinfo and attach the nvram dump tomorrow. Are there other information and tests required to add this router to the official supported list? At $25-30, this is likely one of the cheapest routers that supports Tomato. The RT-N12 N300 router is probably worth the extra $10-15 (and if that had been in stock at Amazon, that's what I would have gotten). However, I reckon the RT-N10P will likely be good enough for folks who only have a few low load clients in a small area.
     
  2. shibby20

    shibby20 Network Guru Member

    good job.
     
  3. ilovejedd

    ilovejedd Addicted to LI Member

    As promised:

    Asus RT-N10P cpuinfo
    Code:
    system type             : Broadcom BCM53572 chip rev 1 pkg 11
    processor               : 0
    cpu model               : MIPS 74K V4.9
    BogoMIPS                : 149.91
    cpu MHz                 : 300
    wait instruction        : no
    microsecond timers      : yes
    tlb_entries             : 32
    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  : 0

    On a different note, I also installed 1.28 MIPSR2 112 K26USB RT-N53 build on a newly purchased RT-N53 (H/W Ver: A1) from Amazon but the router doesn't appear to be getting recognized properly. The LAN ports don't work and it seems the reset button acts as switch to enable/disable the wireless radio. Right now, I can only access the N53 via wireless. On the status page, it shows that I have a cable connected but the PC can't talk to the router via ethernet port. Even the Asus Firmware Restoration utility can't find the router. On the upside, tested 5GHz with my iPhone and that appears to work.

    Asus RT-N53 cpuinfo
    Code:
    system type             : Broadcom BCM5357 chip rev 2 pkg 8
    processor               : 0
    cpu model               : MIPS 74K V4.9
    BogoMIPS                : 249.85
    cpu MHz                 : 500
    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  : 4
     

    Attached Files:

  4. tvlz

    tvlz Addicted to LI Member

    I can work on this if shibby would rather do something else, I have some free time
     
  5. ilovejedd

    ilovejedd Addicted to LI Member

    Was researching the problem with the RT-N53 and noticed a poster on dd-wrt forums asking for cfe.bin to fix router identification, port assignments and stuff so I'm attaching mine for RT-N10P and RT-N53 here. Thanks!
     

    Attached Files:

  6. tvlz

    tvlz Addicted to LI Member

    The RT-N53 looks to be a different version than the one currently supported, can you confirm?
     
  7. tvlz

    tvlz Addicted to LI Member

    Try these builds, don't forget to erase nvram after flashing

    removed
     
    Last edited: Oct 7, 2013
  8. ilovejedd

    ilovejedd Addicted to LI Member

    Just installed on my N10P. Router is recognized now but there are still a couple of issues.

    1.) Button for hard reset does not erase nvram. However, it does work for going to recovery mode.

    2.) Ethernet ports are still reversed.
    WAN - LAN4
    LAN1 - LAN3
    LAN2 - LAN2
    LAN3 - LAN1
    LAN4 - WAN

    I tried the list of nvram set commands you gave me for the N53 but they didn't really do anything. The router actually recognizes there's a device connected to a port (same behavior as fresh Shibby install), I just can't ping the router from the wired computer or anything. Even Asus Firmware Restoration utility doesn't work on the N53 with Tomato. Thankfully, I was able to flash stock firmware via webgui.

    Right now, I'm thinking I might be better off returning the N53 to Amazon for refund before I brick it. I'll just spend extra and get one of the following:
    RT-N66U
    RT-AC66U
    RT-AC56U
    RT-AC68U
     
  9. ilovejedd

    ilovejedd Addicted to LI Member

    N12 D1 came in stock on Newegg so picked one up. Flashed Tomato and everything seems to be working well on the N12.

    Checked nvram dump and noticed the vlan port assignments on the N12 (vlan0ports=3 2 1 0 5* and vlan1ports=4 5). I think these would probably work with the N10P, too. Tried changing the values with nvram set and nvram commit but for some reason, they reset to vlan0ports=1 2 3 4 5* and vlan1ports=0 5 after reboot.

    Thanks for all the help getting this to work!
     
  10. tvlz

    tvlz Addicted to LI Member

    Normal for Asus - Reset Button = Recovery & WPS Button = Nvram Reset
    If looking at Ethernet Port States you need to configure -> invert port order
    check vlan page - ports are set correctly according to CFE.

    Any lights on RT-N10P?
    Gave you the wrong ones:oops:
    The RT-N53 A1 Build has the right ones, did you try it & remember to reset nvram
    Don't give up yet :( - Asus very hard to brick

    If you have extra $$ you can send some my way;)
     
  11. ilovejedd

    ilovejedd Addicted to LI Member

    Didn't know that. Thanks!

    I've tried enabling invert ports already and it doesn't really work. What happens if I do that is:
    Code:
    WAN -> LAN1
    LAN1 -> LAN2
    LAN2 -> LAN3
    LAN3 -> LAN4
    LAN4 -> WAN
    I checked the cfe.bin for both the RT-N10P and RT-N12 D1. They both have:
    Code:
    vlan0ports=1 2 3 4 5*
    vlan1ports=0 5
    However, on nvram of the RT-N12 D1 running Tomato Shibby 112 (working properly after enabling invert ports):
    Code:
    vlan0ports=3 2 1 0 5*
    vlan1ports=4 5
    Lights appear to be working fine and correspond to actual hardware ports.

    Yep, I always do an nvram reset after every flash. I tried flashing your build yesterday, unfortunately, the Asus Firmware Restoration utility can't find the N53 when it's in recovery mode (even when I set static IP). I think I was able to get the Broadcom CFE Mini web server once but it just timed out while trying to upload Tomato. I've given up on this one so it's going back to Amazon now.

    However, I do think I've figure out why the LAN ports weren't working in Tomato previously.
    Code:
    lan_ifname=br0
    lan_ifnames=vlan0 eth1 eth2 eth3
    landevs=vlan2 wl0 wl1
    vlan1ports=0 5
    vlan2ports=1 2 3 4 5*
    I'm guessing the correct entry should have been lan_ifnames="vlan2 eth1 eth2 eth3"

    Will do after I've paid some bills. ;)
     
  12. tvlz

    tvlz Addicted to LI Member

    RT-N10P:
    Looks like the case labels run opposite what the CFE has, on vlan page is the right vlan listed for wan?
    A picture of vlan page would help.

    RT-N53 A1:
    I know you said you erased the nvram but maybe it didn't take, couldn't find that vlan0 setting in the code for the router.
    If still have router could you try to erase nvram again - hold WPS (30 sec) while plugging in, then wait awhile for it to set the settings before doing anything with it

    Sometime these things don't go right the first time:(
     
  13. ilovejedd

    ilovejedd Addicted to LI Member

    N10P is offline right now. From what I can tell, port assignment for the N10P and N12 B1/C1/D1 are the same so I'd just use the same settings for vlan.*ports, lan_ifnames and wan_ifname as the N12 B1 in init.c.

    You mean in Tomato code? Found this in /releases/src/router/rc/init.c
    Code:
    1115         case MODEL_RTN53:
    1116                 mfr = "Asus";
    1117                 name = "RT-N53";
    1118                 features = SUP_SES | SUP_80211N;
    1119 #if defined(LINUX26) && defined(TCONFIG_USBAP)
    1120                 if (nvram_get_int("usb_storage") == 1) nvram_set("usb_storage", "-1");
    1121 #endif
    1122                 if (!nvram_match("t_fix1", (char *)name)) {
    1123 #ifdef TCONFIG_USBAP
    1124                         nvram_set("lan_ifnames", "vlan2 eth1 eth2");
    1125                         nvram_set("landevs", "vlan2 wl0 wl1");
    1126                         nvram_set("wl1_ifname", "eth2");
    1127 #else
    1128                         nvram_set("lan_ifnames", "vlan2 eth1");
    1129                         nvram_set("landevs", "vlan2 wl0");
    1130 #endif
    1131                         nvram_set("wl_ifname", "eth1");
    1132                         nvram_set("wl0_ifname", "eth1");
    1133                         nvram_set("wan_ifnameX", "vlan1");
    1134                         nvram_set("wandevs", "vlan1");
    1135                         nvram_unset("vlan0ports");
    1136                 }
    1137                 break;
    Since the build I used (Shibby 112) doesn't recognize my RT-N53 (new boardrev=0x1446, supported boardrev=0x1442), guessing this is why the landevs aren't getting the correct settings. My guess, only the board revision number has changed and all the settings for the 0x1442 N53 should still work.
     
    koitsu likes this.
  14. tvlz

    tvlz Addicted to LI Member

    RT-N10P:
    I adjusted the advanced-vlan page for the correct order, case labels run opposite what the CFE has

    RT-N53 A1:
    That is the code I HAVE always been using just modified with correct boardrev, it should work, as you can see there is no lan_ifnames=vlan0 in the code(nvram setting you posted in post #11). That's why I was asking if you erased the nvram.

    New builds:
    removed
     
    Last edited: Oct 7, 2013
  15. ilovejedd

    ilovejedd Addicted to LI Member

    Again, I cannot flash your RT-N53 A1 build as recovery mode on my RT-N53 doesn't want to work anymore. Even if I set my PC to use a static IP addess, I can't access 192.168.1.1 when the router is in recovery mode. I've tried resetting nvram multiple times now but I think somehow, it's not fully clearing it or something.

    The lan_ifnames=vlan0 was taken from an old nvram dump with Shibby 112 installed so I'm guessing that's something of a default setting if the router isn't recognized. Assuming you just added the boardrev so it gets recognized as N53, I'm guessing your build will probably work. Unfortunately, I have no way of testing your build because as I mentioned, recovery mode is borked on my N53 and I just want to return it to Amazon before I end up bricking the darned thing.
     
  16. tvlz

    tvlz Addicted to LI Member

    Ok now I understand, flashed shibby 112 router ports stopped working, thought it was my build:oops:
    YES, this should get them working again
    Code:
    nvram set lan_ifnames="vlan2 eth1 eth2"
    nvram commit
    then you can flash my build from the Tomato Upgrade Page
    Should be recognized as N53 A1
     
  17. ilovejedd

    ilovejedd Addicted to LI Member

    Sorry, can't. It's on stock firmware now, recovery mode doesn't work and I can't flash any non-Asus firmware. It's already with UPS now.

    I'm pretty sure your modifications will work on RT-N53 models with the same board revision as mine. Unfortunately, I have no way to confirm if it's working. I found some refurb Linksys E2500 for $36 on Amazon which is almost $20 cheaper than the RT-N53 so I think that's what I'll get instead.
     
  18. ilovejedd

    ilovejedd Addicted to LI Member

    I just installed this and VLAN is still reversed. I've reset nvram multiple times and it still shows:
    Code:
    vlan0ports=1 2 3 4 5*
    vlan1ports=0 5
    Correct one is supposed to be (I think):
    Code:
    vlan0ports=3 2 1 0 5*
    vlan1ports=4 5
     
  19. tvlz

    tvlz Addicted to LI Member

    Well we tried, thought the flash to stock firmware would fix it.
    I'll check the Asus source code to confirm, it seems the CFE says one thing Asus code says another.
     
  20. ilovejedd

    ilovejedd Addicted to LI Member

    That seems likely. I've noticed this appears to be the case with the RT-N12 D1. Heck, I believe the same might be the true with the new RT-N53 board revision.
     
  21. tvlz

    tvlz Addicted to LI Member

    It's true with many of the Asus routers. These I built "The Asus Way":D & added in some leds

    Asus RT-N10P
    Asus RT-N53 A1 (boardrev 0x1446)
     
  22. ilovejedd

    ilovejedd Addicted to LI Member

    Finally got around to installing the new build on the RT-N10P. On this version, the ethernet ports are now in proper order (after enabling Invert Ports). Currently using your build with adblock on jffs and it appears to be working quite well.

    One quirk I've noticed on the builds you've given me: vlan ports reset to default settings after a router reboot.

    If I manually do for example:
    nvram set vlan0ports="0 1 2 3 5*"
    sleep 30
    nvram commit
    sleep 30
    reboot

    After reboot, vlan0ports go back to whatever it originally was ("1 2 3 4 5*" on builds 12.2-4, "3 2 1 0 5*" on build 12.5). Tried it via both Tools/System and SSH and whichever way I do it, the values reset to default. Tried the same thing on Shibby's builds and it works just fine.

    Again, thank you so much for all the help!
     
  23. nmalinoski

    nmalinoski Serious Server Member

    Does Shibby have a build for the N10P yet? His router list says N10P is supported under the K26RT-N branch, but when I check the appropriate download directory (115), I only see builds labeled "N5x".
     
  24. rlrlrlrl

    rlrlrlrl Reformed Router Member

    do you guys use the asus restoration utility for a different router or is it a universal utility? just got mine yesterday, but the asus download only has the discovery utility and there's no CD included. thank you.
     
  25. nmalinoski

    nmalinoski Serious Server Member

    In the Downloads section under Utilities, there should be a download specifically labeled "Firmware Restoration"; grab that.
     
  26. rlrlrlrl

    rlrlrlrl Reformed Router Member

    thanks for the reply, but over on the asus site for the rt-n10p ( http://support.asus.com/download.aspx?SLanguage=en&m=RT-N10P ), i only see this:

    5 files found


    [​IMG] Firmware (3)
    [​IMG] Utilities (1)
    [​IMG] Manual (1)

    and expanding utilities only shows "ASUS Device Discovery version 1.4.6.5". is there a different downloads link? thanks
     
  27. nmalinoski

    nmalinoski Serious Server Member

    Oh, sorry; I wasn't looking at the N10P downloads. You can grab the Firmware Restoration utility under the downloads for the N66U.
     
  28. rlrlrlrl

    rlrlrlrl Reformed Router Member

    got it. thanks!
     
  29. gfunkdave

    gfunkdave LI Guru Member

    I'm thinking of getting one of these for my mother in law. Will Toastman firmware work on the rt-n10p or just Shibby?
     
  30. shibby20

    shibby20 Network Guru Member

    No. Just my.
     
  31. bakageta

    bakageta Serious Server Member

    These N5x builds work just fine, I'm using tomato-K26-1.28.RT-N5x-MIPSR2-115-MiniIPv6 with no problems.
     
  32. nmalinoski

    nmalinoski Serious Server Member

    Thanks for the confirmation; I went ahead and tried a few of those non-USB builds with success a few days ago. I did have some trouble getting the first N10P flashed: I apparently had a standalone copy of the firmware restoration tool that was either out of date or broken, but after I installed the version that came on the CD with my N66U (I think the one I linked above), it flashed immediately.
     
  33. rabbit_ears

    rabbit_ears Reformed Router Member

    Just flashed RT-N53 A1 with Shibby's 115 USB N53 image yesterday after a long day of trying (Asus restoring utility doesn't recognize the device in restore mode; BCM CFE mini browser worked after a couple of attempts to counter the timeout.). This is first time I looked at Tomato and am impressed by the rich functionality. I need some help with the wireless performance though: the 2.4GHz only gets 1-2 Mbps and 5GHz is decent at ~30Mbps (the latest stock firmware can do ~55Mbps, but, tends to lock up after 4-5 days of use). Did I miss something? Also, somehow the same web admin password can't get in on "telnet" nor "ssh" here.
     
  34. gfunkdave

    gfunkdave LI Guru Member

    Hi there - you probably want to have a mod move this to its own thread. Not sure about your speed issues. The ssh/telnet username is root not admin.
     
  35. rabbit_ears

    rabbit_ears Reformed Router Member

    Thx for the info! Will post as a new thread about the performance issue.
     

Share This Page