Page 37 of 64 FirstFirst ... 27353637383947 ... LastLast
Results 541 to 555 of 958

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

  1. #541
    Quote Originally Posted by mitku View Post
    Is it with the right file name... starting with "S" (for automatic starting scripts at boot time) and number with 2 digits (for priority among starting scripts order) - in this case "S90xxxxx"?
    Is it in the right directory "/opt/etc/init.d/"?


    Code:
    [TheCrow@WL-001FC6D7E6E7 root]$ ls /opt/etc/init.d/
    S10cron  S90transmission-daemon  rc.unslung
    [TheCrow@WL-001FC6D7E6E7 root]$
    IS OK?

  2. #542
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    Hi,

    this is looking good, BUT as we see you have a S10cron which should start cron also.
    But it does not as your ps shows some posts ago.

    The question in general: Is your rc.unslung starting?

    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)

  3. #543
    hmm....how can i know that??

    Code:
    [TheCrow@WL-001FC6D7E6E7 root]$ cat /opt/etc/init.d/rc.unslung
    #! /bin/sh
    
    # Start/stop all init scripts in /opt/etc/init.d
    # starting them in numerical order and
    # stopping them in reverse numerical order
    #
    if [ $# -ne 1 ]; then
    printf "Usage: $0 {start|stop}\n" >&2
    exit 1
    fi
    
    daemons=`echo $(/usr/bin/dirname $0)/S??*`
    [ $1 = "stop" ] && daemons=`echo $daemons | /usr/bin/tr " " "\n" | /usr/bin/sort -r`
    
    for i in $daemons; do
    
    # Ignore dangling symlinks (if any).
    [ ! -f "$i" ] && continue
    
    # Write to syslog
    logger -t rc.unslung "$1 service $i"
    
    case "$i" in
    *.sh)
    # Source shell script for speed.
    (
    trap - INT QUIT TSTP
    set $1
    . $i
    )
    ;;
    *)
    # No sh extension, so fork subprocess.
    $i $1
    ;;
    esac
    done
    [TheCrow@WL-001FC6D7E6E7 root]$
    Last edited by TheCrow; 06-03-2009 at 12:07.

  4. #544
    Also - look for the appropriate rights for "/opt/etc/init.d/" directory... there have to have an execute rights also - for the directory itself, and for files inside.
    If it's necessary - do following:
    Code:
    chown 0:0 -R /opt/etc/init.d
    chmod 755 -R /opt/etc/init.d
    ... and then... you know:
    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    Last edited by mitku; 06-03-2009 at 13:48.

  5. #545
    Quote Originally Posted by mitku View Post
    Also - look for the appropriate rights for "/opt/etc/init.d/" directory... there have to have an execute rights also - for the directory itself, and for files inside.
    If it's necessary - do following:
    Code:
    chown 0:0 -R /opt/etc/init.d
    chmod 755 -R /opt/etc/init.d
    ... and then... you know:
    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    nothing....not starting...., only manually start...

    it`s ok??

    Code:
    [TheCrow@WL-001FC6D7E6E7 root]$ cat /opt/etc/init.d/S10cron
    #!/bin/sh
    #
    # Startup script for cron
    
    PIDFILE=/opt/var/run/cron.pid
    
    case $1 in
     start)
       /opt/sbin/cron
       ;;
     stop)
       [ -f ${PIDFILE} ] && kill `cat ${PIDFILE}`  ;;
       *)
       echo "usage: $0 (start|stop)"
       exit 1
    esac[TheCrow@WL-001FC6D7E6E7 root]$
    Last edited by TheCrow; 06-03-2009 at 14:03.

  6. #546
    Obviously nothing starts from the /opt/etc/init.d
    Let we see what are the rights in this directory. Do the following:
    Code:
    cd /opt/etc/init.d
    ls -la
    ... and also let we see what are mounting points on your router:
    Code:
    mount
    ... and post the results here.
    Did you follow all the steps above at beginning in this thread for USB/hard drive partitioning, mounting points AND file systems (ext3 or ext2)?

  7. #547
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    what happens if you do a
    Code:
    /opt/etc/init.d/rc.unslung start
    after restart?
    Are transmission and cron running?

    There should also be rc.unslung lines in your syslog.

    Could you please post the syslog of a boot?

    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)

  8. #548
    Quote Originally Posted by mitku View Post
    Obviously nothing starts from the /opt/etc/init.d
    Let we see what are the rights in this directory. Do the following:
    Code:
    cd /opt/etc/init.d
    ls -la
    ... and also let we see what are mounting points on your router:
    Code:
    mount
    ... and post the results here.
    Did you follow all the steps above at beginning in this thread for USB/hard drive partitioning, mounting points AND file systems (ext3 or ext2)?
    Code:
    [TheCrow@WL-001FC6D7E6E7 root]$ cd /opt/etc/init.d
    [TheCrow@WL-001FC6D7E6E7 init.d]$ ls -la
    total 20
    drwxr-xr-x 2 TheCrow root 4096 Mar  6 09:21 .
    drwxr-xr-x 4 TheCrow root 4096 Mar  6 09:30 ..
    -rwxr-xr-x 1 TheCrow root  223 Mar  6 14:27 S10cron
    -rwxr-xr-x 1 TheCrow root  595 Mar  6 14:33 S90transmission-daemon
    -rwxr-xr-x 1 TheCrow root  642 Mar  6 09:10 rc.unslung
    [TheCrow@WL-001FC6D7E6E7 init.d]$
    Code:
    [TheCrow@WL-001FC6D7E6E7 init.d]$ mount
    /dev/root on / type squashfs (ro)
    none on /dev type devfs (rw)
    proc on /proc type proc (rw)
    ramfs on /tmp type ramfs (rw)
    usbfs on /proc/bus/usb type usbfs (rw)
    /dev/discs/disc0/part2 on /opt type ext3 (rw,noatime)
    /dev/discs/disc0/part3 on /tmp/mnt/disc0_3 type ext3 (rw,noatime)
    [TheCrow@WL-001FC6D7E6E7 init.d]$

  9. #549
    Quote Originally Posted by wengi View Post
    what happens if you do a
    Code:
    /opt/etc/init.d/rc.unslung start
    after restart?
    Are transmission and cron running?

    There should also be rc.unslung lines in your syslog.

    Could you please post the syslog of a boot?

    wengi
    Code:
    [TheCrow@WL-001FC6D7E6E7 root]$ ps axf
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        RN     0:00 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       61 ?        S      0:00 telnetd
       62 ?        S      0:00 httpd vlan1
       67 ?        S      0:00 syslogd -m 0 -O /tmp/syslog.log -S -l 7
       68 ?        S      0:00 klogd
       71 ?        Ss     0:01 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
       73 ?        S      0:00 [dnsmasq]
       75 ?        S      0:00 [khubd]
       83 ?        Ss     0:00 lpd
       86 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       89 ?        Ss     0:00 waveservermain
       91 ?        Ss     0:00 rcamdmain
       95 ?        S      0:00 [usb-storage-0]
       96 ?        S      0:00 [scsi_eh_0]
      120 ?        S      0:00 udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
      121 ?        Ss     0:00 pppd file /tmp/ppp/options.wan0
      124 ?        Ss     0:00 infosvr br0
      125 ?        Ss     0:00 watchdog
      127 ?        Ss     0:00  \_ ntp
      145 ?        S      0:00 dropbear
      170 ?        Ss     0:00  \_ dropbear
      171 pts/0    Ss     0:00      \_ -sh
      174 pts/0    R+     0:00          \_ ps axf
      157 ?        S      0:00 [kjournald]
      158 ?        S      0:00 [kjournald]
      161 ?        Ss     0:00 /usr/sbin/vsftpd
      168 ?        S      0:00 upnp -D -L br0 -W ppp0
    
    [TheCrow@WL-001FC6D7E6E7 root]$ /opt/etc/init.d/rc.unslung start
    Stopping syslogd: syslogd.
    Starting syslogd: syslogd.
    updating blocklist, ~4MB
    starting transmission
    Code:
    [TheCrow@WL-001FC6D7E6E7 root]$ ps axf
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        RN     0:01 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       61 ?        S      0:00 telnetd
       62 ?        S      0:00 httpd vlan1
       68 ?        S      0:00 klogd
       71 ?        Ss     0:01 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
       73 ?        S      0:00 [dnsmasq]
       75 ?        S      0:00 [khubd]
       83 ?        Ss     0:00 lpd
       86 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       89 ?        Ss     0:00 waveservermain
       91 ?        Ss     0:00 rcamdmain
       95 ?        S      0:00 [usb-storage-0]
       96 ?        S      0:00 [scsi_eh_0]
      120 ?        S      0:00 udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc -b
      121 ?        Ss     0:00 pppd file /tmp/ppp/options.wan0
      124 ?        Ss     0:00 infosvr br0
      125 ?        Ss     0:00 watchdog
      127 ?        Ss     0:00  \_ ntp
      145 ?        S      0:00 dropbear
      170 ?        Ss     0:00  \_ dropbear
      171 pts/0    Ss     0:00      \_ -sh
      219 pts/0    R+     0:00          \_ ps axf
      157 ?        S      0:00 [kjournald]
      158 ?        S      0:00 [kjournald]
      161 ?        Ss     0:00 /usr/sbin/vsftpd
      168 ?        S      0:00 upnp -D -L br0 -W ppp0
      199 ?        S      0:00 /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7 -s 0
      216 ?        S      0:00 /opt/bin/transmission-daemon -g /tmp/harddisk/transmission/config
      217 ?        S      0:00  \_ /opt/bin/transmission-daemon -g /tmp/harddisk/transmission/config
      218 ?        R      0:39      \_ /opt/bin/transmission-daemon -g /tmp/harddisk/transmission/config
    [TheCrow@WL-001FC6D7E6E7 root]$

  10. #550
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt
    Posts
    1,548
    please post result of
    Code:
    cat /usr/local/sbin/post-mount
    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. #551
    Quote Originally Posted by wengi View Post
    please post result of
    Code:
    cat /usr/local/sbin/post-mount
    wengi
    Code:
    [TheCrow@WL-001FC6D7E6E7 root]$ cat /usr/local/sbin/post-mount
    #! /bin/sh
    
    /opt/etc/init.d/rc.unslung start
    [TheCrow@WL-001FC6D7E6E7 root]$

  12. #552
    Are all those scripts in /usr/local/sbin/ (and particularly /usr/local/sbin/post-mount) executable?
    If not, make them executable:
    Code:
    chmod 755 -R /usr/local/sbin/
    Last edited by mitku; 06-03-2009 at 21:30.

  13. #553
    yap... guess that is....tnx now it`s working....
    Code:
    [TheCrow@WL-001FC6D7E6E7 root]$ ps axf
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /sbin/init
        2 ?        S      0:00 [keventd]
        3 ?        RN     0:00 [ksoftirqd_CPU0]
        4 ?        S      0:00 [kswapd]
        5 ?        S      0:00 [bdflush]
        6 ?        S      0:00 [kupdated]
        7 ?        S      0:00 [mtdblockd]
       57 ?        S      0:00 telnetd
       62 ?        S      0:00 httpd vlan1
       68 ?        S      0:00 klogd
       71 ?        Ss     0:01 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
       73 ?        S      0:00 [dnsmasq]
       75 ?        S      0:00 [khubd]
       83 ?        Ss     0:00 lpd
       86 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       89 ?        Ss     0:00 waveservermain
       91 ?        Ss     0:00 rcamdmain
       95 ?        S      0:00 [usb-storage-0]
       96 ?        S      0:00 [scsi_eh_0]
      120 ?        S      0:00 udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcp
      121 ?        Ss     0:00 pppd file /tmp/ppp/options.wan0
      124 ?        Ss     0:00 infosvr br0
      125 ?        Ss     0:00 watchdog
      127 ?        Ss     0:00  \_ ntp
      174 ?        Ss     0:00  \_ /bin/sh /usr/local/sbin/post-mount 1058/702/104
      175 ?        S      0:00      \_ /bin/sh /opt/etc/init.d/rc.unslung start
      208 ?        S      0:00          \_ /bin/sh /opt/etc/init.d/S90transmission-d
      218 ?        R      0:02              \_ gunzip level1.gz
      135 ?        S      0:00 dropbear
      212 ?        Ss     0:00  \_ dropbear
      213 pts/0    Ss     0:00      \_ -sh
      219 pts/0    R+     0:00          \_ ps axf
      152 ?        S      0:00 upnp -D -L br0 -W ppp0
      169 ?        S      0:00 [kjournald]
      170 ?        S      0:00 [kjournald]
      173 ?        Ss     0:00 /usr/sbin/vsftpd
      200 ?        S      0:00 /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7
    [TheCrow@WL-001FC6D7E6E7 root]$ ps axf
      PID TTY      STAT   TIME COMMAND
        1 ?        S      0:01 /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]
       57 ?        S      0:00 telnetd
       62 ?        S      0:00 httpd vlan1
       68 ?        S      0:00 klogd
       71 ?        Ss     0:01 nas /tmp/nas.lan.conf /tmp/nas.lan.pid lan
       73 ?        S      0:00 [dnsmasq]
       75 ?        S      0:00 [khubd]
       83 ?        Ss     0:00 lpd
       86 ?        Ss     0:00 p9100d -f /dev/usb/lp0 0
       89 ?        Ss     0:00 waveservermain
       91 ?        Ss     0:00 rcamdmain
       95 ?        S      0:00 [usb-storage-0]
       96 ?        S      0:00 [scsi_eh_0]
      120 ?        S      0:00 udhcpc -i vlan1 -p /var/run/udhcpc0.pid -s /tmp/udhcpc -b
      121 ?        Ss     0:00 pppd file /tmp/ppp/options.wan0
      124 ?        Ss     0:00 infosvr br0
      125 ?        Ss     0:00 watchdog
      127 ?        Ss     0:00  \_ ntp
      135 ?        S      0:00 dropbear
      212 ?        Ss     0:00  \_ dropbear
      213 pts/0    Ss     0:00      \_ -sh
      226 pts/0    R+     0:00          \_ ps axf
      152 ?        S      0:00 upnp -D -L br0 -W ppp0
      169 ?        S      0:00 [kjournald]
      170 ?        S      0:00 [kjournald]
      173 ?        Ss     0:00 /usr/sbin/vsftpd
      200 ?        S      0:00 /sbin/syslogd -m 0 -O /opt/var/log/syslog.log -S -l 7 -s 0
      223 ?        S      0:00 /opt/bin/transmission-daemon -g /tmp/harddisk/transmission/conf
      224 ?        S      0:00  \_ /opt/bin/transmission-daemon -g /tmp/harddisk/transmission/
      225 ?        R      0:04      \_ /opt/bin/transmission-daemon -g /tmp/harddisk/transmiss
    [TheCrow@WL-001FC6D7E6E7 root]$

  14. #554
    Quote Originally Posted by wengi View Post
    did you update to the latest version of transmission?

    ipkg update && ipkg upgrade

    wengi
    ok...the easiest solution is just right...;-) after upgrade i have like 256KB/s download, lots of peers...perhaps something with the version of transmission i had...

    thanx

  15. #555
    how can i acces my router with winscp.
    when i try to connect...: "Cannot initialize SFTP protocol. Is the host running a SFTP server?"
    i know i have to make soething on router but i don`t know

Page 37 of 64 FirstFirst ... 27353637383947 ... 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
  •