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

How to Install-Setup Transmission on ASUS RT-N16

Discussion in 'Tomato Firmware' started by Lost_Animal, Jan 30, 2010.

  1. Lost_Animal

    Lost_Animal Addicted to LI Member

    GUIDE:How to Install-Setup Transmission and Full Optware on ASUS RT-N16

    FINAL COUNTDOWN for the First FULL OPTWARE PACKAGE for Tomato Firmware.... Update 03/03/10

    ARE YOU READY for the First Full Optware PACKAGE on Tomato ?
    Just Follow.....

    --------------------------------------------------------------------------------------------------------------

    UPDATE..... 15/02/10

    Its a waste of time to fix all those Scripts because many of references on Scripts inside the Package are for DD-Wrt Firmwares and have some serius problems with tomato.:redface:

    The MAJOR problem for me is TIME.....
    I dont have many free time to make those massive corrections.:frown:

    Its more easy to me to Create a New full Optware Pack For tomato than fix DD-WRT scripts.

    So,
    Use ONLY Transmission Guide for this Time and wait for a New Tomato Full Optware Package...

    BTW... if You Want to Include any Service or APP in the Final Script pls Let me Know...


    Lost_Animal....
    ==============================================


    LAST MAJOR UPDATE.... 06 feb
    Corrupted Zip on Rapidshare Fixed....
    Just go to the END of this Post
    ==============================================

    I had a litle time to Write this simple Guide regarding the installation & Setup the transmission on my Tomato ASUS RT-N16..... :biggrin:

    First of all, SRY for my bad ENGLISH..

    OK, Lets Start.

    We will use the GUIDE posted on DD-WRT forum .... http://www.dd-wrt.com/wiki/index.php/Transmission_daemon
    Just Download and install Putty from Here...

    1) Format an USB disk with one partition (ext3).
    2) Open Putty or telnet using 192.168.1.* yours router IP, and write the following commands...

    Code:
    cd /mnt
    mkdir /mnt/opt
    mkdir -p /mnt/data/torrents              # -p to make both directories at the same time
    
    wget http://www.3iii.dk/linux/optware/optware-install-ddwrt.sh -O /tmp/optware-install.sh
    sh /tmp/optware-install.sh
    
    /opt/bin/ipkg-opt -verbose_wget install transmission
    
    /opt/bin/transmission-daemon -g /mnt/data/torrents/.config/transmission-daemon
    killall transmission-daemon
    
    wget http://www.3iii.dk/linux/optware/settings.json -O /mnt/data/torrents/.config/transmission-daemon/settings.json 
    
    /opt/bin/transmission-daemon -g /mnt/data/torrents/.config/transmission-daemon
    Now Transmision is Running and u can Try to access it using http://192.168.1.1:9091 link.

    If all is OK then we continue at the Second Part of Setup.

    Now we want to make sure that Transmittion will be running back to normal even we RESET or Router.
    To do this we must follow the next Procedure....

    1) Go to USB and NAS -> USB Support Page on your Router, and unmark Automount and Press SAVE, see below....

    usb.jpg

    2) Now we need to write a start-up script.
    Go to Administration -> Scripts -> Init page on your router, and write as below...

    Code:
    sleep 10 && mount -o noatime  /dev/sda1  /mnt
    sleep 3 && mount /mnt/opt /opt
    /opt/bin/transmission-daemon -g /mnt/data/torrents/.config/transmission-daemon
    Init.jpg

    Press SAVE

    3) Now Go to Administration -> Scripts -> Shutdown page on your router, and write as below....

    Code:
    killall transmission-daemon
    sleep 5 && umount /dev/sda1
    Shutdown.jpg


    Press SAVE

    With Init script we ensure that Transmission will start normally again after a RESET or Power Loss of your Router....
    With Shutdown script we ensure that Transmission will stop on the right way and unmount normally USB before Router will reset, and avoid any folder corruption...

    Ok we done our JOB and now we can ENJOY our Downloader.
    But if we want to Access Torrent folder from SAMBA, then we must make a new File Sharing at USB and NAS -> File Sharing Page on your Router...
    Just do it as Shown at the Picture below.....

    share.jpg

    Press SAVE and see if Folder appears on your Network folder on Windows....

    Network.jpg

    Reboot your Router to See if Working ok.

    Now you are ready to Full ENJOY your New APP(optware)...... :biggrin:


    BTW Here is Transmission at ACTION.......

    [​IMG]

    Dont forget to SAVE Configuration, to Save your work in a case u have to do a Factory Defaults in a future...

    Lost_Animal....

    BTW i am noob at Linux so dont Shoot me.....

    If you have some Questions please Post them,
    I'll be happy to help u if i can,,,,,:boxing2:

    Thanks again.

    UPDATE.....

    Next step is to Use a USB on first USB Port as Optware & Swap Disk (2 Partitions), an USB HDD on Second USB port as Download Folder / JFFS disk (2 Partitions) to have "unlimited Space" for Optware,
    And My Last STEP is to Include a new Page Shortcut on Tomato WEB Interface, give us the Power to Install - Remove - Setup - Start/Stop - watch Status of any Optware we want.
    This is a Hardcore Final Step which Need alot of Code, so Be patient and Stay tunned for Future Updates....

    LAST UPDATE..... 06 Feb 2010

    This METHOD is Not WORKING well On TOMATO....
    Use it Just for testing ......

    I made a MOD/Patch for Prep_optware of script Written by frater.

    What included.....
    • Changed nvram target search to script_usbmount & script_usbumount and now can istall on tomato.
    • Auto load optS script for normal startup
    • Removed fixparts script
    • Service Script corrected to free Cache Hits and free mem after Service Unload
    • Few installation Bugs Corrected (but Still on Early Beta status)
    • Automount your optware lebeled disk on /opt

    Installation Procedure...

    1. Format a usb disk/stick as EXT2 and give it the name optware
    2. Download the attached optware.zip **** FIXED****
    3. Extract files and put them on /tmp using PuTTY Console
    4. Execute sh /tmp/tomato_optware
    5. Wait to Finish (take Long Time)
    6. After Finished wait 3 minutes and execute reboot command

    Now, after reboot wait 3 minutes and connect via Putty again.
    You can access services via "sh /opt/usr/sbin/service"

    PS... This is not a Complete GIUDE yet.
    Its on Pre Beta stage, so dont expect much details.... (OMG i hate Writing) :biggrin:

    Now SAMBA WEB is ok....

    [​IMG]

    Some Progress here on TWONKY but still tooo buggy..... :sad:

    [​IMG]

    Lost_Animal....
     
  2. hapahopi

    hapahopi Addicted to LI Member

    With these settings, when you reboot the router, will the settings.json still be preserved?



    ______________________
    Asus Wl-500gPv2 with Tomato 1.25 Thor MOD
    Optware the Right Way installed
     
  3. Lost_Animal

    Lost_Animal Addicted to LI Member

    The settings.json stored on /mnt/data/torrents/.config/transmission-daemon/settings.json which is USB folder and NOT on any tmp folder.
    So Yes, after REBOOT stil file will remain on USB. :wink:
     
  4. gingernut

    gingernut LI Guru Member

    When I reboot all the folders I created for Optware and Transmission get wiped.

    Does anybody know why?
     
  5. Lost_Animal

    Lost_Animal Addicted to LI Member

    DID you set Automound OFF ?
     
  6. gingernut

    gingernut LI Guru Member

    Yes I did.
     
  7. Lost_Animal

    Lost_Animal Addicted to LI Member

    Ok..
    Probably my mistake...
    Try this.

    Set Automount on again....
    SAVE & Reboot

    Now on USB Support -> Attached Devices you will see your USB mount as /tmp/mnt
    Open PUTTY and type
    cd /mnt
    rm -r *

    now your USB must be empty of garbage,,,,,

    After this done correctly just repeat GUIDE step by step but Ignoring Format again, and Test again....
    Inform me is all went ok to Update the GUIDE.

    Thanks
     
  8. gingernut

    gingernut LI Guru Member

    Thank Lost_Animal that solved it. What does that command do?

    One thing you missed out also is

    mount /mnt/opt /opt

    if not you will get a opt is not mounted error.

    Thanks for the guide
     
  9. Lost_Animal

    Lost_Animal Addicted to LI Member

    No Problem my friend,,,, :biggrin:

    Now enjoy your new optware....
     
  10. gingernut

    gingernut LI Guru Member

    One other thing is the settings.json file.

    The original Transmission file has alot more options, could we not just edit that one?
     
  11. Lost_Animal

    Lost_Animal Addicted to LI Member

    You can do what ever u want.
    Just enable /mnt folder from USB File Sharing Page.
    Set READ/WRITE and Not Hiden....
    Then from Network places must be shown and find transmission configuration file and make any change u want....

    Just remember to hide/umount the /mnt folder when u done to protect it from fatal mistakes..... :biggrin:
     
  12. soldier

    soldier Addicted to LI Member

    Thanks a lot Lost Animal for this guide. Everything works fine. I’m expecting more of your guides.

    Question. I have 1Tb HD attached and since, memory is low, even after reset (about 20% free), before was somewhere around 80 to 90%.
     
  13. Lost_Animal

    Lost_Animal Addicted to LI Member

    Its a memory hungry util...... lol
    Btw if you want you can START or STOP manually transmission

    Remove this /opt/bin/transmission-daemon -g /mnt/data/torrents/.config/transmission-daemon from init script and execute it manually from Tools -> System Command Window to start transmission

    AND

    Remove this killall transmission-daemon from shutdown script, and execute it manually from Tools -> System Command Window to stop transmission.

    Now you can have your RAM back....:biggrin:

    An other NOT recomended solution is to create and mount a swap partition to increase the total Memory.
    But Since USB stick has Very Low SPEED (Its Not Like RAM), this will maybe Harm your overall router speed....

    Here is my new MEM stats after swap mounted.....

    Clip_16.jpg

    Clip_15.jpg

    Wish i had this SPACE in RAM..... :biggrin:
     
  14. teddy_bear

    teddy_bear Network Guru Member

    Lost_Animal,

    Thanks a lot for taking time to post this write-up - it for sure will be a huge help for many :) ! By the way, this guide is valid for any other router running USB-enabled Tomato, not just RT-N16. The only difference is that for other routers with 16 or 32 MB of RAM, it is recommended to setup a swap partition. And of course the other routers a less powerful, so you have to be more careful about restricting your torrents within the reasonable limits.

    I'd like to make a few comments, since there are some features in the USB mod that are not documented, and not well known.

    1. Format your partition as ext3 if you're using a hard drive, or ext2 if it's a flash drive. It may prolong the life of your flash drive since ext2 doesn't maintain a journal (i.e. less writes), and ext2 may be a little faster.

    2. Instead of turning auto-mount off and manually mounting your Optware partition to /mnt (those effectively preventing the auto-mount to work properly even if it's turned on), you can use the following method:
    - Give your Optware partition a label, for example "optware" (you can do this when formatting a partition using mke2fs with -L option). You can then mount this partition using a label which will not change instead of using "/dev/sdxX" name that can change if you add/remove more USB drives.
    - Keep auto-mount on, and run the following commands:
    Code:
    echo "LABEL=optware  /opt  ext2  rw,noatime,nodev 0  1" > /etc/fstab
    nvram setfile2nvram /etc/fstab
    nvram commit
    
    (replace ext2 by ext3 if you formatted your partition as ext3).
    Also, replace the "mkdir -p /mnt/data/torrents" command in the instructions by "mkdir -p /opt/data/torrents".
    After this setup you won't need to add any of the mounting commands to your Init or WanUp scripts - the Optware partition will be mounted automatically on /opt, and auto-mount will continue to work for other drives when you plug/unplug them.

    3. To automatically start Transmission (and other Optware applications if you install them), create a script called "optware.autorun" (the name can vary - but it has to end with ".autorun") in the root of your Optware partition, and add commands there to start Transmission and other daemons. You can do it by running the following commands:
    Code:
    echo "#!/bin/sh" > /opt/optware.autorun
    echo "sleep 5 # just in case" >> /opt/optware.autorun
    echo "# Starting Transmission" >> /opt/optware.autorun
    echo "/opt/bin/transmission-daemon -g /opt/data/torrents/.config/transmission-daemon" >> /opt/optware.autorun
    echo "# Add other Optware applications here" >> /opt/optware.autorun
    echo "" >> /opt/optware.autorun
    chmod +x /opt/optware.autorun
    
    4. You don't need to unmount your optware partition in your Shutdown script - just make sure you stop transmission (and other software if you started it):
    Code:
    killall transmission-daemon
    sleep 5
    - the partition will be unmounted by the firmware automatically. By the way, to make things cleaner, you can create a script /opt/etc/config/optware.shut, and add the transmission stop command there. This script will also be executed on shutdown if it's present. But this is a subject of a separate write-up - what scripts are executed by the firmware and when...

    Hopefully I didn't make it too confusing - I'm not really good at describing something that is obvious to me (but of course not to others, since you have to know it first before it becomes obvious :wink:).
     
  15. Lost_Animal

    Lost_Animal Addicted to LI Member

    TB thank you very much for your comments and for your RATING.... :biggrin:

    I am totally NOOB at Linux because i start reading it 2 days ago since i installed Tomato and DD-WRT on my Router.

    I understand your point of changes must done to complete a fine tunning for better speed and reability.
    I will test and MERGE all of your code in a NEW UPDATE.
    I believe that your MODED Firmware is the BEST of the Best out there and the QOS is almost PERFECT.

    I use SWAP Partition on SECOND USB STICK seperated from optware to help TOTAL RAM and not botleneck the throughput of Download/Uploads of Transmission hosted on the other USB Port.

    In a few days i will have an External DISK (NAS) hosted on through LAN connection at CIFS2, and Downloads will goes There.....

    Thanks again for your Help.

    Lost_Animal (AKA Dimitris):bow:

    PS.....

    I think its time also to implement a Rapidshare/Megaupload Download Manager too..... lol
     
  16. hapahopi

    hapahopi Addicted to LI Member

    A little bit off topic here, but I was running this, http://www.dd-wrt.com/wiki/index.php/Optware,_the_Right_Way, in dd-wrt which I find very straightforward for a linux noob like me. When I want to run transmission I just typed in 'service transmission start' and transmission daemon will run. I shifted to tomato but the service command didn't work. I had to type in 'sh /opt/etc/init.d/S90transmission' to get transmission running. Any thoughts on this?

    ___________________________________
    Asus Wl-500gpv2 with Tomato Thor USB Mod
    Optware the Right Way running
     
  17. Lost_Animal

    Lost_Animal Addicted to LI Member

    Ok,
    I did some tests.
    Tomato Nvram dont have any rc_startup & rc_shutdown Variables.
    So the Script dont continue and tell you that you dont have DD-WRT compatible Firmware.
    I set the following
    Code:
    nvram set rc_startup="#"
    nvram set rc_shutdown="#"
    and was able to full install Optware Package from Optware the Right Way at DD-WRT Wiki Guide Here.....

    Now i have all optware on my stick and is able to manually start them but yet Service start/stop not working as viewed at GIUDE.

    Probably Nvram is differ from Tomato firmware and i will search a way to FIX it...
    Now its time to get some sleep..... :biggrin:

    The installation script is here....

    Code:
    #!/bin/sh
    # Script for installing optware on a Western Digital Worldbook (White light Edition)
    # Written by frater
    #
    export PATH=/opt/bin:/opt/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin
    SCRIPTVER="Sun Jan 17 20:27:15 CET 2010"
    os_date="`nvram get os_date`"
    os_year=`echo $os_date | awk '{print $3}'`
    os_month=`echo $os_date | awk '{print $1}'`
    os_day=`echo $os_date | awk '{print $2}'`
    
    KERNEL=`/bin/uname -r`
    k26=0
    /bin/uname -r | grep -q "^2\.6\." && k26=1
    
    OLD_RC=1
    [ $os_year -gt 2009 ] && OLD_RC=0
    [ $os_year -eq 2009 ] && [ "$os_month" == "Dec" ] && OLD_RC=0
    
    REBOOT_CORRECT=0
    [ $os_year -gt 2009 ] && REBOOT_CORRECT=1
    [ $os_year -eq 2009 ] && [ "$os_month" == "Dec" ] &&  [ $day -gt 2 ] && [ $day -lt 10 ]  && REBOOT_CORRECT=1
    
    
    echo -e "$0\nWritten on: ${SCRIPTVER}"
    echo -e "If you're giving feedback, please post the version as well\n\n"
    
    if ! cat /proc/cpuinfo | grep -q Broadcom ; then
      echo "This is not a Broadcom device"
      exit 1
    fi
    
    if [ ! "$USER" = root ]; then
      echo -e "You're not root, you're ${USER}..\nI will not have enough permissions to do the things I want to do.\nExiting..."
      exit 1
    fi
    
    cd /tmp
    
    if ! /bin/mount 2>/dev/null | grep -q " on /opt " ; then
      echo -e "You need to mount /opt\nExiting..."
      exit 1
    fi
    
    echo -e "\n\nThis will take a while!\nIf you need to do some shopping....   do it now!  ;-)\n"
    sleep 1
    
    mkdir -p /opt/etc/init.d 2>/dev/null
    if [ ! -d /opt/etc/init.d ] ; then
      echo -e "I'm unable to create the directory /opt/etc/init.d  Check your config"
      exit 1
    fi
    ipkg-opt print_installation_architecture >/dev/null 2>&1
    if [ ${?} -eq 0 ]  ; then
      echo -e "You already installed optware, good show!\nI will execute an update"
      ipkg-opt update
    else
      echo -e "Optware is not installed... Let's install it\n"
      wget http://wd.mirmana.com/optware-install-ddwrt.sh  -O - | tr -d '\r' > /tmp/optware-install.sh
      # wget http://www.3iii.dk/linux/optware/optware-install-ddwrt.sh  -O - | tr -d '\r' > /tmp/optware-install.sh
      # wget http://www.wlan-sat.com/boleo/optware/optware-install-ddwrt.sh  -O - | tr -d '\r' > /tmp/optware-install.sh
      sh /tmp/optware-install.sh
      ipkg-opt update
      if [ $? -ne 0 ] ; then
        echo "Optware installation was not successfull...  exit!"
        exit 1
      fi
    fi
    
    rc_startup=`nvram get rc_startup`
    if [ ! $? -eq 0 ] ; then
      echo "Error getting startup value...  is this really DD-WRT?"
      exit 1
    fi
    
    if [ $OLD_RC -ne 0 ] ; then
    
      echo -en "nvram set rc_startup=\"" >/tmp/chng_startup
      echo -n "${rc_startup}" |  sed -e 's/[$`"\]/\\&/g'  >> /tmp/chng_startup
      if ! grep -q "/init.d/optS" /tmp/chng_startup ; then
        echo -e "\nn=1\nwhile [ ! -d /opt/etc/init.d ] ; do\n  sleep 3\n  [ \\\$n -gt 30 ] && break\n  let n+=1\ndone\n/opt/etc/init.d/optS\n\"" >>/tmp/chng_startup
        chmod +x /tmp/chng_startup
        /tmp/chng_startup
        nvram commit
      fi
      rm /tmp/chng_startup
    
      rc_shutdown=`nvram get rc_shutdown`
      if ! nvram get rc_shutdown | grep -q "/init.d/optK" ; then
        echo -en "nvram set rc_shutdown=\"" >/tmp/chng_shutdown
        echo -e "/opt/etc/init.d/optK\n" >>/tmp/chng_shutdown
        echo -n "${rc_shutdown}" | sed -e 's/[$`"\]/\\&/g'  >>/tmp/chng_shutdown
        echo -en "\""  >>/tmp/chng_shutdown
        chmod +x /tmp/chng_shutdown
        /tmp/chng_shutdown
        rm /tmp/chng_shutdown
        nvram commit
      fi
    fi
    
    
    mkdir -p /opt/etc/init.d 2>/dev/null
    mkdir -p /opt/usr/sbin 2>/dev/null
    
    if [ ! -d /opt/etc/init.d ] ; then
      echo "I was unable to create the directory /opt/etc/init.d, check if it is writable"
      exit 1
    fi
    
    cd /opt/etc/init.d
    
    isVIRGIN=1
    [ -f /opt/etc/init.d/S35automount ] && isVIRGIN=0
    
    S45DISABLED=1
    [ -f /opt/etc/init.d/S45pixelserv ] && grep -q "DISABLED=0" /opt/etc/init.d/S45pixelserv && S45DISABLED=0
    
    secIP=
    terIP=
    if [ -f /opt/etc/init.d/S80vlighttpd ] ; then
      secIP=`grep "^secIP=[0-9]" /opt/etc/init.d/S80vlighttpd | awk -F= '{print $2}'`
      terIP=`grep "^terIP=[0-9]" /opt/etc/init.d/S80vlighttpd | awk -F= '{print $2}'`
    fi
    
    
    wget -qO optK             http://wd.mirmana.com/optK
    wget -qO optS             http://wd.mirmana.com/optS
    wget -qO S00optware       http://wd.mirmana.com/S00optware
    # wget -qO S01modutils      http://wd.mirmana.com/S01modutils
    wget -qO S01bashAsShell   http://wd.mirmana.com/S01bashAsShell
    wget -qO S05chngProfile   http://wd.mirmana.com/S05chngProfile
    wget -qO S10swap          http://wd.mirmana.com/S10swap
    wget -qO S20wwwdata       http://wd.mirmana.com/S20wwwdata
    [ $k26 == 0 ] && wget -qO S30usbmount      http://wd.mirmana.com/S30usbmount
    wget -qO S35automount     http://wd.mirmana.com/S35automount
    wget -qO S95watchprinter  http://wd.mirmana.com/S95watchprinter
    wget -qO K99optware       http://wd.mirmana.com/K99optware
    
    if [ $REBOOT_CORRECT -ne 0 ] ; then
      wget -qO S08reboot          http://wd.mirmana.com/S08reboot
    fi
    # kill the temporary fix for reboot if DD-WRT supports it natively
    if grep -q "opt/etc" /etc/profile ; then
      rm -f /opt/etc/init.d/S08reboot 2>/dev/null
    fi
    
    if [ $isVIRGIN = 1 ] ; then
      wget -qO S60transmission_init  http://wd.mirmana.com/S60transmission_init
      chmod +x K* 2>/dev/null
      chmod +x S*
    fi
    chmod +x optS
    chmod +x optK
    
    # Disable usbmount in k26
    [ $k26 == 0 ] || chmod -x S30usbmount 2>/dev/null
    
    wget -qO S80pound              http://wd.mirmana.com/S80pound
    wget -qO S45pixelserv          http://wd.mirmana.com/S45pixelserv
    wget -qO S80vlighttpd          http://wd.mirmana.com/S80vlighttpd
    wget -qO S90asterisk           http://wd.mirmana.com/S90asterisk
    wget -qO S90transmission       http://wd.mirmana.com/S90transmission_as_user
    wget -qO S90nzbget             http://wd.mirmana.com/S90nzbget
    
    if [ $OLD_RC -eq 0 ] ; then
      wget -qO S95asiablock          http://wd.mirmana.com/S95asiablock
    else
      wget -qO S95asiablock          http://wd.mirmana.com/S95asiablock_old
    fi
    
    [ ${S45DISABLED} = 0 ] && sed -i -e "s/^DISABLED=1/DISABLED=0/" /opt/etc/init.d/S45pixelserv
    if [ ! -z "${secIP}" ] ; then
      /opt/bin/sed -i -e "s/^secIP=$/secIP=${secIP}/" /opt/etc/init.d/S80vlighttpd
      /opt/bin/sed -i -e "s/^terIP=$/terIP=${terIP}/" /opt/etc/init.d/S80vlighttpd
    fi
    
    sed -i -e 's/^prefix=\/usr/prefix=\/opt/' /opt/etc/init.d/S90asterisk
    
    mkdir -p /opt/etc/asterisk
    wget -qO /opt/etc/asterisk/asterisk.sh  http://wd.mirmana.com/asterisk.sh
    chmod +x /opt/etc/asterisk/asterisk.sh
    
    # Remove all symbolic links
    rm K90swap 2>/dev/null
    rm K70usbmount 2>/dev/null
    rm K65automount 2>/dev/null
    rm K20samba 2>/dev/null
    rm K20pound 2>/dev/null
    rm K10asterisk 2>/dev/null
    rm K10transmission 2>/dev/null
    rm K10nzbget 2>/dev/null
    rm K05asiablock 2>/dev/null
    
    ln -s S10swap         K90swap 2>/dev/null
    ln -s S30usbmount     K70usbmount 2>/dev/null
    ln -s S35automount    K65automount 2>/dev/null
    ln -s S80samba        K20samba 2>/dev/null
    ln -s S80vlighttpd    K20vlighttpd 2>/dev/null
    ln -s S80lighttpd     K20lighttpd 2>/dev/null
    ln -s S80pound        K20pound 2>/dev/null
    ln -s S90asterisk     K10asterisk 2>/dev/null
    ln -s S90transmission K10transmission 2>/dev/null
    ln -s S90nzbget       K10nzbget 2>/dev/null
    # ln -s S95asiablock    K05asiablock
    
    # The services
    
    ipkg-opt install xinetd
    ipkg-opt install samba2
    [ $? -eq 0 ] && chmod -x /opt/etc/init.d/S10xinetd
    wget -qO /opt/etc/init.d/S80samba         http://wd.mirmana.com/S80samba
    wget -qO /opt/etc/init.d/S10xinetd        http://wd.mirmana.com/S10xinetd
    # widen subnet of swat
    sed -i -e 's/192.168.1.0\/24/192.168.0.0\/16/' /opt/etc/xinetd.d/swat
    wget -qO /opt/etc/xinetd.d/p910nd        http://wd.mirmana.com/xinetd_p910nd
    
    #Only install busybox if it never been installed before
    # as it will replace the proper gnu tools
    # I only want it for its httpd I'm using for the asterisk interface
    [ -e /opt/bin/busybox ] || ipkg-opt install busybox
    ipkg-opt -force-reinstall -force-overwrite install util-linux-ng
    ipkg-opt -force-reinstall -force-overwrite install inetutils
    ipkg-opt install libidn
    ipkg-opt install coreutils
    ipkg-opt install diffutils
    ipkg-opt install findutils
    if [ $k26 = 1 ] ; then
      ipkg-opt remove modutils 2>/dev/null
    else
      ipkg-opt install modutils
    fi
    ipkg-opt install psutils
    ipkg-opt install psmisc
    
    
    ipkg-opt install transmission
    ipkg-opt install pound
    ipkg-opt install asterisk14
    ipkg-opt install bind
    ipkg-opt install lighttpd
    ipkg-opt install openldap-libs  # needed for mod_auth
    ipkg-opt install sqlite         # needed for mod_webdav
    ipkg-opt install zip
    ipkg-opt install php-fcgi
    ipkg-opt install libjpeg
    ipkg-opt install libxslt
    ipkg-opt install libxml2
    ipkg-opt install nzbget
    
    
    # Add NAME=named to the config, so it can be used by the script 'service'
    if [ -f /opt/etc/init.d/S09named ] ; then
      fdate="`date -r /opt/etc/init.d/S09named`"
      if ! grep -q "^NAME=" /opt/etc/init.d/S09named ; then
        sed -i -e 's/\/bin\/sh/\/bin\/sh\nNAME=named/' /opt/etc/init.d/S09named
        touch -d "$fdate" /opt/etc/init.d/S09named
      fi
      chmod -x /opt/etc/init.d/S09named
    fi
    
    [ -f /opt/etc/init.d/S08samba ] && chmod -x /opt/etc/init.d/S08samba
    if [ $isVIRGIN = 1 ] ; then
      chmod +x /opt/etc/init.d/S80samba
      [ -f /opt/etc/samba/smb.conf ] && cp -p /opt/etc/samba/smb.conf /opt/etc/samba/smb.conf.`date +%y-%b.%d...%H.%M -r /opt/etc/samba/smb.conf`
      wget -O /opt/etc/samba/smb.conf http://wd.mirmana.com/smb.conf
    fi
    
    # pixelserv
    # wget -qO /opt/etc/init.d/S95pixelserv    http://wd.mirmana.com/S95pixelserv
    wget -qO /opt/usr/sbin/pixelserv         http://wd.mirmana.com/pixelserv
    chmod +x /opt/usr/sbin/pixelserv
    wget -qO /opt/usr/sbin/pixelserv.pl      http://wd.mirmana.com/pixelserv.pl
    chmod +x /opt/usr/sbin/pixelserv.pl
    
    if [ $isVIRGIN = 1 ] ; then
      mkdir -p /opt/etc/pixelserv
      wget -qO /opt/etc/pixelserv/hosts.include http://wd.mirmana.com/hosts.include
    fi
    
    cd /opt/usr/sbin
    # backupessential
    wget -q http://wd.mirmana.com/backupessential
    wget -q http://wd.mirmana.com/vars_to_include
    wget -q http://wd.mirmana.com/vars_to_skip
    wget -q http://wd.mirmana.com/vars_preferred
    chmod +x /opt/usr/sbin/backupessential
    
    #
    # handy program
    wget -qO /opt/sbin/aggregate           http://wd.mirmana.com/aggregate
    # Some handy scripts
    wget -qO /opt/usr/sbin/watchprinter    http://wd.mirmana.com/watchprinter
    wget -qO /opt/usr/sbin/optlog          http://wd.mirmana.com/optlog
    wget -qO /opt/usr/sbin/service         http://wd.mirmana.com/service
    # modify the header of these 2 perl-scripts
    wget -qO /opt/usr/sbin/imdb            http://wd.mirmana.com/imdb
    wget -qO /opt/usr/sbin/sendEmail       http://wd.mirmana.com/sendEmail
    
    sed -i -e 's/\/usr\/bin\/perl/\/opt\/bin\/perl/' /opt/usr/sbin/imdb
    sed -i -e 's/\/usr\/bin\/perl/\/opt\/bin\/perl/' /opt/usr/sbin/sendEmail
    chmod +x /opt/sbin/aggregate
    chmod +x /opt/usr/sbin/watchprinter
    chmod +x /opt/usr/sbin/optlog
    chmod +x /opt/usr/sbin/service
    chmod +x /opt/usr/sbin/imdb
    chmod +x /opt/usr/sbin/sendEmail
    chmod -x /opt/etc/init.d/S80lighttpd
    
    if [ -e /dev/usb ] ; then
      wget -O /opt/etc/init.d/S95watchprinter http://wd.mirmana.com/S95watchprinter
      ipkg-opt install usbutils
      ipkg-opt install p910nd
      # Disable the p910nd script....
      nvram get usb_printer | grep -q 0 || chmod +x /opt/etc/init.d/S95watchprinter 2>/dev/null
    else
      chmod -x /opt/etc/init.d/S95watchprinter 2>/dev/null
    fi
    chmod -x /opt/etc/init.d/S30usbmount 2>/dev/null
    chmod -x S95p910nd 2>/dev/null
    
    # Supporting scripts for transmission
    wget -qO /opt/usr/sbin/mkdvd          http://wd.mirmana.com/mkdvd
    wget -qO /opt/usr/sbin/mvmovie        http://wd.mirmana.com/mvmovie
    wget -qO /opt/usr/sbin/trans_watchdog http://wd.mirmana.com/trans_watchdog
    
    sed -i -e "s/^# *BASEDIR=\/mnt/BASEDIR=\/mnt/"   /opt/usr/sbin/mkdvd
    sed -i -e "s/^#\!\/bin\/sh/#\!\/opt\/bin\/bash/" /opt/usr/sbin/mkdvd
    sed -i -e "s/^# *BASEDIR=\/mnt/BASEDIR=\/mnt/"   /opt/usr/sbin/mvmovie
    sed -i -e "s/^#\!\/bin\/sh/#\!\/opt\/bin\/bash/" /opt/usr/sbin/mvmovie
    sed -i -e "s/^#\!\/bin\/sh/#\!\/opt\/bin\/bash/" /opt/usr/sbin/trans_watchdog
    
    chmod +x /opt/usr/sbin/mkdvd
    chmod +x /opt/usr/sbin/mvmovie
    chmod +x /opt/usr/sbin/trans_watchdog
    
    echo -e "\nInstalling optware packages... (will take a while)\n"
    
    # You really should have these packages
    
    ipkg-opt install lsof
    ipkg-opt install libcurl
    ipkg-opt install sudo
    ipkg-opt install bash
    ipkg-opt install vim
    ipkg-opt -force-reinstall -force-overwrite install net-tools
    ipkg-opt install grep
    ipkg-opt install procps
    ipkg-opt install sed
    ipkg-opt install wget
    ipkg-opt install unzip
    ipkg-opt install unrar
    ipkg-opt install gawk
    ipkg-opt install tar
    ipkg-opt install gzip
    ipkg-opt install bzip2
    ipkg-opt install openssl
    ipkg-opt install calc
    ipkg-opt install par2cmdline
    
    mkdir -p /opt/share/oversight
    /opt/bin/wget -O /opt/share/oversight/oversight.tgz http://wd.mirmana.com/oversight.tgz
    /opt/bin/tar xvzf /opt/share/oversight/oversight.tgz -C /opt
    
    
    if [ ! -e /opt/etc/nzbget.conf ] ; then
      mkdir -p /mnt/usenet 2>/dev/null
      cp -p /opt/oversight/conf/unpak.cfg.example /opt/oversight/conf/unpak.cfg
      cp /opt/share/doc/nzbget/nzbget.conf.example /opt/etc/nzbget.conf
      sed -i -e 's/\$MAINDIR=.*/\$MAINDIR=\/mnt\/usenet/' /opt/etc/nzbget.conf
      sed -i -e 's/ServerIp=.*/ServerIp=0.0.0.0/' /opt/etc/nzbget.conf
      sed -i -e 's/ParPauseQueue=.*/ParPauseQueue=yes/' /opt/etc/nzbget.conf
      sed -i -e 's/PostPauseQueue=.*/PostPauseQueue=yes/' /opt/etc/nzbget.conf
      sed -i -e 's/AllowReProcess=.*/AllowReProcess=yes/' /opt/etc/nzbget.conf
      sed -i -e 's/PostProcess=.*/PostProcess=\/opt\/oversight\/unpak.sh/' /opt/etc/nzbget.conf
    fi
    
    # This one's for the utility 'host'
    if [ $isVIRGIN = 1 ] ; then
      ipkg-opt install bind
      chmod -x /opt/etc/init.d/S09named
    fi
    
    # These are nice to have, too
    ipkg-opt -force-reinstall -force-overwrite install e2fsprogs
    ipkg-opt install htop
    ipkg-opt install ncdu
    ipkg-opt -force-reinstall install less
    ipkg-opt install whois
    ipkg-opt install tcpdump
    ipkg-opt install netcat
    ipkg-opt install cdrtools
    ipkg-opt install mc
    ipkg-opt install httping
    ipkg-opt install m4
    ipkg-opt install make
    ipkg-opt install vsftpd
    
    grep -q "^secure_chroot_dir" /opt/etc/vsftpd.conf || echo 'secure_chroot_dir=/opt/usr/share/empty' >>/opt/etc/vsftpd.conf
    mkdir -p /opt/share/empty
    xinfile=/opt/etc/xinetd.d/vsftpd
    if [ ! -e $xinfile ] ; then
      mkdir -p /opt/etc/xinetd.d
      echo -e "service ftp\n{" >$xinfile
      echo -e "\tsocket_type\t= stream" >>$xinfile
      echo -e "\twait\t\t= no" >>$xinfile
      echo -e "\tuser\t\t= root" >>$xinfile
      echo -e "#\tonly_from\t= 192.168.0.0/16" >>$xinfile
      echo -e "\tserver\t\t= /opt/sbin/vsftpd" >>$xinfile
      echo -e "\tdisable\t\t= Yes" >>$xinfile
      echo -e "}" >>$xinfile
    fi
    
    
    #if [ ! -e /opt/local/twonkymedia/twonkymedia.sh ] ; then
    
    twonkver=5.0.68
    support=unsupported
    twonkver=5.1.2
    support=downloads
    
    if [ -f /opt/local/twonkymedia/twonky.${twonkver}.zip ] ; then
      echo "Twonky already installed"
    else
      echo "Install Twonky version: $twonkver"
      mkdir -p /opt/local/twonkymedia 2>/dev/null
      if  [ -e /opt/local/twonkymedia ] ; then
        wget -q -O /opt/local/twonkymedia/twonky.${twonkver}.zip http://www.twonkyforum.com/${support}/${twonkver}/twonkymedia-mipsel-uclibc-0.9.28-${twonkver}.zip
        cd /opt/local/twonkymedia
        if [ -f twonky.${twonkver}.zip ] ; then
          unzip -o twonky.${twonkver}.zip
          # chmod +x twonkymedia.sh
          wget -O /opt/etc/init.d/S95twonky http://wd.mirmana.com/S95twonky
          ln -s S95twonky /opt/etc/init.d/K05twonky
          chmod +x /opt/etc/init.d/S95twonky
        fi
      else
        echo "Unable to create /opt/local/twonkymedia"
      fi
    fi
    
    optsize=`df | grep opt | grep -o "[0-9]*%" | tr -cd 0-9`
    if [ -z "${optsize}" ] ; then
      echo "I could not determine the size of /opt"
    else
      if [ ${optsize} -gt 85 ] && [ -z "`which perl`" ] ; then
        echo "You don't have perl, but your /opt is already bigger than 85% (${optsize}%)"
        echo "I will not install perl"
      else
        # colordiff will install perl
        ipkg-opt install ipcalc
        ipkg-opt install colordiff
        ipkg-opt install perl-libwww
      fi
    fi
    
    /opt/bin/ifconfig 2>&1 >/dev/null
    if [ $? -ne 0 ] ; then
      echo "Optware's ifconfig in net-tools is broken. I will remove it so the standard utility will be used!"
      rm -f /opt/bin/ifconfig
    fi
    
    KEEPBASH=1
    if [ $os_year -lt 2009 ] ; then
      KEEPBASH=0
    elif echo $os_date | grep -q "2009" ; then
      echo $os_date | grep -q -e "^Oct" -e "^Nov"  -e "^Dec" || KEEPBASH=0
      if echo $os_date | grep -q -e "^Sep" ; then
        DOM=`echo $os_date | awk '{print $2}'`
        [ $DOM -lt 5 ] && KEEPBASH=0
      fi
    fi
    
    if [ $KEEPBASH -eq 0 ] ; then
      echo -e "\nI disable the shell replacement because your firmware is too old. ${os_date}\n"
      chmod -x /opt/etc/init.d/S01bashAsShell
    fi
    
    if [ $k26 == 1 ] ; then
      wget -O /opt/etc/init.d/S01fixparts http://wd.mirmana.com/S01fixparts
      chmod +x /opt/etc/init.d/S01fixparts
    
      ipkg-opt install ntfs-3g
      ipkg-opt install ntfsprogs
    
      wget -O /opt/lib/modules/$KERNEL/fuse.ko ftp://ftp.dd-wrt.com/others/eko/Public/modules/$KERNEL/fuse.ko
      chmod +x /opt/lib/modules/$KERNEL/fuse.ko
    fi
    
    echo -e "\nOptware and basic packages are installed.\n"
    
    if [ $isVIRGIN = 1 ] ; then
      echo -e "\nI installed bind to get the handy utility 'host', but I don't think you want to run your WDWB as a DNS-server"
      echo -e "\nI will delete the executable flag of /opt/etc/init.d/S09named.\n"
      echo -e "\nJust make it executable again if you DO need it.\n"
      chmod -x /opt/etc/init.d/S09named
    fi
    
    echo -e "Script finished!!\nYou can now fully use optware if you login again...\nI advice a reboot!\n"
    echo -e "Do check if /opt will be mounted otherwise optware will not loaded!"
    If you want to help.... be my guest... :boxing2:
     
  18. teddy_bear

    teddy_bear Network Guru Member

    Tomato already includes the built-in "service" command used to start/stop built-in services. So at least that has to be changed in the script - use another command name like "optware" or "optservice" etc.
    Maybe some other tweaks are also needed, but I have not looked through the script...
     
  19. n3IVI0

    n3IVI0 Addicted to LI Member

    Did you test Twonky to see if it will start, create databases, and can be accessed from the gui? If you guys could get this working, it would be earth-shaking. I use this script on DD-WRT, and it is the only thing tying me to that firmware. Their newest K2.6 builds broke Twonky (and media servers in general), and nobody seems inclined to fix the bug. I was hoping this Tomato build would work as a media server platform, but was unable to get the Optware script to work. Glad somebody with more know-how is working on it! Document your changes so as updates to the script are released, we can mod them and load them under Tomato! Great job!
     
  20. oldkuang

    oldkuang Addicted to LI Member

    Hi Lost_Animal,
    I follow your instruction and set 2 variables and try re-install optware, it looked like went well. But when I tried to run /opt/usr/sbin/service without param, I got

    /opt/usr/sbin/service: line 21: [: Permission denied
    /opt/usr/sbin/service: line 27: [: Permission denied
    /opt/usr/sbin/service: line 49: [: Permission denied
    /opt/usr/sbin/service: line 60: can't open /tmp/services: no such file
    /opt/usr/sbin/service: line 96: [: Permission denied
    /opt/usr/sbin/service: line 96: echo: Permission denied
    /opt/usr/sbin/service: line 97: rm: Permission denied

    Did I miss something?
     
  21. hapahopi

    hapahopi Addicted to LI Member

    try cd /opt/usr/sbin then type sh service
     
  22. n3IVI0

    n3IVI0 Addicted to LI Member

    The great thing about the Optware the right way script is that you just install DD-WRT, activate auto-mount with a mount point of /opt, and then install the script, and there you go: Optware. No fuss, no muss. You have to alter a few scripts, but nothing serious. It makes running your router as an appliance a breeze. If you could alter the script to run in the same way, with an accompanying install tutorial for the newbies, it would be a coup d'etat! Also, teddy_bear, one clear, useful enhancement for the firmware would be allowing the specification of mount points with the automount GUI. It's not hard to do this with a startup script, but it would be easier, and would streamline the installation of the Optware script. Just a thought.... Thanks!
     
  23. n3IVI0

    n3IVI0 Addicted to LI Member

    Got it installed. Everything's working except Twonky. Anybody get this running?
     
  24. Lost_Animal

    Lost_Animal Addicted to LI Member

    OMG,,, alot of code source reading here...:biggrin:
    BUT....
    I am toooo close to make Optware the Right Way off DD-WRT to run Perfect on Tomato Firmware.

    Found some problems on installation scripts to fix, and when end i will upload a new sh Script file for easy installation complete normal and running smooth..:biggrin:

    The bigest problem was that Nvram declarations dont match on DD-WRT vs Tomato.

    Here is what must get on startup to make OPT run Smooth...

    Code:
     n=1 
    while [ ! -d /opt/etc/init.d ] ; do 
      sleep 3 
      [ $n -gt 30 ] && break 
      let n+=1 
    done 
    /opt/etc/init.d/optS 


    rc_startup & rc_shutdown dont exist on Tomato nvram set.
    So this must be redirected on initscript & shutdownScript

    When all done the optS/optK script will run in automode and services will autoloaded / killed on startup / shutdown....:smile:

    TownkyMedia broken by K26 kernel and is on my next todo list..
     
  25. Lost_Animal

    Lost_Animal Addicted to LI Member

    sh /opt/usr/sbin/service

    but without startup script optS, services wont load after reboot and maybe Folders/Configurations will lost.
     
  26. hapahopi

    hapahopi Addicted to LI Member

    one thing i notice when transmission is enabled and started during startup, i have to kill the transmission-daemon and restart it again to get the proper settings.json.
     
  27. teddy_bear

    teddy_bear Network Guru Member

    For this you can use /etc/fstab file, and specify your mountpoints there.
     
  28. n3IVI0

    n3IVI0 Addicted to LI Member

    I tried the commands you detailed earlier in this post:

    It worked great! You're right, this method actually works quite well, so a GUI entry is not needed. Now, what you can be thinking about, if you don't mind me saying, is Samba3. If, at some point, as you're updating the firmware for the next release, you could include Samba3 in place of Samba2, it would be awesome. I have tried both, and Samba3 is definitely faster. I attempted to simply leave Samba disabled in the gui, install Samba3 and run it from a script, but it would not install, so I suspect that the presence of the other is preventing it. Anyway, thanks for the great firmware, and for being so involved on the forum. It's a big help!
     
  29. n3IVI0

    n3IVI0 Addicted to LI Member

    That's great! Thanks for fixing this! I've trying for a month to get the Twonky issue addressed over at DD-WRT, and have been rebuffed again and again, so I finally quit asking. Thanks again!
     
  30. Lost_Animal

    Lost_Animal Addicted to LI Member

    Ok ... Work In Progress....:biggrin:

    What i've DONE....

    - I've moded the prep_optware to make full DD-WRT package to install without problems on Tomato.

    - Merged the Script writed by Teddy Bear for automound your Optware disk as /opt

    - Autostart optware services automatically on nvram->Script_usbmount and mount swap disk

    - AutoKill optware services automatically on nvram->Script_usbumount anf umount swap


    IN PROGRESS........

    - Final corrections for Transmission

    - NEW GUIDE Names OPTWARE the RIGHT WAY on Tomato will posted on new Thread when Ready...


    WHAT will follow............

    - Twonkymedia patch to run smooth on k26 Kernel - Tomato

    - New www java pages for Optware support, with commands like START - STOP - ON - OFF - RESTART and Status Window for each service running.


    This is my Boot log running Optware autoloader.... :biggrin:

    Code:
    Jan  1 02:00:08 asus syslog.info syslogd started: BusyBox v1.14.4
    Jan  1 02:00:09 asus user.notice kernel: klogd started: BusyBox v1.14.4 (2010-01-06 13:23:33 EST)
    Jan  1 02:00:09 asus user.notice kernel: Linux version 2.6.22.19 (root@tomato) (gcc version 4.1.2) #1 Wed Jan 6 13:45:49 EST 2010
    Jan  1 02:00:09 asus user.warn kernel: CPU revision is: 00019740
    Jan  1 02:00:09 asus user.warn kernel: Determined physical RAM map:
    Jan  1 02:00:09 asus user.warn kernel:  memory: 07fff000 @ 00000000 (usable)
    Jan  1 02:00:09 asus user.debug kernel: On node 0 totalpages: 32767
    Jan  1 02:00:09 asus user.debug kernel:   Normal zone: 255 pages used for memmap
    Jan  1 02:00:09 asus user.debug kernel:   Normal zone: 0 pages reserved
    Jan  1 02:00:09 asus user.debug kernel:   Normal zone: 32512 pages, LIFO batch:7
    Jan  1 02:00:09 asus user.warn kernel: Built 1 zonelists.  Total pages: 32512
    Jan  1 02:00:09 asus user.notice kernel: Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
    Jan  1 02:00:09 asus user.warn kernel: Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
    Jan  1 02:00:09 asus user.warn kernel: Primary data cache 32kB, 4-way, linesize 32 bytes.
    Jan  1 02:00:09 asus user.info kernel: Synthesized TLB refill handler (20 instructions).
    Jan  1 02:00:09 asus user.info kernel: Synthesized TLB load handler fastpath (32 instructions).
    Jan  1 02:00:09 asus user.info kernel: Synthesized TLB store handler fastpath (32 instructions).
    Jan  1 02:00:09 asus user.info kernel: Synthesized TLB modify handler fastpath (31 instructions).
    Jan  1 02:00:09 asus user.warn kernel: PID hash table entries: 512 (order: 9, 2048 bytes)
    Jan  1 02:00:09 asus user.warn kernel: CPU: BCM4716 rev 1 at 532 MHz
    Jan  1 02:00:09 asus user.warn kernel: Using 266.000 MHz high precision timer.
    Jan  1 02:00:09 asus user.warn kernel: Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Jan  1 02:00:09 asus user.info init[1]: Loading file FILE:/etc/fstab from nvram
    Jan  1 02:00:09 asus user.info kernel: usbcore: registered new interface driver usbfs
    Jan  1 02:00:09 asus user.info kernel: usbcore: registered new interface driver hub
    Jan  1 02:00:09 asus user.info kernel: usbcore: registered new device driver usb
    Jan  1 02:00:10 asus user.notice kernel: SCSI subsystem initialized
    Jan  1 02:00:10 asus user.info kernel: Initializing USB Mass Storage driver...
    Jan  1 02:00:10 asus user.info kernel: usbcore: registered new interface driver usb-storage
    Jan  1 02:00:10 asus user.info kernel: USB Mass Storage support registered.
    Jan  1 02:00:10 asus user.debug kernel: PCI: Setting latency timer of device 0000:00:04.1 to 64
    Jan  1 02:00:10 asus user.info kernel: ehci_hcd 0000:00:04.1: EHCI Host Controller
    Jan  1 02:00:10 asus user.info kernel: ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
    Jan  1 02:00:10 asus user.info kernel: ehci_hcd 0000:00:04.1: irq 5, io mem 0x18004000
    Jan  1 02:00:10 asus user.info kernel: ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
    Jan  1 02:00:10 asus user.info kernel: usb usb1: configuration #1 chosen from 1 choice
    Jan  1 02:00:10 asus user.info kernel: hub 1-0:1.0: USB hub found
    Jan  1 02:00:10 asus user.info kernel: hub 1-0:1.0: 2 ports detected
    Jan  1 02:00:10 asus user.debug hotplug[384]: Attached USB device 1-0:1.0 [INTERFACE=9/0/0 PRODUCT=0/0/206]
    Jan  1 02:00:10 asus user.debug kernel: ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
    Jan  1 02:00:10 asus user.debug kernel: PCI: Setting latency timer of device 0000:00:04.0 to 64
    Jan  1 02:00:10 asus user.info kernel: ohci_hcd 0000:00:04.0: OHCI Host Controller
    Jan  1 02:00:10 asus user.info kernel: ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2
    Jan  1 02:00:10 asus user.info kernel: ohci_hcd 0000:00:04.0: irq 5, io mem 0x18009000
    Jan  1 02:00:10 asus user.info kernel: usb usb2: configuration #1 chosen from 1 choice
    Jan  1 02:00:10 asus user.info kernel: hub 2-0:1.0: USB hub found
    Jan  1 02:00:10 asus user.info kernel: hub 2-0:1.0: 2 ports detected
    Jan  1 02:00:10 asus user.debug hotplug[397]: Attached USB device 2-0:1.0 [INTERFACE=9/0/0 PRODUCT=0/0/206]
    Jan  1 02:00:11 asus user.info kernel: usb 1-2: new high speed USB device using ehci_hcd and address 2
    Jan  1 02:00:11 asus user.info kernel: usb 1-2: configuration #1 chosen from 1 choice
    Jan  1 02:00:11 asus user.info kernel: scsi0 : SCSI emulation for USB Mass Storage devices
    Jan  1 02:00:11 asus user.debug kernel: usb-storage: device found at 2
    Jan  1 02:00:11 asus user.debug kernel: usb-storage: waiting for device to settle before scanning
    Jan  1 02:00:11 asus user.info kernel: usbcore: registered new interface driver usblp
    Jan  1 02:00:11 asus user.info kernel: usblp: USB Printer Device Class driver
    Jan  1 02:00:11 asus user.debug hotplug[437]: Attached USB device 1-2:1.0 [INTERFACE=8/6/80 PRODUCT=930/6544/100]
    Jan  1 02:00:11 asus user.debug kernel: vlan1: add 01:00:5e:00:00:01 mcast address to master interface
    Jan  1 02:00:11 asus user.info kernel: vlan1: dev_set_promiscuity(master, 1)
    Jan  1 02:00:11 asus user.info kernel: device eth0 entered promiscuous mode
    Jan  1 02:00:11 asus user.info kernel: device vlan1 entered promiscuous mode
    Jan  1 02:00:11 asus user.info kernel: device eth1 entered promiscuous mode
    Jan  1 02:00:11 asus user.info kernel: br0: port 2(eth1) entering learning state
    Jan  1 02:00:11 asus user.info kernel: br0: port 1(vlan1) entering learning state
    Jan  1 02:00:11 asus user.info kernel: br0: topology change detected, propagating
    Jan  1 02:00:11 asus user.info kernel: br0: port 2(eth1) entering forwarding state
    Jan  1 02:00:11 asus user.info kernel: br0: topology change detected, propagating
    Jan  1 02:00:11 asus user.info kernel: br0: port 1(vlan1) entering forwarding state
    Jan  1 02:00:11 asus user.warn kernel: vlan2: Setting MAC address to  e0 cb 4e 24 78 64.
    Jan  1 02:00:11 asus user.debug kernel: vlan2: add 01:00:5e:00:00:01 mcast address to master interface
    Jan  1 02:00:11 asus user.info redial[459]: Started. Time: 30
    Jan  1 02:00:11 asus authpriv.warn dropbear[461]: Failed reading '/etc/dropbear/dropbear_dss_host_key', disabling DSS
    Jan  1 02:00:11 asus daemon.info pppoe[464]: Starting
    Jan  1 02:00:11 asus daemon.info pppoe[464]: Sending PADI.
    Jan  1 02:00:11 asus authpriv.info dropbear[466]: Running in background
    Jan  1 02:00:11 asus daemon.info pppoe[464]: Received PADO.
    Jan  1 02:00:11 asus daemon.info pppoe[464]: Sending PADR.
    Jan  1 02:00:11 asus daemon.info pppoe[464]: Received PADS. SID: 0x2606
    Jan  1 02:00:12 asus daemon.info pppoe[464]: Sending LCP Configuration-Request
    Jan  1 02:00:12 asus daemon.info dnsmasq[479]: started, version 2.51 cachesize 150
    Jan  1 02:00:12 asus daemon.info dnsmasq[479]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
    Jan  1 02:00:12 asus daemon.info dnsmasq-dhcp[479]: DHCP, IP range 192.168.1.2 -- 192.168.1.50, lease time 1d
    Jan  1 02:00:12 asus daemon.warn dnsmasq[479]: failed to access /etc/resolv.dnsmasq: No such file or directory
    Jan  1 02:00:12 asus daemon.info dnsmasq[479]: read /etc/hosts - 2 addresses
    Jan  1 02:00:12 asus daemon.info dnsmasq[479]: read /etc/hosts.dnsmasq - 5 addresses
    Jan  1 02:00:12 asus user.info mount-cifs[480]: notice[cifs]: Mounting...
    Jan  1 02:00:12 asus daemon.info pppoe[464]: Received LCP Configuration-Request
    Jan  1 02:00:12 asus daemon.info pppoe[464]: Sending LCP Configuration-Ack
    Jan  1 02:00:12 asus daemon.info pppoe[464]: Received LCP Configuration-Ack
    Jan  1 02:00:12 asus daemon.info pppoe[464]: Sending PAP Authenticate-Request.
    Jan  1 02:00:12 asus daemon.info pppoe[464]: PAP authentication succeeded.
    Jan  1 02:00:12 asus daemon.info pppoe[464]: Sending IPCP Configuration-Request
    Jan  1 02:00:12 asus daemon.info pppoe[464]: Received IPCP Configuration-Nak
    Jan  1 02:00:12 asus daemon.info pppoe[464]: Sending IPCP Configuration-Request
    Jan  1 02:00:12 asus daemon.info pppoe[464]: Received IPCP Configuration-Ack
    Jan  1 02:00:12 asus daemon.err nmbd[503]: Samba server ASUS is now a domain master browser for workgroup WORKGROUP on subnet UNICAST_SUBNET
    Jan  1 02:00:13 asus user.info kernel: device wds0.1 entered promiscuous mode
    Jan  1 02:00:13 asus user.info kernel: br0: port 3(wds0.1) entering learning state
    Jan  1 02:00:13 asus user.info kernel: br0: topology change detected, propagating
    Jan  1 02:00:13 asus user.info kernel: br0: port 3(wds0.1) entering forwarding state
    Jan  1 02:00:13 asus daemon.info pppoe[464]: Received IPCP Configuration-Request
    Jan  1 02:00:13 asus daemon.info pppoe[464]: Sending IPCP Configuration-Ack
    Jan  1 02:00:13 asus daemon.notice pppoe[464]: Connected.
    Jan  1 02:00:13 asus daemon.notice pppoe[464]: IP Address: 79.107.43.100
    Jan  1 02:00:13 asus daemon.notice pppoe[464]: DNS Address: 62.169.194.48, 62.169.194.47
    Jan  1 02:00:13 asus daemon.info dnsmasq[479]: reading /etc/resolv.dnsmasq
    Jan  1 02:00:13 asus daemon.info dnsmasq[479]: using nameserver 62.169.194.47#53
    Jan  1 02:00:13 asus daemon.info dnsmasq[479]: using nameserver 62.169.194.48#53
    Jan  1 02:00:13 asus user.info init[1]: Tomato 1.27.9042 RTN16-beta02 ND USB Ext
    Jan  1 02:00:13 asus user.info init[1]: Asus RT-N16
    Jan  1 02:00:13 asus daemon.info dnsmasq[479]: exiting on receipt of SIGTERM
    Jan  1 02:00:13 asus daemon.info dnsmasq[522]: started, version 2.51 cachesize 150
    Jan  1 02:00:13 asus daemon.info dnsmasq[522]: compile time options: no-IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
    Jan  1 02:00:13 asus daemon.info dnsmasq-dhcp[522]: DHCP, IP range 192.168.1.2 -- 192.168.1.50, lease time 1d
    Jan  1 02:00:13 asus daemon.info dnsmasq[522]: reading /etc/resolv.dnsmasq
    Jan  1 02:00:13 asus daemon.info dnsmasq[522]: using nameserver 62.169.194.47#53
    Jan  1 02:00:13 asus daemon.info dnsmasq[522]: using nameserver 62.169.194.48#53
    Jan  1 02:00:13 asus daemon.info dnsmasq[522]: read /etc/hosts - 2 addresses
    Jan  1 02:00:13 asus daemon.info dnsmasq[522]: read /etc/hosts.dnsmasq - 5 addresses
    Jan  1 02:00:14 asus user.info rcheck[534]: Time not yet set. Only "all day, everyday" restrictions will be activated.
    Jan  1 02:00:16 asus user.notice kernel: scsi 0:0:0:0: Direct-Access              USB Flash Memory 1.00 PQ: 0 ANSI: 2
    Jan  1 02:00:16 asus user.notice kernel: sd 0:0:0:0: [sda] 7823296 512-byte hardware sectors (4006 MB)
    Jan  1 02:00:16 asus user.notice kernel: sd 0:0:0:0: [sda] Write Protect is off
    Jan  1 02:00:16 asus user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 65 44 09 30
    Jan  1 02:00:16 asus user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
    Jan  1 02:00:16 asus user.notice kernel: sd 0:0:0:0: [sda] 7823296 512-byte hardware sectors (4006 MB)
    Jan  1 02:00:16 asus user.notice kernel: sd 0:0:0:0: [sda] Write Protect is off
    Jan  1 02:00:16 asus user.debug kernel: sd 0:0:0:0: [sda] Mode Sense: 65 44 09 30
    Jan  1 02:00:16 asus user.err kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
    Jan  1 02:00:16 asus user.info kernel:  sda: sda1 sda2
    Jan  1 02:00:16 asus user.notice kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
    Jan  1 02:00:16 asus user.debug kernel: usb-storage: device scan complete
    Jan  1 02:00:16 asus daemon.notice miniupnpd[647]: HTTP listening on port 9485
    Jan  1 02:00:16 asus daemon.notice miniupnpd[647]: Listening for NAT-PMP traffic on port 5351
    Feb  2 20:52:06 asus user.info hotplug[639]: USB ext2 fs at /dev/sda1 mounted on /opt
    Feb  2 20:52:06 asus user.info rcheck[688]: Activating rule 0
    Feb  2 20:52:06 asus user.info kernel: Adding 514072k swap on /dev/sda2.  Priority:-1 extents:1 across:514072k
    Feb  2 20:52:11 asus daemon.err nmbd[503]: Samba server ASUS is now a domain master browser for workgroup WORKGROUP on subnet 192.168.1.1
    Feb  2 20:52:12 asus user.notice optS: Executing /opt/etc/init.d/S00optware start
    Feb  2 20:52:12 asus user.notice optS: Executing /opt/etc/init.d/S01bashAsShell start
    Feb  2 20:52:12 asus user.notice S01bashAsShell: registering bash as shell
    Feb  2 20:52:12 asus user.notice S01bashAsShell: modify /tmp/root/.inputrc
    Feb  2 20:52:12 asus user.notice optS: Executing /opt/etc/init.d/S01fixparts start
    Feb  2 20:52:12 asus user.notice S01fixparts: Creating /dev/sd*
    Feb  2 20:52:12 asus user.notice S01fixparts: Creating /dev/sdb (16)  
    Feb  2 20:52:12 asus user.notice S01fixparts: Creating /dev/sdb1 (17)  
    Feb  2 20:52:12 asus user.notice S01fixparts: Creating /dev/sdb2 (18)  
    Feb  2 20:52:12 asus user.notice S01fixparts: Creating /dev/sdb3 (19)  
    Feb  2 20:52:12 asus user.notice S01fixparts: Creating /dev/sdb4 (20)  
    Feb  2 20:52:12 asus user.notice S01fixparts: Creating /dev/sdb5 (21)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb6 (22)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb7 (23)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb8 (24)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb9 (25)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb10 (26)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb11 (27)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb12 (28)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb13 (29)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb14 (30)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdb15 (31)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc (32)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc1 (33)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc2 (34)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc3 (35)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc4 (36)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc5 (37)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc6 (38)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc7 (39)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc8 (40)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc9 (41)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc10 (42)  
    Feb  2 20:52:13 asus user.notice S01fixparts: Creating /dev/sdc11 (43)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdc12 (44)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdc13 (45)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdc14 (46)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdc15 (47)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd (48)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd1 (49)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd2 (50)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd3 (51)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd4 (52)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd5 (53)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd6 (54)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd7 (55)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd8 (56)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd9 (57)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd10 (58)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd11 (59)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd12 (60)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd13 (61)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd14 (62)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sdd15 (63)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sde (64)  
    Feb  2 20:52:14 asus user.notice S01fixparts: Creating /dev/sde1 (65)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde2 (66)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde3 (67)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde4 (68)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde5 (69)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde6 (70)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde7 (71)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde8 (72)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde9 (73)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde10 (74)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde11 (75)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde12 (76)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde13 (77)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde14 (78)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sde15 (79)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sdf (96)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sdf1 (97)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sdf2 (98)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sdf3 (99)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sdf4 (100)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sdf5 (101)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sdf6 (102)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sdf7 (103)  
    Feb  2 20:52:15 asus user.notice S01fixparts: Creating /dev/sdf8 (104)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdf9 (105)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdf10 (106)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdf11 (107)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdf12 (108)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdf13 (109)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdf14 (110)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdf15 (111)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg (112)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg1 (113)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg2 (114)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg3 (115)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg4 (116)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg5 (117)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg6 (118)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg7 (119)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg8 (120)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg9 (121)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg10 (122)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg11 (123)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg12 (124)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg13 (125)  
    Feb  2 20:52:16 asus user.notice S01fixparts: Creating /dev/sdg14 (126)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdg15 (127)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh (128)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh1 (129)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh2 (130)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh3 (131)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh4 (132)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh5 (133)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh6 (134)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh7 (135)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh8 (136)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh9 (137)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh10 (138)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh11 (139)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh12 (140)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh13 (141)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh14 (142)  
    Feb  2 20:52:17 asus user.notice S01fixparts: Creating /dev/sdh15 (143)  
    Feb  2 20:52:18 asus user.notice optS: Executing /opt/etc/init.d/S05chngProfile start
    Feb  2 20:52:18 asus user.notice S05chngProfile: modify /tmp/root/.profile
    Feb  2 20:52:18 asus user.notice S05chngProfile: modify /tmp/root/.vimrc
    Feb  2 20:52:18 asus user.notice optS: Executing /opt/etc/init.d/S10swap start
    Feb  2 20:52:18 asus user.notice S10swap: Managing swap partitions
    Feb  2 20:52:18 asus user.notice S10swap: swap device /dev/sda2 already allocated (514072 kB)
    Feb  2 20:52:18 asus user.notice optS: Executing /opt/etc/init.d/S10xinetd start
    Feb  2 20:52:18 asus user.notice xinetd: Start xinetd
    Feb  2 20:52:18 asus user.notice optS: Executing /opt/etc/init.d/S20wwwdata start
    Feb  2 20:52:18 asus user.notice optS: Executing /opt/etc/init.d/S35automount start
    Feb  2 20:52:18 asus daemon.debug xinetd[1739]: Reading included configuration file: /opt/etc/xinetd.d/p910nd [file=/opt/etc/xinetd.conf] [line=15]
    Feb  2 20:52:19 asus daemon.debug xinetd[1739]: Reading included configuration file: /opt/etc/xinetd.d/vsftpd [file=/opt/etc/xinetd.d/vsftpd] [line=12]
    Feb  2 20:52:19 asus daemon.debug xinetd[1739]: removing ftp
    Feb  2 20:52:19 asus daemon.err xinetd[1739]: bind failed (Address already in use (errno = 125)). service = laserjet
    Feb  2 20:52:19 asus daemon.err xinetd[1739]: Service laserjet failed to start and is deactivated.
    Feb  2 20:52:19 asus daemon.crit xinetd[1739]: 1739 {init_services} no services. Exiting...
    Feb  2 20:52:19 asus user.notice S35automount: Added /opt/etc/init.d/S35automount as cronjob so I can do a hotmount
    Feb  2 20:52:20 asus user.notice optS: Executing /opt/etc/init.d/S80samba start
    Feb  2 20:52:20 asus user.notice S80samba: WARNING: /opt/etc/samba/smb.conf does not exist
    Feb  2 20:52:20 asus user.notice optS: Executing /opt/etc/init.d/S90transmission start
    Feb  2 20:52:21 asus user.notice S90transmission: Will try to fetch blocklist, ~4MB
    Feb  2 20:52:26 asus daemon.err nmbd[503]: Samba name server ASUS is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.1
    Feb  2 20:52:36 asus user.notice S90transmission: Downloaded blocklist
    Feb  2 20:52:38 asus user.notice S90transmission: Unpacked blocklist
    Feb  2 20:52:38 asus local2.notice sudo:     root : TTY=unknown ; PWD=/tmp ; USER=transmission ; COMMAND=/opt/bin/transmission-daemon -g /home/transmission/.config/transmission-daemon
    Feb  2 20:52:38 asus user.notice optS: Executing /opt/etc/init.d/S95p910nd start
    Feb  2 20:52:38 asus user.notice optS: Executing /opt/etc/init.d/S95twonky start
    Feb  2 20:52:50 asus daemon.info transmission-daemon: Blocklist "level1.bin" updated with 224282 entries (blocklist.c:304)
    Feb  2 20:52:50 asus daemon.info transmission-daemon: Blocklist "level1.bin" contains 224282 entries (blocklist.c:110)
    Feb  2 20:52:50 asus daemon.info transmission-daemon: Transmission 1.80 (9984) started (session.c:647)
    Feb  2 20:52:50 asus daemon.info transmission-daemon: RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:772)
    Feb  2 20:52:50 asus daemon.info transmission-daemon: RPC Server Serving RPC and Web requests on port 9091 (rpc-server.c:945)
    Feb  2 20:52:50 asus daemon.info transmission-daemon: RPC Server Whitelist enabled (rpc-server.c:949)
    Feb  2 20:52:50 asus daemon.info transmission-daemon: DHT Generating new id (tr-dht.c:369)
    Feb  2 20:52:50 asus daemon.info transmission-daemon: Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:67)
    Feb  2 20:52:50 asus daemon.info transmission-daemon: Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:67)
    Feb  2 20:52:50 asus daemon.err transmission-daemon: Couldn't find settings in "/home/transmission/.config/transmission-daemon"; using defaults (daemon.c:388)
    Feb  2 20:52:50 asus daemon.info transmission-daemon: Saved "/home/transmission/.config/transmission-daemon/settings.json" (session.c:467)
    Feb  2 20:52:51 asus cron.err crond[484]: time disparity of 21085612 minutes detected
    Feb  2 20:52:57 asus daemon.info transmission-daemon: Port Forwarding Starting (port-forwarding.c:87)
    Feb  2 20:52:57 asus daemon.info transmission-daemon: Port Forwarding Starting (port-forwarding.c:87)
    Feb  2 20:53:09 asus user.notice S95twonky: Starting twonky
    Feb  2 20:53:09 asus user.notice optS: Executing /opt/etc/init.d/S95watchprinter start
    Feb  2 20:53:09 asus user.notice S95watchprinter: xinetd needs to be running
    Feb  2 20:53:16 asus daemon.info transmission-daemon: DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:234)
    Feb  2 20:54:05 asus user.warn kernel: DROP IN=ppp0 OUT= MAC= SRC=188.123.176.250 DST=79.107.43.100 LEN=48 TOS=0x00 PREC=0x00 TTL=116 ID=16249 DF PROTO=TCP SPT=24315 DPT=445 WINDOW=65535 RES=0x00 SYN URGP=0 OPT (0204057801010402) 
    Feb  2 20:55:19 asus authpriv.info dropbear[2064]: Child connection from 192.168.1.2:49943
    Feb  2 20:55:24 asus authpriv.notice dropbear[2064]: password auth succeeded for 'root' from 192.168.1.2:49943
    Lost_Animal..:flowers:

    Scripts is Autofilled by Moded prep_optware....
    [​IMG]

    PUTTY window in Action......
    [​IMG]
     
  31. teddy_bear

    teddy_bear Network Guru Member

    This script can be safely removed (although there's no harm for it to be there either).

    There's no need to pre-create all /dev/sd* devices with this firmware - they will be created automatically when needed. This script was only needed for dd-wrt because it doesn't create these devices on demand.
     
  32. Lost_Animal

    Lost_Animal Addicted to LI Member

    Thanks TB...
    Will be removed from script... :biggrin:
     
  33. CHRONOMASTER

    CHRONOMASTER Addicted to LI Member

    Here's how to free up the ram when you stop Transmission, if you don't plan on rebooting.
    Otherwise you may end up with only 3MB of ram even after you kill Transmission.

    Code:
    sync; echo 3 > /proc/sys/vm/drop_caches
    or you can combine it

    Code:
    killall transmission-daemon; sync; echo 3 > /proc/sys/vm/drop_caches
     
  34. Lost_Animal

    Lost_Animal Addicted to LI Member

    Thanks,

    I've added allready this on moded Script....:biggrin:
     
  35. soldier

    soldier Addicted to LI Member

    Great job Lost Animal. Thanks a lot for all your hard work with this guide and all the future you will make.
    Edited:
    By the way, can you also implement the CHRONOMASTERs code? I don’t use swap so this would be helpful, I’m also stuck with 2-3Mb of memory.
    You already did it, THANKS.

    Keep up the good work.
     
  36. soldier

    soldier Addicted to LI Member

    One more question. Is it possible to put Hard Disk to standby if there is no activity on it (so it wouldn’t spin 24/7). HDPARM probably wouldn’t work since it’s used on IDE interface. On OpenWRT forum somebody did it. With some modifications in the code but it should work. What do you think?
    Edited:
    Maybe with sg3 scsi tools?
     
  37. CHRONOMASTER

    CHRONOMASTER Addicted to LI Member

    After looking at the ipkg-opt list I found this, though I don't know if it will work or not and if it needs to be configured.

    spindown - 1.0-1 - The spindown program stops spinning a SCSI disk if it is idle for a while.
     
  38. Lost_Animal

    Lost_Animal Addicted to LI Member

    Seems TwonkyMedia has Problems with SQL tables...:confused:

    Code:
    03:24:31:428 createTable(itemTable,"Item") failed
    File: ../../../server/sqlite/item.c
    Function: dbx_item_init
    Line: 153
    03:24:31:429 dbx_item_init() failed
    File: ../../../server/sqlite/adapter.c
    Function: dbx_modules_init
    Line: 231
     
  39. teddy_bear

    teddy_bear Network Guru Member

    There are utilities already built-in (won't work for every drive model - but work for many). Search the main USB mod thread for scsi-start / scsi-stop (start from the links in the 1st post there).
     
  40. teddy_bear

    teddy_bear Network Guru Member

    What is it about TwonkyMedia (which is not even an open source anymore) that everyone wants it?

    Won't uShare work for you guys? uShare is available as Optware package, and installs with no hick-ups. Took me the whole 2 minutes to install and configure it...

    The other open source alternative is MediaTomb - also exists as Optware package.
     
  41. Lost_Animal

    Lost_Animal Addicted to LI Member

    Never used by me , but its very popular....:biggrin:
    Its very buggy on K26 from what i see.

    I have an UPDATE for you all.

    I want to try new optware tomato installation and tell me how it goes.....

    Just Go to the beging of threrad
    Download This .... optware.zip *** FIXED - there was a problem with attachments

    Go to Page #1.... and follow instructions...:wink:
     
  42. soldier

    soldier Addicted to LI Member

    Thanks Lost Animal, will try it.
     
  43. oldkuang

    oldkuang Addicted to LI Member

    I don't know what exactly I did. Define the symbols rc_start or echo to the fstab. Now I got this

    nvram show
    sh: nvram: Permission denied
    sh: sort: Permission
    deniedSegmentation fault

    Do I have to reload firmware to correct this? Thanks a lot for help.
     
  44. Lost_Animal

    Lost_Animal Addicted to LI Member

    rc_startup is an DD-WRT nvram and Not Tomato..
    script_usbmount or script_init is on tomato...
    just do a RESTORE DEFAULT CONFIGURATION and reinstall...
     
  45. Lost_Animal

    Lost_Animal Addicted to LI Member

    Some Progress here on TWONKY but still tooo buggy..... :sad:

    [​IMG]
     
  46. n3IVI0

    n3IVI0 Addicted to LI Member

    Could you post what you did to make Twonky work? Maybe we could give that to the devs over at DD-WRT and get them to fix the bug there also...
     
  47. Lost_Animal

    Lost_Animal Addicted to LI Member

    Nothing works really.
    Only web page loads and thats it.
    Working for 1-2 minutes and then crashes.Its loading 1 at 20+ times of trying and still i'm searching the problem.
    I think its worthless to try more but u never know.

    Ushare is ok but i dont like it.:biggrin:

    BTW i'm trying to find an app that can act like IP-TV Server. My STB box is installed on TV and i want to make him play my streams from PC or Router like a normal IP-TV multicast Channel.... :biggrin:
     
  48. Credo

    Credo Addicted to LI Member

    excellent work
    large set (in Russian)
    it possible to include in your kit:
    WEB rtorrent v.2.8 + plugins (cookies, erasedata, search, trafic, scheduler)
    RRDTool Traffic Graph Page
    System Info
    Midnight Commander v.4.7.0.1
     
  49. soldier

    soldier Addicted to LI Member

    I really don’t know what I am doing wrong. I have done everything fresh on 4Gb USB key. Made swap partition, optware partition with ext2 and share partition with ext3.
    By the way, swap partition doesn’t increase my router memory, is there any script needed.
    OK. I put the tomato_optware and service to /tmp. Then execute sh /tmp/tomato_optware. Gives me the answer mount /opt. WHERE, WHAT.
    I’we done something and the installation procedure began and in the end it says syntax error in line 516 (think so), reboot, waited for 3 minutes, tried to execute sh /opt/usr/sbin/service, nothing. Tried to reach transmission, nothing.
    WHAT am I doing wrong, please somebody explain or the guide isn’t complete.

    Thanks
     
  50. Lost_Animal

    Lost_Animal Addicted to LI Member

    Did you Download the Last FIXED file ?
    Did you named your Optaware Partition as "optware" ?
    Was a wrong with Attacment Files and i uploaded the correct file on RAPIDSHARE....

    - Set automount on...
    - Then on PuTTY write "mount /dev/sda1 /opt" (first partition optware on your USB)
    - write swapon /dev/sda2 (second partition SWAP on your USB)
    - extract optware.zip u download from Rapidshare and copy those 2 files (tomato_optware & service) on /tmp
    - run sh /tmp/tomato_optware and all nust be ok...


    Sry for this mess but i dont know why but Attachment files was a mess.....:sad:
     
  51. soldier

    soldier Addicted to LI Member

    Yes I did, but doesn't work. Realy don't know why.
     
  52. Lost_Animal

    Lost_Animal Addicted to LI Member

    Copy the message u get from PuTYY and post here...
    also type "df -h"
    type "nvram get script_usbmount"
    "nvram get rc_startup" and show it here...
     
  53. soldier

    soldier Addicted to LI Member

    SHARE login: root
    Password:


    Tomato v1.27.9042 RTN16-beta02 ND USB Ext


    BusyBox v1.14.4 (2010-01-06 13:23:33 EST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    root@SHARE:/tmp/home/root# df -h
    Filesystem Size Used Available Use% Mounted on
    /dev/root 4.2M 4.2M 0 100% /
    devfs 62.1M 0 62.1M 0% /dev
    tmpfs 62.1M 240.0K 61.9M 0% /tmp
    /dev/sda2 517.3M 408.0K 490.6M 0% /tmp/mnt/optware
    /dev/sda3 3.0G 4.6M 2.9G 0% /tmp/mnt/share
    root@SHARE:/tmp/home/root# nvram get script_usbmount

    root@SHARE:/tmp/home/root# nvrams get rc_startup
    -sh: nvrams: not found
    root@SHARE:/tmp/home/root#

    This is what I get


    And then this

    SHARE login: root
    Password:


    Tomato v1.27.9042 RTN16-beta02 ND USB Ext


    BusyBox v1.14.4 (2010-01-06 13:23:33 EST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    root@SHARE:/tmp/home/root# sh /tmp/tomato_optware
    [: Jan: bad number
    [: Jan: bad number
    [: Jan: bad number
    [: Jan: bad number
    /tmp/tomato_optware
    Written on: Sun Jan 17 20:27:15 CET 2010
    If you're giving feedback, please post the version as well


    You need to mount /opt
    Exiting...
    root@SHARE:/tmp/home/root#
     
  54. Lost_Animal

    Lost_Animal Addicted to LI Member

    U have wrong dev and partition Sequence......
    Turn Automount OFF
    Reboot your rooter
    I see you have on /dev/sda1 your Swap..... /sda2 your optware.... /sda3 your share

    So after reboot compete do again....

    - on PuTTY write mount /dev/sda2 /opt (Second partition optware on your USB)
    - write swapon /dev/sda1 (First partition SWAP on your USB)
    - extract optware.zip u download from Rapidshare and copy those 2 files (tomato_optware & service) on /tmp
    - run sh /tmp/tomato_optware and all must be ok...

    PS... Please when istall ends..... wait 3 minutes and SET AUTOMOUNT ON again .... then REBOOT
     
  55. Lost_Animal

    Lost_Animal Addicted to LI Member

    Soldier,,,, all ok now ?
     
  56. soldier

    soldier Addicted to LI Member

    OK. Here is the deal.

    About swap.
    It gives the extra memory to the router but after reboot the memory is just 128Mb. Probably I should write a script to Init.

    tomato_optware installs good and at the end it says:
    Optware and basic packages are installed
    /tmp/tomato_optware: line 516: syntax error: unexpected end of file (expecting ‘’fi’’)

    I turned Automount on, waited 3 minutes, reboot, opened putty, and entered sh/opt/usr /sbin /service, can’t find the file.

    Transmission doesn’t work. I will try later on the whole process step by step again (slowly), maybe I have done something wrong.

    About copying tomato_optware and service to /tmp using putty console. Is that any special procedure? I just extracted them with winrar to /tmp.


    Thanks for all your help LA.
     
  57. Lost_Animal

    Lost_Animal Addicted to LI Member

    Then zip is corrupted and tomato_optware is corrupted also....
    I am downloading again from RAPIDSHARE to see WTF is going with ZIP....
    Dont do nothing untill check it.

    UPDATE...

    Yeap.... Zip was corrupted...

    So reloaded and double checked.....Its ok now...
     
  58. soldier

    soldier Addicted to LI Member

    Great news, will try now and report back :wink:
     
  59. Lost_Animal

    Lost_Animal Addicted to LI Member

    Keep the USB with optware even if you see some problems at a safe place and i will post some patches for services to run better when ready.:wink:

    Its still in beta stage, so be patient....
    Im trying to make a final working version. This mean that some services will removed, and some others will added..:biggrin:
     
  60. soldier

    soldier Addicted to LI Member

    Again great job LA but.....

    Everything went well with installation (optware and services). SWAP stays active.
    Transmision doesn’t work on 192.168.1.1:9091 neither Samba on 192.168.1.1:901

    Any idea????
     
  61. Lost_Animal

    Lost_Animal Addicted to LI Member

    Transmission works, SAMBA works, Ushare Works, Twonky is still out, but..........

    The problem is that u have diferent folder enviroment and Mounts from the internall Startup Services.
    Just keep the folders and wait for 1st Patch ,,,,,
    This project will be ready soon,,,,, :biggrin:

    1st step was to complete installation without issues.
    2nd step is to make all folder enviroment compatible with startup services.
    3rd step is The FInal......

    Thanks.....
     
  62. soldier

    soldier Addicted to LI Member

    OK

    So if I had just one partition named optware with ext2 it would work smoothly?
    Really appreciate your hard work and help. THANKS.
     
  63. teddy_bear

    teddy_bear Network Guru Member

    That's why nobody should rely on /sdaX names unless you have one and only one partition on a single attached usb drive...
    If you have multiple drives, multiple partitions on a single drive and/or plan to plug/unplug usb drives, assign a label to each of your partitions, and mount them by label, NOT by /sdaX names:
    mount -o noatime,nodev -t <filesystem> LABEL=<My_Label> <mountpoint>

    So instead of including mount commands using /sdaX names into the scripts, it would be better to modify instructions to require assigning partition labels, and change scripts to use these labels.
     
  64. n3IVI0

    n3IVI0 Addicted to LI Member

    I didn't like uShare either. I find that Mediatomb has the same problem. Something with these media servers doesn't get along with K26. A ticket was submitted at DD-WRT, but has not been acted on. Maybe this will help you:

    Quoted from http://svn.dd-wrt.com:8000/dd-wrt/ticket/1343

    If you do figure this out, please document what you did so I can get the solution over to DD-WRT and get it fixed as well... Thanks, man!
     
  65. teddy_bear

    teddy_bear Network Guru Member

    This particular issue described in the ticket doesn't affect Tomato:
    Code:
    # strace /opt/bin/net-tools-ifconfig
    .....
    ioctl(4, 0x8912, {96, {{"lo", {AF_INET, inet_addr("127.0.0.1")}}, {"vlan2", {AF_INET, inet_addr("NN.NN.NN.NN")}}, {"br0", {AF_INET, inet_addr("192.168.1.1")}}}}) = 0
    .....
    
    So whatever the DD-WRT problem is, it's not the same, and there must be something else that prevents Twonky to work properly.
     
  66. xtacydima

    xtacydima LI Guru Member

    Transmission is what I have been waiting for, finally a way to run torrents at home while at work...hehehe

    Just one thing, how can we protect our downloads in this manner (ie: blocklists), is there anything similar to peerblock(old peerguardian name) for tomato?
     
  67. Lost_Animal

    Lost_Animal Addicted to LI Member

    My BRAIN will blow up.....:eek:

    Still searching what prevents Twonky to start & run Normally.
    But its not the only issue i had to cover.
    By a mysterius problem services the time xx:xx working fine and some time xx:xx wont load at all.


    Right now i'm running latest dd-wrt firmware to see if same problems occurs with it. :frown:
     
  68. blackmack

    blackmack Addicted to LI Member

    Hi. My router also gets low with memory when using transmission and when its about 2MB Transmission becomes unresponsive. Can you help me how to use swap file or swap partition? I was looking somenthing at DD-WRT page. I have attached a 30gb 1.8'' hd to router formated with ext2 or i can use a 8GB flash drive.
     
  69. hapahopi

    hapahopi Addicted to LI Member

    i have a wl-500gpv2 using a 2Gb flash for occasional dl torrents and here's my partition:
    256 Gb - opt
    64 Mb - swap partition
    ~1.5 Gb - data

    i haven't had any problems with memory so far.
     
  70. soldier

    soldier Addicted to LI Member

    I have sda1 optware, sda2 swap, sda3 share.
    Transmission doesn't work. HAPAHOPI what did you do for Transmission to work. Did you install Lost Animals package?
     
  71. hapahopi

    hapahopi Addicted to LI Member

    I installed the optware the right way with dd-wrt runnning first on my asus wl-500gp. Then I flashed my router with tomato firmware.
     
  72. powersquad

    powersquad Addicted to LI Member

    Few questions before I buy this router.

    1. This router supports N right? and If my laptop is G only, it will connect on G as well?

    2. What is the maximum size external HDD or USB disk I can connect with the router if running tomato?

    3. Does the transmission client also installs a webui like utorrent has?

    4. I see from the /mnt commands, a USB disk was being mounted to store the torrents folder. Can I instead of mounting a external HDD or USB disk attached to the router, mount an internal HDD on my pc which is my mains torrents folder right now?

    5. To load optware, is it better/easier to flash DD-WRT first, load/install optware and then flash to tomato? If it's easy, and after upgrading firmware to tomato from dd-wrt, will all the /mnt commands and optware settings stay intact or will they have to be reloaded again?

    6. How many USB ports does this router have?

    Thanks
     
  73. soldier

    soldier Addicted to LI Member

    1.YES

    2.Right now 2Tb disk was reported that is working fine. So everything less should be also working. I have 1Tb disk hooked up with the router.

    3.YES

    4.I didn't try that because that makes no sense. You don’t need transmission installed on the USB disk for that but on your computer. This was meant that you can download your torrents without PC being turned on.

    5.Ask user hapahopi, he did it this way. I did it installing lost animals package and now waiting for some patches. If you can wait a little longer lost animal will make this thing running for sure.

    6.TWO
     
  74. hapahopi

    hapahopi Addicted to LI Member

    I installed the optware the right way with dd-wrt running on my router because i couldn't install it with tomato until lost animal found a way to do it. You can just download and run his scripts if you're currently running tomato.
     
  75. powersquad

    powersquad Addicted to LI Member

    thanks mate :smile:

    sold!
     
  76. ngfrazier

    ngfrazier Network Guru Member

    Confused


    If I follow the first part of this guide, I get transmission working... What is the tomato_optware part for?

    Will that do everything at once?

    I tried running this part first and it does not work for me! Help!
     
  77. powersquad

    powersquad Addicted to LI Member

    I have couple more questions regarding transmission installation. What is the minimum USB disk size have to be for optware install? Also once optware is installed, will it be installed on the USB disk or on the router's flash? After installation of optware, can I remove the USB disk for good and will optware still run in the background fine without the USB disk attached?

    Also I want to plug my 1.5TB external HDD to the router which conatains music and videos. Will that need to be formatted or tinkered around in any way?
     
  78. Catalin

    Catalin Addicted to LI Member

    Just a quick question: what sort of speed do you get when downloading a good seeded torrent? Maybe someone with a good internet bandwidth (100Mbps) could answer... Thanks.
     
  79. soldier

    soldier Addicted to LI Member

    @ngfrazier
    It is OK. With me it's the same. Lost Animal will submit some patches and it will work. Optware package will install everything at once and write some scripts in the firmware. Package is a better solution but needs some patches.

    @powersquad
    If you have USB 64Mb it should be enough. I asume you don't have USB key less than that. Optware is installed on the USB. Software installed wont work if you remove the USB. With 1.5Tb HD I would suggest to create 3 partitions. First with ext2 for optware (512 Mb), second for swap (264 Mb) and third for the rest of yor stuff (music, videos, programs, something to share in the network) with ext2 or 3.

    @Catalin
    I dont think many people have 100Mbps download speed. With 10Mbps download speed you would get around 1.2Mbps download on a good seeded torrent. But don't expect x10 in your case.
     
  80. Catalin

    Catalin Addicted to LI Member

    So you are getting a 150 KB/s download speed??? Is that correct, or you are confusing MB/s with Mbps?
     
  81. Lost_Animal

    Lost_Animal Addicted to LI Member

    UPDATE..... 15/02/10

    Its a waste of time to fix all those Scripts because many of references on Scripts inside the Package are for DD-Wrt Firmwares and have some serius problems with tomato.:redface:

    The MAJOR problem for me is TIME.....
    I dont have many free time to make those massive corrections.:frown:

    Its more easy to me to Create a New full Optware Pack For tomato than fix DD-WRT scripts.

    So,
    Use ONLY Transmission Guide for this Time and wait for a New Tomato Full Optware Package...

    BTW... if You Want to Include any Service or APP in the Final Script pls Let me Know...


    Lost_Animal....
     
  82. ngfrazier

    ngfrazier Network Guru Member

    I understand. Thanks, Lost_Animal. Also, thanks to everyone who contributed to making Tomato one amazing piece of firmware. Feel free to ask me and others on this forum to test any scripts you might create.
     
  83. soldier

    soldier Addicted to LI Member

    You are right. 8 bits=byte. Sorry. I confused b (bit) with (B) byte. So you have 12.5 MB line. You would get around 1.5MB download on a good seeded torrent.
     
  84. soldier

    soldier Addicted to LI Member

    Great news Lost Animal, can't wait for NEW Tomato Optware Package
     
  85. Catalin

    Catalin Addicted to LI Member

    Ok, thanks for the reply. I find the value a bit low, as with the useless DM from the standard firmware I can reach 5-6 MB/s on downloads...
     
  86. Credo

    Credo Addicted to LI Member

    Sorry for my English (Google translator)
    You can professionally edit this script under
    Tomato firmware
    It seems little need to change ( mount...)
    http://www.studionr.ru/wl500/install.sh
    states:
    Code:
    main programs 
    [url]http://192.168.1.1/rtorrent[/url] - WEB rtorrent v.2.8 + plugins (cookies, erasedata, search, trafic, scheduler) 
    [url]http://192.168.1.1/cgi-bin/dlengine.sh[/url] - Download Engine 
    [url]http://192.168.1.1:901[/url] - Samba Web Administration Tool 3 
    [url]http://192.168.1.1/rrd[/url] - RRDTool Traffic Graph Page 
    [url]http://192.168.1.1/eset_upd[/url] - base NOD32 v.3 and 4 
    [url]http://p.p[/url] - Privoxy 
    [url]http://192.168.1.1[/url] or [url]http://192.168.1.1/site[/url] - Your homepage on the engine phpSQLiteCMS. 
    [url]http://192.168.1.1/site/cms/[/url] - login to the admin panel phpSQLiteCMS (login: admin, password: admin) 
    [url]http://192.168.1.1/status[/url] - website statistics for your router 
    [url]http://192.168.1.1/cgi-bin/info.cgi[/url] - System Info 
    [url]http://192.168.1.1:9000[/url] - TwonkyMedia server v.5.0 Beta 1 
    [url]http://192.168.1.1/photo[/url] - Your Photo on the engine Imagevue v.2 (Flash Photo Gallery) 
    [url]http://192.168.1.1/photo/imagevue[/url] - Admin Imagevue (login: admin, password: admin) 
    [url]http://192.168.1.1/icq[/url] - Web2ICQ v.1.0 
    [url]http://192.168.1.1/vnstat[/url] - vnStat PHP frontend 1.4.1 rus - Traffic Statistics (editing so, if there is no VPN-connection
     
  87. Lost_Animal

    Lost_Animal Addicted to LI Member

    Perfect script my Friend,,, Thank you.. :flowers:

    It seems it needs minor changes for some mounts and paths.
    I will test it and probably add some more services.....

    Thanks again...
     
  88. Credo

    Credo Addicted to LI Member

    help to speed editing:
    wget http://www.studionr.ru/wl500/install_rt-n16.sh
    chmod +x install_rt-n16.sh
    ./install_rt-n16.sh
     
  89. soldier

    soldier Addicted to LI Member

    Any news Lost Animal about NEW optware release date. Thanks
     
  90. Lost_Animal

    Lost_Animal Addicted to LI Member

    My ASUS RT-N16 Is DEAD....:frown:
    CPU is DEAD,,,,
    Still waiting for replacement...:confused:
    I believe on next SUNDAY will finish....:sadbye:
     
  91. Catalin

    Catalin Addicted to LI Member

    How did that happen?:eek:
     
  92. soldier

    soldier Addicted to LI Member

    Sorry to hear that LA. Do you think it happened because of the CPU overclocking?
     
  93. Lost_Animal

    Lost_Animal Addicted to LI Member

    I really dont know..
    Was downloading torrents (transmission) all night and the morning my router was Dead..
    Its not PSU but CPU....
    Switch part is working (Led Activities) But Dont BOOT...
    No matter what i did is DEAD.... :eek:

    Probably CPU overheating but i was Not in overclocked mode....:frown:
     
  94. Credo

    Credo Addicted to LI Member

  95. Simbol84

    Simbol84 Addicted to LI Member

  96. Credo

    Credo Addicted to LI Member

    it was no use, in the script sharpening under oleg firmware, much needs to be changed
    To establish and scraps not only in the ground but also in the scripts that are loaded during the installation
     
  97. Simbol84

    Simbol84 Addicted to LI Member

    Да знаю что нет толку, но нужен человек с головой и знанием чо руки делают, там не особо то и нужно менять. Я с его скрипта выдергивал куски и на дд врт нормально был поставил рторрент, работал без проблем, нет захотелось подолбатся еще с томатой мол круче все и быстрей.
    Translation.
    Yes, I know that there is no sense, but need someone with the knowledge that the head and hands are doing, there is no particular need to change. I pulled the pieces of his script and dd VRT normally been put rtorrent, worked without problems, there is no desire to play around more with tomatoes thought all the steeper and faster.
     
  98. powersquad

    powersquad Addicted to LI Member

    English Translation Please :)
     
  99. Troydm

    Troydm Addicted to LI Member

    можете мой пакет попробовать просто копируете на рутер или на внешний узб винчестер, заходите на рутер телнетом и запускаете ./start.sh скрипт

    english translation:
    you can try my package, it's not hard to install, just copy over the router or external usb, unpack and run ./start.sh script

    http://www.linksysinfo.org/forums/showthread.php?t=63928
     
  100. ramo

    ramo Guest

    Sorry I am a newbie, but would I be able to follow the same steps to install transmission on the Asus WL-520GU?
     

Share This Page