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
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)
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.
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:
... and then... you know:Code:chown 0:0 -R /opt/etc/init.d chmod 755 -R /opt/etc/init.d
Code:flashfs save && flashfs commit && flashfs enable && reboot
Last edited by mitku; 06-03-2009 at 13:48.
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.
Obviously nothing starts from the /opt/etc/init.d
Let we see what are the rights in this directory. Do the following:
... and also let we see what are mounting points on your router:Code:cd /opt/etc/init.d ls -la
... and post the results here.Code:mount
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)?
what happens if you do aafter restart?Code:/opt/etc/init.d/rc.unslung start
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)
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]$
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 transmissionCode:[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]$
please post result ofwengiCode:cat /usr/local/sbin/post-mount
Ü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)
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.
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]$
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