Go to advanced search

by Gawan
Sat Mar 07, 2020 9:01 am
Forum: General discussion
Topic: How to activate SSH on a "fresh" Raspian ?
Replies: 3
Views: 1271

Re: How to activate SSH on a "fresh" Raspian ?

Bodengo !
You the BEST !
Thank you !! :D :D
by Gawan
Sat Mar 07, 2020 8:45 am
Forum: General discussion
Topic: How to activate SSH on a "fresh" Raspian ?
Replies: 3
Views: 1271

How to activate SSH on a "fresh" Raspian ?

Hi, I always have the same struggle. I install a fresh Raspian or Raspian Lite on a SD Card, connect the device to LAN and want to install something via SSH. Unfortunately first I have to activate SSH manually in raspi-config and to do that I have to connect HDMI, LAN and a keyboard to the device. T...
by Gawan
Sun Dec 11, 2016 6:11 pm
Forum: Troubleshooting
Topic: FTP-Script does not work with Cronjob ? - Solved
Replies: 16
Views: 3288

Re: FTP-Script does not work with Cronjob ?

Hi, 1. I added one line to the script before the FTP command --> cd /home/pi/camera 2. I removed the /usr/bin part before ftp It was easy after I found out that I can test the script if I just go to a totally different folder and run it from there. Thanks a lot for your support, problem solved ! :D ...
by Gawan
Sun Dec 11, 2016 4:07 pm
Forum: Troubleshooting
Topic: FTP-Script does not work with Cronjob ? - Solved
Replies: 16
Views: 3288

Re: FTP-Script does not work with Cronjob ?

Tom's advice was bad for a number of reasons, but you should definitely re-read jojopi's comments. The "No such" error is referring to the non-existence of the needed *target* directories, not anything to do with the source file. Hm, I am afraid I dont get it. The "target" direc...
by Gawan
Sun Dec 11, 2016 4:05 pm
Forum: Troubleshooting
Topic: FTP-Script does not work with Cronjob ? - Solved
Replies: 16
Views: 3288

Re: FTP-Script does not work with Cronjob ?

@jojopi
"It is best to be in the correct directory locally,"
so you suggest to change to the /home/pi/camera path inside the Script before executing everything else ?
does the FTP-Command take the "local" path or do I have to switch path inside the FTP command as well ?
by Gawan
Sun Dec 11, 2016 4:02 pm
Forum: Troubleshooting
Topic: FTP-Script does not work with Cronjob ? - Solved
Replies: 16
Views: 3288

Re: FTP-Script does not work with Cronjob ?

@Martin Frezman
This the crontab-entry

Code: Select all

sudo crontab -e
0-59/5 * * * *  /home/pi/camera/camera.sh >> /home/pi/camera/camera.log
by Gawan
Sun Dec 11, 2016 4:01 pm
Forum: Troubleshooting
Topic: FTP-Script does not work with Cronjob ? - Solved
Replies: 16
Views: 3288

Re: FTP-Script does not work with Cronjob ?

@Major Tom I did what you suggested, but now it says it does not find the requested file in the folder, althouth LS clearly shows that the file exists: 230-Your bandwidth usage is restricted 230 OK. Current directory is / Remote system type is UNIX. Using binary mode to transfer files. 250 OK. Curre...
by Gawan
Sun Dec 11, 2016 11:35 am
Forum: Troubleshooting
Topic: FTP-Script does not work with Cronjob ? - Solved
Replies: 16
Views: 3288

FTP-Script does not work with Cronjob ? - Solved

Hi, my RapsberryPi should take a picture every 5 minutes (scheduled as cronjob) and send them to my FTP server. I have put everything together in a sricpt sudo ntpdate de.pool.ntp.org DATE=$(date +"%Y%m%d_%H%M") /usr/bin/raspistill -st -n -t 2000 -o /home/pi/camera/$DATE.jpg -w 1024 -h 768...
by Gawan
Sun Dec 11, 2016 11:22 am
Forum: Deutsch
Topic: FTP-Skript funktioniert nicht über Cronjob ?
Replies: 1
Views: 680

FTP-Skript funktioniert nicht über Cronjob ?

Hallo, ich habe einen RaspPi der im 5-Minuten-Takt (per cronjob) Fotos machen und diese per FTP auf meinen Webserver schieben soll. Das erste Foto nach dem Hochfahren klappt, danach bricht die FTP-Verbindung einfach jedesmal ohne erkennbaren Grund ab. Wenn ich das Skript händisch ausführe klappts je...
by Gawan
Sun Dec 11, 2016 9:38 am
Forum: Deutsch
Topic: Probleme mit /etc/crontab
Replies: 3
Views: 5567

Probleme mit /etc/crontab

Hallo zusammen, ich habe (Anleitung) einen Cronjob-Task unter sudo nano /ect/crontab angelegt der alle 5 Minuten ausgeführt werden soll. Der Eintrag sieht so aus: 0-59/5 * * * * sudo bash /home/pi/camera/camera.sh >> /home/pi/camera/camera.log Wenn ich den Befehl manuell ausführe klappt das probleml...
by Gawan
Fri Jul 31, 2015 6:47 pm
Forum: Deutsch
Topic: Crontab funktioniert nicht
Replies: 11
Views: 12965

Re: Crontab funktioniert nicht

Hallo, das Skript sieht so aus: #!/bin/sh DATE=$(date +"%Y-%m-%d_%H%M") raspistill -n -t 2000 -o /home/pi/camera/$DATE.jpg -w 800 -h 600 -q 10 HOST=ftpxx.meinhoster.com USER=abcdef PASS=abcdef # ftp -inv $HOST <<EOF # user $USER $PASS # put $DATE.jpg # bye # EOF # wput /home/pi/camera/$DAT...
by Gawan
Fri Jul 31, 2015 4:03 pm
Forum: Deutsch
Topic: Crontab funktioniert nicht
Replies: 11
Views: 12965

Crontab funktioniert nicht

Hallo, ich habe ein Script camera.sh das mit der Hand ausgeführt (egal ob root oder nicht) super funkioniert. Es nimmt ein Bild von der Cam, speichert es lokal und kopiert es auf einen FTP-Server, mittels FTP-Command und Put Klappt wie gesagt einwandfrei Jetzt möchte ich dieses Programm minütlich mi...
by Gawan
Sat Mar 07, 2015 6:04 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5285
Views: 1654088

Re: RPi Cam Web Interface

Does anyone know why the datetime on top of the picture is flickering all the time ?
it seems as if the font would change between larger and smaller approx. 10 times a second ... quite annoying :)
by Gawan
Sat Mar 07, 2015 5:49 pm
Forum: Camera board
Topic: RPi Cam Web Interface
Replies: 5285
Views: 1654088

Re: RPi Cam Web Interface

Hi, i did the intial installation and evertything worked fine. But after a restart of my RaspPi I get the error message: Error in RaspiMJPEG: Could not set annotation End when I try to RPi_Cam_Web_Interface_Installer.sh start then I get this error message: pi@raspberrypi ~/RPi_Cam_Web_Interface $ mm...

Go to advanced search