Recent content by perla

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. P

    Cron job to move files created yesterday

    Thank you everyone for the help! Yes, I have entware installed, so that "caused" my problem. However, for my simple task the "dumber" find command is more than enough. I finally used the -name function: #!/bin/sh DIR="/mnt/NAS/IPC_FTP/"$(date -d @$(( $(date +"%s") - 86400)) +"%Y-%m-%d")"/"...
  2. P

    Cron job to move files created yesterday

    An update: By redirecting the cron job's output: cru a ipc_ftp "1 4 * * * /jffs/scripts/ipc_ftp.sh > /var/log/cron.log 2>&1" I get the following error in the log file for the find command: I have tried to remove that parameter, but now I get: It is very strange, because like I said by...
  3. P

    Cron job to move files created yesterday

    My IP camera can only upload images to the same directory (/mnt/NAS/IPC_FTP/) using FTP. I would like to organize these snapshots by date, so I wrote the following script to automatically move all images from yesterday to a new directory (for example to /mnt/NAS/IPC_FTP/2015-07-14/): #!/bin/sh...
  4. P

    Best external drive for the Asuswrt-Merlin router

    Thanks for the tip, but I already own the Samsung eHDD, so I would like to find a solution to be able to use that one with my router.
  5. P

    Best external drive for the Asuswrt-Merlin router

    I am using a 500GB Freeagent Pro external HDD with my RT-N66U router (Merlin firmware: 3.0.0.4.374.39_0) for a half year now with no problem. Now I tried to change that HDD to a Samsung Story Station 1TB (older USB2.0 version) model, but it was not recognised by the router. I have tried ext2...
  6. P

    [TUTORIAL] Native Transmission on asuswrt routers through optware

    ipkg problem Hello everyone! I need some help. I stucked right after the first step during the installation of Transmission on a RT-N66U router (ASUSWRT-Merlin 3.0.0.4.374.39). This is what I get: perla@NPeterNAS:/tmp/home/root# ipkg update Downloading...
  7. P

    WAN connect and disconnect using script

    Thanks RMerlin! I will test this command on the weekend to see if it can solve my problem. However, according to HorstG question, I hope that this command will also work in a batch file called by a cronjob.
  8. P

    WAN connect and disconnect using script

    I did a small investigation regarding how the connect and disconnect command is sent to the router when the user is using the admin page. The command is sent by using a POST request to the following page: /start_apply2.htm The requested status (on/off) of the WAN interface is in the...
  9. P

    WAN connect and disconnect using script

    Hello everyone! First of all, thank you Merlin for the great work and firmware! I would like to ask for some help. My question: Is it possible to connect/disconnect to/from the Internet by using a script? I'm asking this because I have got a creepy cable modem. Twice or three times a...
Top