返回列表 發帖
Yes, just upload via GUI, But you may wait for a wait until it is more stable. It has a lot of upgrade recently, including GSM modules support? For the GUI Dyndns, it is not working via remote but I need to do more testing in my LAN environment.

TOP

回復 62# 角色

the script should be something like this
exec date >> /persistent/etc/test.dat

It should put into /persistent/etc/config/crontab

# /etc/config/crontab
# uncomment line below to test, see uClinux-dist/cron/README for
# more information.  Note no shell is available, so u can't do
# things like /bin/echo hello >> /tmp/test, but you could always
# start a shell script to handle anything fancy.

#* * * * * root /bin/touch /etc/config/crontab
0 * * * * root /bin/hush /etc/rotatecdr.sh
1 * * * * root /bin/hush /etc/cleanps.sh
0 * * * * root /bin/hush /persistent/etc/test.sh

TOP

Have you tried it your in Switchfin firmware?

YH

TOP

When I check /bin/bush in my ip-01, it shows that the command /bin/bush is not found. As a result, it is not possible to run it.

YH

TOP

回復 79# 角色


Here is a dump of test.dat
Mon Sep  6 21:22:46 WST 2010
Mon Sep  6 14:00:00 UTC 2010
Mon Sep  6 15:00:00 UTC 2010
Mon Sep  6 16:00:00 UTC 2010
Mon Sep  6 17:00:00 UTC 2010
Mon Sep  6 18:00:00 UTC 2010
Mon Sep  6 19:00:00 UTC 2010
Mon Sep  6 20:00:00 UTC 2010
Mon Sep  6 21:00:00 UTC 2010
Mon Sep  6 22:00:00 UTC 2010

I have not properly set the timezone in the etc/timezone file

TOP

It look the cron job works perfect.

YH

TOP

You may check your existing content in /persistent/etc/config/crontab and the associated scripts to revise your non-functional scripts. It may just be calling to an incorrect shell and not in the right position.

TOP

I use unix command to serach the location of hush shell.

root:/persistent/etc> find / -name "hush"
root:/persistent/etc>

It turns out it is not available in IP-01.

YH

TOP

How about /bin/bash?

TOP

The answer is the same, no.

YH

TOP

unfortunately, I do not want to reflash the ATCOM firmware and I can't check for you.

You need to look around for the files.

TOP

In fact, thanks a lot. I believe that switchfin will get more support as compared to ATCOM one. I may switch to switchfin later if I have the searial port.

YH

TOP

Sure, you need a serial cable for the work. Just HK$20 for a USB to serial convertor will do. For software, you need puttytel, a freeware.

I have tired another new release but not yet able to compile because of the size problem. Perhaps I select too much.

TOP

CentOS decompress tools for .tar.xz files

yum install xz

tar -xvf file.tar.xz --use-compress-program xz

YH

TOP

回復 89# 角色


    you mean file extension tar.gz or tgz

TOP

返回列表