Page 4 of 7 FirstFirst ... 23456 ... LastLast
Results 46 to 60 of 95

Thread: ADOS: a probable replacement for Download Master

  1. #46
    i`ve followed the steps and now im encountering problems

    [admin@WL-500G root]$ /opt/etc/init.d/S10cron
    /opt/etc/init.d/S10cron: /opt/etc/init.d/S10cron: 8: /opt/sbin/cron: not found
    --------------------------------------------------------
    [admin@WL-500G root]$ /opt/etc/init.d/S80lighttpd start
    Starting web server: lighttpd
    /opt/etc/init.d/S80lighttpd: /opt/etc/init.d/S80lighttpd: 40: /opt/sbin/lighttpd: not found
    -------------------------------------------------------

    here are the steps i took

    Configuring IPKG system.
    echo "src unslung http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable" > /opt/etc/ipkg.conf
    echo "dest root /" >> /opt/etc/ipkg.conf
    ipkg update && ipkg install uclibc-opt && awk '/^Package:/{system("ipkg install -force-reinstall -force-defaults " $2)}' /opt/lib/ipkg/status

    ipkg update
    ipkg install cron
    ipkg install lighttpd
    ipkg install sqlite
    ipkg install php-fcgi
    ipkg install libcurl
    ipkg install wget
    ipkg install php-gd
    ipkg install php-mbstring

    nano /opt/etc/lighttpd/lighttpd.conf and uncomment (remove С#Т at the beginning) these strings: "mod_access",
    "mod_fastcgi",
    "mod_cgi",
    "mod_accesslog"

    server.document-root = "/opt/share/www/"

    server.port = 8080

    fastcgi.server = ( ".php" =>
    ( "localhost" =>
    (
    "min-procs" => 1,
    "max-procs" => 1,
    "max-load-per-proc" => 4,
    "socket" => "/tmp/php-fastcgi.socket",
    "bin-path" => "/opt/bin/php-fcgi"
    )
    )
    )

    Save changes and closed file

    nano /opt/etc/php.ini
    extension=pdo.so
    extension=sqlite.so
    extension=pdo_sqlite.so

    nano /opt/etc/crontab
    SHELL=/bin/sh
    PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/sbin:/opt/bin
    MAILTO=""
    HOME=/
    # ---------- ---------- Default is Empty ---------- ---------- #
    */1 * * * * admin /opt/bin/run-parts /opt/etc/cron.1min
    */5 * * * * admin /opt/bin/run-parts /opt/etc/cron.5mins
    01 * * * * admin /opt/bin/run-parts /opt/etc/cron.hourly
    02 4 * * * admin /opt/bin/run-parts /opt/etc/cron.daily
    22 4 * * 0 admin /opt/bin/run-parts /opt/etc/cron.weekly
    42 4 1 * * admin /opt/bin/run-parts /opt/etc/cron.monthly

    nano /opt/bin/run-parts
    #!/bin/sh
    #
    # runparts.sh by macsat@macsat.com
    # intended for use with cron
    #
    # based on rc.unslung by unslung guys :-)
    #
    if [ -z "$1" ]
    then
    echo "Usage : $0 "
    fi

    RUNDIR=$1"/*"

    for i in $RUNDIR ;do

    # Ignore dangling symlinks (if any).
    [ ! -f "$i" ] && continue

    case "$i" in
    *.sh)
    # Source shell script for speed.
    (
    trap - INT QUIT TSTP
    set start
    . $i
    )
    ;;
    *)
    # No sh extension, so fork subprocess.
    $i start
    ;;
    esac
    done

    chmod +x /opt/bin/run-parts

    mkdir /opt/etc/cron.1min
    mkdir /opt/etc/cron.5mins
    mkdir /opt/etc/cron.hourly
    mkdir /opt/etc/cron.daily
    mkdir /opt/etc/cron.weekly
    mkdir /opt/etc/cron.monthly

    flashfs save && flashfs commit && flashfs enable

    and thats it, i experienced the problem



    [admin@WL-500G root]$ /opt/etc/init.d/S10cron
    /opt/etc/init.d/S10cron: /opt/etc/init.d/S10cron: 8: /opt/sbin/cron: not found
    --------------------------------------------------------
    [admin@WL-500G root]$ /opt/etc/init.d/S80lighttpd start
    Starting web server: lighttpd
    /opt/etc/init.d/S80lighttpd: /opt/etc/init.d/S80lighttpd: 40: /opt/sbin/lighttpd: not found

  2. #47
    i tried to reformat and heres my new problem

    [admin@WL-500G root]$ /opt/etc/init.d/S80lighttpd restart
    Starting web server: lighttpd
    Duplicate config variable in conditional 0 global: fastcgi.server
    2008-08-25 12:34:49: (configfile.c.885) source: cat /opt/etc/lighttpd/conf.d/*onf line: 15 pos: 1 parser failed somehow near here: (EOL)

  3. #48
    Quote Originally Posted by mark_q4xprt View Post
    i tried to reformat and heres my new problem

    [admin@WL-500G root]$ /opt/etc/init.d/S80lighttpd restart
    Starting web server: lighttpd
    Duplicate config variable in conditional 0 global: fastcgi.server
    2008-08-25 12:34:49: (configfile.c.885) source: cat /opt/etc/lighttpd/conf.d/*onf line: 15 pos: 1 parser failed somehow near here: (EOL)
    do this

    Code:
    rm /opt/etc/lighttpd/conf.d/*

  4. #49
    Quote Originally Posted by holla View Post
    do this

    Code:
    rm /opt/etc/lighttpd/conf.d/*


    thanks, after that whats the next step?

    ive typed 192.168.0.1:8080 but it sed "The webpage cannot be displayed"

  5. #50
    ive extracted the ados to the www folder


    No path to the executable file was specified for module 'Axel 1.1.5'.
    No path to the executable file was specified for module 'Curl 1.1.5'.
    No path to the executable file was specified for module 'Wget 1.1.5'.

  6. #51
    Code:
    /opt/share/www/install/
    I think thats it

  7. #52
    it seems i cant find axel

    for curl ive set
    /opt/bin/curl

    for wget
    /opt/bin/wget


    which one will i use?

    im just testing it to download this

    http://download.nullsoft.com/winamp/...plus_en-us.exe

    but its just on idle

  8. #53
    it doesnt want to download from microsoft site?

    http://www.microsoft.com/downloads/i...XP-x86-enu.exe

    why?

  9. #54
    same problem here....

    downloads aren't accomplished... it says that they are downloading, but it doesn't download anything

  10. #55
    Event time 25.08.2008 23:43
    Code ECD_007
    Short message File's download is impossible
    Description User has not enough disk space to save file.
    Probable reason The user has exhausted the space on a disk, assigned him for saving downloaded files.
    Solution Delete some downloaded files from your directories or ask administrator to increase disk space.

    Miscellaneous
    File ID 4
    Filename cpuz_146.zip
    File size, bytes 571781


    i stamble upon the log and saw this,

    but ive already set it to none limit or blank or 999999999 but its thesame error, i know i have a lot of space coz im using a newly bought 160g wd passport on this

  11. #56
    maybe its the swap memory.

    try
    Code:
    df
    or
    Code:
    free

  12. #57
    [admin@WL-500G root]$ df
    Filesystem 1k-blocks Used Available Use% Mounted on
    /dev/root 3008 3008 0 100% /
    /dev/discs/disc0/part1 145138968 378316 137388024 0% /opt
    [admin@WL-500G root]$ free
    total used free shared buffers
    Mem: 30172 25416 4756 0 5464
    Swap: 524276 4464 519812
    Total: 554448 29880 524568



    is there something wrong from what i did in the partition?
    the hdd is 160g, what is the correct partition for this?


    fdisk /dev/discs/disc0/disc
    d
    n
    p
    2
    < enter >
    +151G
    n < enter >
    p < enter >
    1 < enter >
    < enter >
    < enter >
    t < enter >
    2 < enter >
    82 < enter >
    w < enter >
    mke2fs -j /dev/discs/disc0/part1
    mkswap /dev/discs/disc0/part2
    reboot
    mount /dev/discs/disc0/part1 /opt
    swapon /dev/discs/disc0/part2

  13. #58
    no fekin idea...

    try saving downloads to
    Code:
    /dev/discs/disc0/part1
    or to
    Code:
    /opt/share/www/
    and you'r using an extra space which may be the difference here
    Code:
    mount /dev/discs/disc0/part1 /opt

  14. #59
    the probelm was fixed after i entered 1.4E+6 in the disk quota

    now the only problem left is the dyndns

    http://wl500g.info/showthread.php?t=...t=problem+oleg

  15. #60
    I'm getting this error

    Code:
    Code  	                  ECD_015
    Short message 	          File's download is impossible
    Description 	                  Can't open for writing file in the CRON directory.
    Probable reason         	   The system has no rights to write to the specified directory or file.
    Solution                    * Make sure that the system has necessary write rights.

    How can I solve this problem?

Page 4 of 7 FirstFirst ... 23456 ... LastLast

Similar Threads

  1. ADOS - замена Download Master
    By DINI in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 1502
    Last Post: 02-04-2014, 18:33
  2. Download Master
    By nszb in forum WL-500gP Firmware Discussion
    Replies: 124
    Last Post: 03-10-2009, 14:56

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •