Page 16 of 64 FirstFirst ... 6141516171826 ... LastLast
Results 226 to 240 of 958

Thread: [HowTo] Install and configure Oleg's firmware

  1. #226
    Nice tutorial, but now transmission is bringing the cpu to 100%.
    Every time I operate on the web interface I have a new "transmission.cgi" and "busybox_httpd" between my tasks:

    Code:
    top - 00:58:44 up 12 min,  0 users,  load average: 1.94, 1.38, 0.73
    Tasks:  34 total,   3 running,  31 sleeping,   0 stopped,   0 zombie
    Cpu(s):  96.3% user,   3.7% system,   0.0% nice,   0.0% idle
    Mem:     13964k total,    12580k used,     1384k free,      812k buffers
    Swap:   506008k total,     1504k used,   504504k free,     5124k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
      274 admin     19   0   596  592  576 R 46.9  4.2   1:21.32 transmission.cg
      244 admin     20   0   588  532  516 R 46.6  3.8   9:15.94 transmission.cg
      279 admin     17   0   672  672  508 R  6.0  4.8   0:00.45 top
       67 admin      9   0   480  400  376 S  0.3  2.9   0:00.73 watchdog
      214 admin      9   0   644  560  492 S  0.3  4.0   0:03.24 dropbear
        1 admin      8   0   472  336  336 S  0.0  2.4   0:02.58 init
        2 admin      9   0     0    0    0 S  0.0  0.0   0:00.01 keventd
        3 admin     18  19     0    0    0 S  0.0  0.0   0:00.00 ksoftirqd_CPU0
        5 admin      9   0     0    0    0 S  0.0  0.0   0:00.00 bdflush
        6 admin      9   0     0    0    0 S  0.0  0.0   0:00.00 kupdated
       59 admin      9   0   436  336  332 S  0.0  2.4   0:00.00 udhcpc
       60 admin      9   0     0    0    0 S  0.0  0.0   0:00.00 khubd
       52 admin      9   0   412  344  288 S  0.0  2.5   0:00.02 httpd
       69 admin      8   0   384  300  264 S  0.0  2.1   0:00.05 ntp
       76 admin      9   0   400  316  312 S  0.0  2.3   0:00.01 dropbear
       93 admin      9   0     0    0    0 S  0.0  0.0   0:00.02 kjournald
        4 admin      9   0     0    0    0 S  0.0  0.0   0:00.09 kswapd
       96 admin      9   0   888  708  588 S  0.0  5.1   0:00.14 nmbd
       98 admin      9   0   744  424  424 S  0.0  3.0   0:00.00 smbd
        7 admin      9   0     0    0    0 S  0.0  0.0   0:00.48 mtdblockd
       46 admin      9   0   312  244  236 S  0.0  1.7   0:00.01 telnetd
      139 admin      9   0   400  312  304 S  0.0  2.2   0:00.01 busybox_httpd
       57 admin      9   0   364  300  292 S  0.0  2.1   0:00.10 klogd
      217 admin      9   0  1692 1632 1292 S  0.0 11.7   0:00.28 transmissiond
      220 admin      9   0  1692 1632 1292 S  0.0 11.7   0:00.00 transmissiond
      221 admin      9   0  1692 1632 1292 S  0.0 11.7   0:00.10 transmissiond
      222 admin      9   0   556  552  424 S  0.0  4.0   0:00.51 sh
      230 admin      9   0   452  404  356 S  0.0  2.9   0:00.02 busybox_httpd
      231 admin      9   0   588  584  568 S  0.0  4.2   0:00.34 transmission.cg
       94 admin      9   0     0    0    0 S  0.0  0.0   0:00.01 kjournald
      255 admin      9   0   452  408  356 S  0.0  2.9   0:00.03 busybox_httpd
      256 admin      9   0   596  592  576 S  0.0  4.2   0:00.35 transmission.cg
      124 admin      9   0   400  332  304 S  0.0  2.4   0:00.02 syslogd
      130 admin      9   0   408  376  352 S  0.0  2.7   0:00.01 cron
    Code:
    [admin@WL-HDD root]$ ps axf
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:02 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        SN     0:00 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       46 ?        S      0:00 telnetd
       52 ?        S      0:00 httpd
       57 ?        S      0:00 klogd
       59 ?        S      0:00 udhcpc -i br0 -p /var/run/udhcpc_lan.pid -s /tmp/landhcpc
       60 ?        S      0:00 [khubd]
       67 ?        Ss     0:00 watchdog
       69 ?        Ss     0:00  \_ ntp
       76 ?        S      0:00 dropbear
      214 ?        Ss     0:03  \_ dropbear
      222 pts/0    Ss     0:00      \_ -sh
      278 pts/0    R+     0:00          \_ ps axf
       93 ?        S      0:00 [kjournald]
       94 ?        S      0:00 [kjournald]
       96 ?        Ss     0:00 /usr/sbin/nmbd -D
       98 ?        Ss     0:00 /usr/sbin/smbd -D
      124 ?        S      0:00 /sbin/syslogd -m 0 -O /opt/var/log/messages.log -S -l 6 -s 0
      130 ?        Ss     0:00 /opt/sbin/cron
      139 ?        S      0:00 /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 8008 -h /opt/share/www
      230 ?        S      0:00  \_ /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 8008 -h /opt/share/www
      231 ?        S      0:00  |   \_ /bin/sh /opt/share/www/cgi-bin/transmission.cgi
      244 ?        R      8:59  |       \_ /bin/sh /opt/share/www/cgi-bin/transmission.cgi
      255 ?        S      0:00  \_ /usr/sbin/busybox_httpd -c /opt/etc/httpd.conf -p 8008 -h /opt/share/www
      256 ?        S      0:00      \_ /bin/sh /opt/share/www/cgi-bin/transmission.cgi
      274 ?        R      1:05          \_ /bin/sh /opt/share/www/cgi-bin/transmission.cgi
      217 ?        Ss     0:00 transmissiond -p 65534 --nat-traversal -e -w 300 -u 10 -d -1 -i /opt/var/run/transmission.pid /tmp/harddisk/torrent/active-torrents.txt
      220 ?        S      0:00  \_ transmissiond -p 65534 --nat-traversal -e -w 300 -u 10 -d -1 -i /opt/var/run/transmission.pid /tmp/harddisk/torrent/active-torrents.txt
      221 ?        S      0:00      \_ transmissiond -p 65534 --nat-traversal -e -w 300 -u 10 -d -1 -i /opt/var/run/transmission.pid /tmp/harddisk/torrent/active-torrents.txt
    [admin@WL-HDD root]$
    Any idea?

  2. #227
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    There is a prob with transmission.cgi hanging after loading some kb of the webinterface.
    I didnt solve this until now because i have no idea where to start from.

    If you use ctrl+c to exit lynx or close your browser the transmission.cgi is hanging and using 100% CPU.

    killall transmission.cgi

    will help...

    wengi

    PS: The download itself is working normaly...
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  3. #228
    I know that the download is working fine, but without a web interface it is impossible to choose something to download and so on.
    Are you using a different web interface for transmission?

  4. #229
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    No. i am using the command line atm.
    But i am going to post a thread for this.

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  5. #230
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    there was a change in S05syslog:
    Loglevel has to be 7 for transmission to log properly

    please check:
    Code:
    OPTIONS="-m 0 -O $LOG_NEW/$LOGFILE -S -l 7 -s 0"
    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  6. #231
    Join Date
    Nov 2007
    Location
    EU's border...
    Posts
    71
    Hi Wengi,

    Please look at this piece from your startup script for syslog:
    Code:
    # Startup script for syslog
    ...
    LOGFILE=messages.log
    KERNLOGFILE=kern.log
    LOG_OLD=/tmp
    LOG_NEW=/opt/var/log
    ...
    # Copy old syslog and create symlink to new
    if [ ! -L /tmp/syslog.log ]; then
    cat $LOG_OLD/$LOGFILE >> $LOG_NEW/$LOGFILE
    mv $LOG_OLD/$LOGFILE $LOG_NEW/$KERNLOGFILE
    ln -s $LOG_NEW/$LOGFILE $LOG_OLD/$LOGFILE
    fi
    ...
    If you REALLY want the name messages for syslog you need to use:
    LOGFILE_OLD=syslog.log
    LOGFILE_NEW=messages.log
    But IMHO LOGFILE=syslog.log is an better approach!

    Otherwise, many thanks for your work in community service...

  7. #232
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    you are right. And logrotate also had the wrong filename.
    I changed both to syslog.log.

    messages was for historical reasons and transmission....

    wengi
    Last edited by wengi; 05-05-2008 at 15:05.
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  8. #233
    Join Date
    Nov 2007
    Location
    EU's border...
    Posts
    71
    Quote Originally Posted by wengi View Post
    messages was for historical reasons...
    Yes I know, I'm still searching for logs in /var/adm/messages...

  9. #234
    Hi..
    I think transmission is very slow downloadind..
    Is it only possible to download one torrent at the time??

  10. #235
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    No,

    you can download multiple torrents at the same time.
    check your conf file.

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  11. #236

    Post USB stick not found

    USB stick not found

    I installed last ver of Oleg fw..i schoose the steps to install dropbear..everything was ok..
    1.i insert the USB stik, after i connected the cord extension..and i was wondering why doesn't blinck the stick..the led isn't show me that is worrking..
    2.i wanna make partitions via a test stick with 256 mb..but i can't do fdisk cause i can't see the disk.. df show me only 3008..or some..not usb stick

    what should i do?
    p.s...samba and ftp disabled..as it should ...!

  12. #237
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    which hardware are you using?
    please post results of
    Code:
    lsmod
    ls -la /dev/discs
    This will show if the usb modules are loaded and which discs are known.
    Also check your syslog for usb-specific entries.

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  13. #238
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    hello wengi, I used your tutorial already a few months back ago.
    because I saw you changed some stuff, I tried to set up the way you did it.
    I noticed after a reboot that nothing was mounted for some reason and that's why I made a mix of your new how-to and old one.
    it's working fine now, exept for 1 thing:
    1096 root 32 R cat /tmp/syslog.log
    this thing is coming up every time I start a reboot, or just randomly.
    it uses almoast 100% of the cpu and writes full my whole /opt
    I have 4gb of /opt space, but it just keeps writing till it has more than 3.5gb!

  14. #239
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    check your /opt/etc/init.d/S05syslogd and use the new version.

    I do NOT recommend a mix of old and new files/configurations!!!

    wengi
    Übersicht aller HowTos --- HowTo Overview (mostly german)
    WL-HDD mit diesem Setup. --- WL-HDD with this setup.
    Kein Support per PM - Frage im jeweiligen Thread! --- No support via pm - ask in the according thread!
    Eine wirklich gute Idee erkennt man daran, dass ihre Verwirklichung von vorne herein ausgeschlossen erscheint. (Albert Einstein)

  15. #240
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by wengi View Post
    check your /opt/etc/init.d/S05syslogd and use the new version.

    I do NOT recommend a mix of old and new files/configurations!!!

    wengi
    So where do I get this new syslog from? till I used your old boot version I had no problems, the only thing I touched the couple of days is the boot section.

    also /usr/local/sbin/post-mount is NOT executed at boot, while it's executable.
    therefor I use post-boot with the old startupscript.
    also your newer boot files don't contain the drobear start neither does it contain the scsi mod to start usb drives

    EDIT:
    never mind about the syslog, I found it
    Last edited by wpte; 14-05-2008 at 15:21.

Page 16 of 64 FirstFirst ... 6141516171826 ... LastLast

Similar Threads

  1. [Howto] Install DLNA media servers for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 18
    Last Post: 06-06-2017, 07:40
  2. Replies: 24
    Last Post: 05-05-2015, 07:42
  3. Replies: 28
    Last Post: 02-06-2013, 20:58
  4. Replies: 6
    Last Post: 21-09-2012, 17:06
  5. [Howto] Install kernel modules for Oleg firmware
    By ecaddict in forum WL-500gP Tutorials
    Replies: 0
    Last Post: 05-12-2011, 16:18

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
  •