Bekijk de volledige versie : How to set Samba and sctcs
bermneon
21-04-2007, 07:13
I tried it so many time but I can not start it on.
Anyone please help
THX
Here you go: http://sctcs.seaky.hu/doc/SCTCSeng.pdf
bermneon
21-04-2007, 15:29
I alredy tried and follow the PDF as above. When I used "$ /opt/etc/init.d/S90sctcs start". after it will show "syntax error". I don't know why. I can not run it on my WL-700ge
bermneon
21-04-2007, 18:10
I alredy tried and follow the PDF as above. When I used "$ /opt/etc/init.d/S90sctcs start". after it will show "syntax error". I don't know why. I can not run it on my WL-700ge
haraldrt
21-04-2007, 20:10
if a script fails with syntax error on the wl700ge, you usally should use bash to execute it.
try ipkg install bash
and change #!/bin/sh in /opt/etc/init.d/S90sctcs into #!/opt/bin/bash.
This should do the trick.
on most linux systems bash is the standard shell even if it behaves different when invoked as sh. The sh which comes with busybox is a lot less powerfull.
cu
Harald
bermneon
22-04-2007, 04:46
Hi
I already tried to change "sh" to "bash". After I run it. it show "busybox httpd /usr/sbin/busybox_httpd not started". How to run Busybox_httpd ?
Actully, I don't know much about linux.
Plz, Anyone Help
Hi
I already tried to change "sh" to "bash". After I run it. it show "busybox httpd /usr/sbin/busybox_httpd not started". How to run Busybox_httpd ?
Actully, I don't know much about linux.
Plz, Anyone Help
make two changees in /opt/etc/init.d/S90sctcs
Find BUSYBOX_HTTPD and change it to:
BUSYBOX_HTTPD=/usr/sbin/httpd
and in function stop()
killall busybox_httpd has to be changed to killall httpd
it is from http://forum.openwrt.org/viewtopic.php?id=9940 :)
I did the changes, but i get this:
[root@Meterkast etc]$ /opt/etc/init.d/S90sctcs start
Starting busybox httpd at port 8090 ...
usage: httpd port docRoot [phyAuthFlag]
httpd: httpd.c:1201: main: Assertion `0' failed.
Aborted
Starting SCTCS daemon at port 1980 ...
/opt/etc/init.d/S90sctcs: line 62: /opt/bin/sctcsd: not found
done
Sollie.
PS: /opt/bin/sctcsd does exists.
I have tried to get this working as well. I do not know anything about linux but have a girlfriend that does so she helps me. (if i dump her i am stuffed) :confused:
So can anyone help us with gettinh this gui to work on the wl700ge. Surely there cannot be that many differences between the 500 and 700.
Thanks in advance