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

RouterTech Firmware for ADSL2MUE

Discussion in 'Other Linksys Equipment' started by mstombs, Jan 11, 2007.

  1. mstombs

    mstombs Network Guru Member

    Like many others I have searched for 3rd party firmware for the ADSL2MUE - and I have finally found some that works

    My ADSL2MUE came with firmware 4.12 UK which I saved a copy using mrgamer's instructions here:-

    http://www.linksysinfo.org/forums/showthread.php?t=47660

    using putty ssh connection on port 23

    Code:
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2007.01.10 21:00:26 =~=~=~=~=~=~=~=~=~=~=~=
    root
    root@192.168.1.1's password: 
    DSL Modem CLI
    Copyright (c) 2004 Texas Instruments, Inc.
    cli> shell
    
    
    Starting /bin/sh
    
    Type exit to return to the CLI
    
    
    
    BusyBox v0.61.pre (2004.10.19-18:15+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    # cat proc/ticfg/env
    bootloaderVersion	1.2.0.4
    ProductID	AR7RD
    HWRevision	Unknown
    SerialNumber	none
    MEMSZ	0x01000000
    FLASHSZ	0x00400000
    CPUFREQ	150000000
    SYSFREQ	125000000
    PROMPT	(psbl)
    IPA	192.168.1.1
    MODETTY0	38400,n,8,1,hw
    MODETTY1	38400,n,8,1,hw
    MAC_PORT	0
    mtd0	0x900a0000,0x90400000
    mtd1	0x90020000,0x900a0000
    mtd2	0x90000000,0x90010000
    mtd3	0x90010000,0x90020000
    autoload	1
    BOOTCFG	m:f:"mtd1"
    USB_VID	0x0451
    USB_PID	0x6060
    HWA_RNDIS	00:E0:A6:xxx
    HWA_HRNDIS	00:E0:A6:xxx
    usb_vid	0x13b1
    usb_pid	0x000f
    usb_prod	Linksys RNDIS Network Adapter
    connection0	0
    HWA_0	00:12:17:xxx
    # dd if=/dev/mtdblock/0 of=/var/filesystem.img
    6912+0 records in
    6912+0 records out
    # dd if=/dev/mtdblock/1 of=/var/kernel.img
    1024+0 records in
    1024+0 records out
    # /usr/sbin/thttpd -g -d /var -u root -p 88
    # 
    I then upgraded to 4.22 UK from here

    http://www.linksysinfo.org/forums/showthread.php?t=45550

    and also saved a copy of the flash

    Code:
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2007.01.10 21:35:40 =~=~=~=~=~=~=~=~=~=~=~=
    login as: root
    root@192.168.1.1's password: 
    
    
    BusyBox v0.61.pre (2005.08.08-08:27+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    # help
    
    Built-in commands:
    -------------------
    	. : bg break builtin cd chdir continue eval exec exit export
    	false fc fg hash help jobs kill local pwd read readonly return
    	set setvar shift times trap true type ulimit umask unset wait
    
    
    # cat proc/ticfg/env
    bootloaderVersion	1.2.0.4
    ProductID	AR7RD
    HWRevision	Unknown
    SerialNumber	none
    MEMSZ	0x01000000
    FLASHSZ	0x00400000
    CPUFREQ	150000000
    SYSFREQ	125000000
    PROMPT	(psbl)
    IPA	192.168.1.1
    MODETTY0	38400,n,8,1,hw
    MODETTY1	38400,n,8,1,hw
    MAC_PORT	0
    mtd0	0x900a0000,0x90400000
    mtd1	0x90020000,0x900a0000
    mtd2	0x90000000,0x90010000
    mtd3	0x90010000,0x90020000
    autoload	1
    BOOTCFG	m:f:"mtd1"
    USB_VID	0x0451
    USB_PID	0x6060
    HWA_RNDIS	00:E0:A6:xxx
    HWA_HRNDIS	00:E0:A6:xxx
    usb_vid	0x13b1
    usb_pid	0x000f
    usb_prod	Linksys RNDIS Network Adapter
    connection0	0
    HWA_0	00:12:17:xxx
    mtd4	0x90020000,0x90400000
    vcc_encaps0	0.0
    vcc_encaps1	0.0
    vcc_encaps2	0.0
    vcc_encaps3	0.0
    vcc_encaps4	0.0
    vcc_encaps5	0.0
    vcc_encaps6	0.0
    vcc_encaps7	0.0
    modulation	MMODE
    # # dd if=/dev/mtdblock/0 of=/var/filesystem.img
    # dd if=/dev/mtdblock/0 of=/var/filesystem.img
    6912+0 records in
    6912+0 records out
    # dd if=/dev/mtdblock/1 of=/var/kernel.img
    1024+0 records in
    1024+0 records out
    # /usr/sbin/thttpd -g -d /var -u root -p 88
    But this still doesn't enable extra menus to configure the firewall etc so rather than going for the unknown Australian source 2.17 firmware I have loaded the Routertech v2.1 firmware from here

    http://www.routertech.org/viewtopic.php?t=761

    As posted over there it doesn't hold an ADSL2+ connection but seems fine (with a red power light) on ADSL2 connection speed. so I now have another router with 3rd party firmware I can play with

    Code:
    =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2007.01.11 00:17:53 =~=~=~=~=~=~=~=~=~=~=~=
    root
    Password: 
    
    *********************************************************
    *   ROUTERTECH AR7RD ADSL ROUTER (LAN, 1-PORT, USB)     *
    *********************************************************
    
    
    BusyBox v0.61.pre (2006.10.29-18:09+0000) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    cd /usr/local/bin
    
    /usr/local/bin # ls
    [1;32mautoexec.sh[0m              [1;36mgzip[0m                     [1;32mshow_nat_settings.sh[0m
    [1;36mbunzip2[0m                  [1;36mklogd[0m                    [1;32mshowdns.sh[0m
    [1;32mbusy_1[0m                   [1;32mlistconnections.sh[0m       [1;32mshowip.sh[0m
    [1;36mbzcat[0m                    [1;36mlogger[0m                   [1;32mshowlog.sh[0m
    [1;32mchecksync.sh[0m             [1;36mlogread[0m                  [1;36msyslogd[0m
    [1;32mchksync.sh[0m               [1;32mmemchk.sh[0m                [1;36mtar[0m
    [1;36mcpio[0m                     [1;32mmemopt.sh[0m                [1;32mtest_webui.sh[0m
    [1;32mcron_la.sh[0m               [1;32mmsmtp[0m                    [1;36mtop[0m
    [1;36mcrond[0m                    [1;32mmsmtp.sh[0m                 [1;36muncompress[0m
    [1;36mcrontab[0m                  [1;32mnat_fix.sh[0m               [1;36munzip[0m
    [1;32mdiagnostics[0m              [1;32mroutertech_usercmd_prog[0m  [1;32musb_disable.sh[0m
    [1;32mdiagnostics.sh[0m           [1;32mrt_inits.sh[0m              [1;32musb_enable.sh[0m
    [1;32mftp[0m                      [1;32msave-reboot.sh[0m           [1;32musb_start.sh[0m
    [1;36mftpget[0m                   [1;32msaveall.sh[0m               [1;32musb_stop.sh[0m
    [1;36mftpput[0m                   [1;32msft[0m                      [1;36mzcat[0m
    [1;36mgunzip[0m                   [1;32mshow_la.sh[0m
    /usr/local/bin # diagnostics.sh
    <b><u><font color="blue">ROUTERTECH SYSTEM DIAGNOSTICS</font></b></u>
    
    <b><font color="red">Operating system version</font></b>
    Linux version 2.4.17_mvl21-malta-mips_fp_le (root@localhost.localdomain) () #1 Sun Oct 29 18:07:31 GMT 2006
    
    <b><font color="red">Firmware version information</font></b>
    BUILD=RouterTech-3.6.0D-20061029.2.1
    VERSION=3.6.0D-RouterTech-1P-PSBL
    BOARD=AR7RD
    FSSTAMP=20061029181004
    
    <b><font color="red">Wireless version information</font></b>
    cat: /proc/wlan/production/version: No such file or directory
    
    
    <b><font color="red">PSP version information</font></b>
    
    Linux OS DSL-PSPOhioL version 4.5.0.5 Best and Final on BasePSP Version 5.7.6.12  Oct 29 2006 18:08:39 
    Avalanche SOC Version: 0x250005 operating in cached, write back, write allocate mode
    Cpu Frequency:150 MHZ
    System Bus frequency: 125 MHZ
    
    
    <b><font color="red">Driver version information</font></b>
    Texas Instruments CPMAC driver version: 1.5
    Texas Instruments CPMAC HAL version: CPMAC 01.07.08 Oct 29 2006 18:07:44
    ATM Driver version:[6.00.01.00]
    DSL HAL version: [6.00.01.00]
    DSP Datapump version: [6.00.04.00] Annex A
    SAR HAL version: [01.07.2b]
    PDSP Firmware version:[0.54]
    Chipset ID: [7300/7300A]
    
    TI Linux LED Driver Version 0.1
    
    <b><font color="red">System environment</font></b>
    bootloaderVersion       1.2.0.4
    ProductID       AR7RD
    HWRevision      Unknown
    SerialNumber    none
    MEMSZ   0x01000000
    FLASHSZ 0x00400000
    CPUFREQ 150000000
    SYSFREQ 125000000
    PROMPT  (psbl)
    IPA     192.168.1.1
    MODETTY0        38400,n,8,1,hw
    MODETTY1        38400,n,8,1,hw
    MAC_PORT        0
    mtd2    0x90000000,0x90010000
    mtd3    0x90010000,0x90020000
    autoload        1
    BOOTCFG m:f:"mtd1"
    USB_VID 0x0451
    USB_PID 0x6060
    HWA_RNDIS       00:E0:A6:xxx
    HWA_HRNDIS      00:E0:A6:xxx
    usb_vid 0x13b1
    usb_pid 0x000f
    usb_prod        Linksys RNDIS Network Adapter
    connection0     0
    HWA_0   00:12:17:xxx
    mtd4    0x90020000,0x90400000
    vcc_encaps0     0.0
    vcc_encaps1     0.0
    vcc_encaps2     0.0
    vcc_encaps3     0.0
    vcc_encaps4     0.0
    vcc_encaps5     0.0
    vcc_encaps6     0.0
    vcc_encaps7     0.0
    mtd1    0x90020090,0x90097000
    mtd0    0x90097000,0x90400000
    modulation      0x3
    
    <b><font color="red">CPU information</font></b>
    processor               : 0
    cpu model               : MIPS 4KEc V4.8
    BogoMIPS                : 149.91
    wait instruction        : no
    microsecond timers      : yes
    extra interrupt vector  : yes
    hardware watchpoint     : yes
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    <b><font color="red">Memory information</font></b>
            total:    used:    free:  shared: buffers:  cached:
    Mem:  14725120 10448896  4276224        0  1179648  4202496
    Swap:        0        0        0
    MemTotal:        14380 kB
    MemFree:          4176 kB
    MemShared:           0 kB
    Buffers:          1152 kB
    Cached:           4104 kB
    SwapCached:          0 kB
    Active:           1940 kB
    Inactive:         4892 kB
    HighTotal:           0 kB
    HighFree:            0 kB
    LowTotal:        14380 kB
    LowFree:          4176 kB
    SwapTotal:           0 kB
    SwapFree:            0 kB
    
    <b><font color="red">Mount points</font></b>
    /dev/mtdblock/0 / squashfs ro 0 0
    none /dev devfs rw 0 0
    proc /proc proc rw 0 0
    ramfs /var ramfs rw 0 0
    
    <b><font color="red">Filesystems</font></b>
    nodev   rootfs
    nodev   bdev
    nodev   proc
    nodev   sockfs
    nodev   tmpfs
    nodev   shm
    nodev   pipefs
    nodev   ramfs
    nodev   devfs
            squashfs
    
    <b><font color="red">MTD</font></b>
    dev:    size   erasesize  name
    mtd0: 00369000 00010000 "mtd0"
    mtd1: 00076f70 00010000 "mtd1"
    mtd2: 00010000 00002000 "mtd2"
    mtd3: 00010000 00010000 "mtd3"
    mtd4: 003e0000 00010000 "mtd4"
    
    <b><font color="red">Kernel modules</font></b>
    tiatm                 133376   1
    avalanche_usb          63296   1
    
    <b><font color="red">Interrupts</font></b>
      7:   124469   R4000 timer/counter [MIPS interrupt]
      8:        0   unified secondary [hw0 (Avalanche Primary)]
     15:      102   serial [hw0 (Avalanche Primary)]
     23:     6173 + SAR  [hw0 (Avalanche Primary)]
     27:     7293 + Cpmac Driver [hw0 (Avalanche Primary)]
     32:        2 + USB [hw0 (Avalanche Primary)]
     47:      168 + DSL  [hw0 (Avalanche Primary)]
    
    <b><font color="red">Devices</font></b>
    Character devices:
      1 mem
      2 pty/m%d
      3 pty/s%d
      4 tts/%d
      5 cua/%d
     10 misc
    108 ppp
    128 ptm
    136 pts/%d
    162 raw
    
    Block devices:
     31 mtdblock
    
    <b><font color="red">Processes</font></b>
      PID  Uid     VmSize Stat Command
        1 root       1352 S    init 
        2 root            S    [keventd]
        3 root            S    [ksoftirqd_CPU0]
        4 root            S    [kswapd]
        5 root            S    [bdflush]
        6 root            S    [kupdated]
        7 root            S    [mtdblockd]
       37 root       2116 S    /usr/bin/cm_pc 
       39 root       1180 S    /usr/sbin/thttpd -d /usr/www -u root -p 80 -c /cgi-b
       46 root       3448 S    /usr/bin/cm_logic -m /dev/ticfg -c /etc/config.xml 
       62 root       1544 S    crond -b 
       74 root        640 S    /sbin/dproxy -c /etc/resolv.conf -d 
       88 root       1352 S    init 
      226 root       2348 S    /usr/sbin/pppd plugin pppoa 0.38 user xxx@talktalk.net
      232 root        920 S    /sbin/msntp -r 2 -t 5 -p 30 -s time-a.nist.gov time-
      233 root        684 S    /usr/sbin/udhcpd /var/tmp/udhcpd.conf 
      246 root        628 S    /sbin/utelnetd 
      247 root       1364 S    -sh 
      251 root       1364 S    /bin/sh /usr/local/bin/diagnostics.sh 
      300 root       1352 R    /bin/ps aux 
    
    <b><font color="red">ADSL Modem information</font></b>
    
    AR7 DSL Modem Statistics:
    --------------------------------
    [DSL Modem Stats]
            US Connection Rate:     448     DS Connection Rate:     7968
            DS Line Attenuation:    19      DS Margin:              12
            US Line Attenuation:    10      US Margin:              26
            US Payload :            1392000 DS Payload:             2946480
            US Superframe Cnt :     65310   DS Superframe Cnt:      65310
            US Transmit Power :     12      DS Transmit Power:      19
            LOS errors:             0       SEF errors:             0
            Frame mode:             3       Max Frame mode:         0
            Trained Path:           1       US Peak Cell Rate:      1056
            Trained Mode:           3       Selected Mode:          3
            ATUC Vendor Code:       4946544E        ATUC Revision:  1
            Hybrid Selected:        1       Trellis:                1
            Showtime Count:         3       DS Max Attainable Bit Rate: 7968 kbps
            BitSwap:                1       US Max Attainable Bit Rate:     n/a
            Annex:                  AnxA    psd_mask_qualifier: 0x0000
            ATUC ghsVid:  b5 00 49 46 54 4e 71 17
            T1413Vid: 00 00         T1413Rev: 00            VendorRev: 00
            ATUR ghsVid:  b5 00 54 53 54 43 00 00
            T1413Vid: 00 00 T1413Rev: 00    VendorRev: 00
    
            [Upstream (TX) Interleave path]
            CRC:    2       FEC:    0       NCD:    0
            LCD:    0       HEC:    0
    
            [Downstream (RX) Interleave path]
            CRC:    0       FEC:    31      NCD:    0
            LCD:    0       HEC:    0
    
            [Upstream (TX) Fast path]
            CRC:    0       FEC:    0       NCD:    1
            LCD:    0       HEC:    0
    
            [Downstream (RX) Fast path]
            CRC:    0       FEC:    0       NCD:    0
            LCD:    0       HEC:    0
    
    [ATM Stats]
            [Upstream/TX]
            Good Cell Cnt:  29000
            Idle Cell Cnt:  1144115
    
    
            [Downstream/RX)]
            Good Cell Cnt:  61385
            Idle Cell Cnt:  20802997
            Bad Hec Cell Cnt:       8
            Overflow Dropped Cell Cnt:      0
    
    [SAR AAL5 Stats]
            Tx PDU's:       2938
            Rx PDU's:       3170
            Tx Total Bytes: 1278800
            Rx Total Bytes: 2829032
            Tx Total Error Counts:  0
            Rx Total Error Counts:  51
    
    
    [OAM Stats]
            Near End F5 Loop Back Count:    0
            Near End F4 Loop Back Count:    0
            Far End F5 Loop Back Count:     0
            Far End F4 Loop Back Count:     0
            SAR OAM Ping Response Drop Count=15
    
    <b><font color="red">Network statistics</font></b>
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State      
    tcp        0      0 *:www                   *:*                     LISTEN      
    tcp        0      0 *:telnet                *:*                     LISTEN      
    tcp        0   1369 192.168.1.1:telnet      192.168.1.3:3760        ESTABLISHED 
    udp        0      0 *:domain                *:*                                 
    udp        0      0 *:bootps                *:*                                 
    Active UNIX domain sockets (servers and established)
    Proto RefCnt Flags       Type       State         I-Node Path
    unix  6      [ ]         DGRAM                    142    /dev/log
    unix  2      [ ]         DGRAM                    144    /dev/klog
    unix  2      [ ]         DGRAM                    113    /var/tmp/cm_pc.ctl
    unix  2      [ ]         DGRAM                    124    /var/tmp/cm_logic.ctl
    unix  2      [ ]         DGRAM                    862    
    unix  2      [ ]         DGRAM                    590    
    unix  2      [ ]         DGRAM                    367    
    unix  2      [ ]         DGRAM                    364    
    unix  2      [ ]         DGRAM                    133    
    unix  2      [ ]         STREAM                   89     
    unix  2      [ ]         DGRAM                    88     
    
    /usr/local/bin # cat autoexec.sh
    #!/bin/sh 
    
    # -----------------------------------------------
    # Auto execute script for the RouterTech firmwares (c) 2006, RouterTech.Org
    # Purpose: to allow certain commands to be scheduled each time the router boots up
    # Author: TheChief
    # Usage: for autoexection, write the command to /proc/ticfg/env
    # e.g,
    #  echo "autoexec.sh cd /var && wget http://blah.com/foo.sh && chmod a+x ./foo.sh && ./foo.sh" > /proc/ticfg/env
    #
    # Last amended: 7 October 2006
    #
    # -----------------------------------------------
    
    # did we get any parameter? if not, then exit
    if test "$1" = ""; then
    exit 1
    fi
    
    # make sure we have a WAN connection before starting
    x=0
    while [ $x -le 17 ]
    do
      x=`expr $x + 1`
      if ping -c 1 google.com > /dev/null; then
            $@
            exit 0
      fi
      sleep 10
    done
    /usr/local/bin # 
     
  2. mstombs

    mstombs Network Guru Member

    Here's a couple of screen caps for this firmware
     

    Attached Files:

  3. mstombs

    mstombs Network Guru Member

    I can now confirm that the ADSL2MUE does hold an ADSL2+ connection IF I replace the the Linksys supplied 5V 1A adaptor with a cheap 1.2A multi-voltage adaptor I had lying around.

    Code:
    Modem Status
    	
    Connection Status 	  	Connected
    Ds Rate (Kbps) 	  	8123
    Us Rate (Kbps) 	  	444
    DS Margin 	  	1
    US Margin 	  	0
    DS Line Attenuation 	  	19
    US Line Attenuation 	  	9
    Trained Modulation 	  	ADSL_2plus
    LOS Errors 	  	0
    Peak Cell Rate 	  	1047 cells per sec
    CRC Rx Fast 	  	0
    CRC Tx Fast 	  	0
    CRC Rx Interleaved 	  	11091
    CRC Tx Interleaved 	  	0
    Path Mode 	  	Interleaved[/quote]
    
    I am not too sure about the margin figures, but the connection has now been up for 2 hours continuously so I don't believe the connection can be that marginal (using the 'free' 8Mbps talktalk LLU over ~2km).
    
    Update: - I didn't like the DS margin and the slowly increasing Rx CRC errors so I have now swapped the PSU to the lightweight 5V 2.0A unit that is supplied with the Linksys NSLU2 and after another 40 mins the stats are
    
    [code]
    Modem Status
    	
    Connection Status 	  	Connected
    Ds Rate (Kbps) 	  	8123
    Us Rate (Kbps) 	  	444
    DS Margin 	  	15
    US Margin 	  	0
    DS Line Attenuation 	  	19
    US Line Attenuation 	  	9
    Trained Modulation 	  	ADSL_2plus
    LOS Errors 	  	0
    Peak Cell Rate 	  	1047 cells per sec
    CRC Rx Fast 	  	0
    CRC Tx Fast 	  	0
    CRC Rx Interleaved 	  	12
    CRC Tx Interleaved 	  	0
    Path Mode 	  	Interleaved
    and DSL stats after completing a 150Mb NERO uTorrent download.

    Code:
    Transmit
    	
    Tx PDUs 		113797
    Tx Total Bytes 	60696592
    Tx Total Error Counts 	0
    Receive
    	
    Rx PDUs 		168349
    Rx Total Bytes 	124154719
    Rx Total Error Counts 	1
     
  4. vibe666

    vibe666 Network Guru Member

    thanks for the info, I've been doing the same as you I think, looking for a better firmware for the MUE, and thanks to your post I found the routertech firmware, so thanks for the heads up. :)

    I haven't actually plucked up the courage to flash it yet, I wanted to get a couple of other things sorted first, but I'm well on my way to getting all my questions answered.

    I have it bridged to a WRT54GS with thibor15c on it and WDS between that and another identical config + an extra GSv5 with DD-WRT micro (i was given it for free:)).

    my main problem was the MUE locking up after a week or two of heavy (heavy for a 3mbps/384kbps ADSL connection), lots of P2P etc.

    The main router and 2 slaves are always still accessible, so I figure it has to be the modem. to get everything back up and running I have to power cycle it and then manually re-connect from the main router again, although normally i just power cycle both from the mains socket they both share.

    I was wondering if maybe the problem might be to do with the PSU for the MUE being weak as you described in your posts.

    the difficulty in testing is that because it's bridged, I can't normally access it directly (or can i?) without manually connecting via ethernet with a static ip etc. and even if I could it can take a couple of weeks or more before it actually craps out on me.

    any ideas?

    my plan was, with the routertech firmware, that I would be able to set it to reboot itself on a weekly basis, or at the very least tell the main GS to send it a reboot command (if there is one). it looks like it will be possible anyway, so fingers crossed, I'm all set. :)
     
  5. mstombs

    mstombs Network Guru Member

    I think I have replied to you elsewhere... but to complete the story in this thread.

    If you look at my ADSL stats further up the connection is marginal the upstream margin is 0 (NB this info not available on Linksys firmware web interface, you can get through Telnet/ssh however). In this state the power supply made all the difference, the connection subsequently failed completely (ISP exchange fault). With a repaired connection the original PSU does work - but I have now given up with ADSL2+ and force ADSL2 GmT mode (NB you cannot do this in Linksys firmware) because this is rock solid. The upstream margin can vary from 25 to 0 from day to day, this is not an ADSL2MUE fault I have another ISP supplied modem which does the same.
     

Share This Page