Go to advanced search

by Bosse_B
Fri Feb 20, 2015 8:26 pm
Forum: Raspberry Pi OS
Topic: How can I know when the Pi has finished shutdown?
Replies: 11
Views: 1408

How can I know when the Pi has finished shutdown?

I am going to upgrade my Raspbian distribution on a P1B so I can then transfer it to a microSD and use on a Pi2B. But in the process, since I am paranoid, I want to make a backup image. So I need to shut down the Pi. I entered sudo shutdown now via a PuTTY SSH connection and I lost connection a few ...
by Bosse_B
Fri Feb 20, 2015 7:03 pm
Forum: Raspberry Pi OS
Topic: Print server on Pi has long connect delay
Replies: 10
Views: 1962

Re: Print server on Pi has long connect delay

Sounds a bit like magic! Does the process require anything like a directly connected keyboard and display? This Pi is headless, I only use PuTTY to connect to it and do the admin work... Since my Pi1B uses a standard SDCard and the Pi2B a microSD card, I guess I have to first make a backup disk imag...
by Bosse_B
Fri Feb 20, 2015 6:27 pm
Forum: Raspberry Pi OS
Topic: Print server on Pi has long connect delay
Replies: 10
Views: 1962

Re: Print server on Pi has long connect delay

I just got myself a Pi2 today.... But I was hesitant to set it up as a replacement for my Pi1 B, which is already configured for so much. When you say I can update the image of the Pi1B so it will work on Pi2B, how is that done? And will the Pi2B have all of the configurations I had painfully set up...
by Bosse_B
Fri Feb 20, 2015 6:14 pm
Forum: Raspberry Pi OS
Topic: Print server on Pi has long connect delay
Replies: 10
Views: 1962

Re: Print server on Pi has long connect delay

About a year ago I tried to install DDWRT on a router (bought a D-Link DIR-615) only to discover that D-Link had changed the product in such a way that it bricked when I tried the install. I was aiming at setting up a VPN server at the time. Then I turned to the Raspberry Pi instead and got the VPN ...
by Bosse_B
Fri Feb 20, 2015 3:50 pm
Forum: Raspberry Pi OS
Topic: Print server on Pi has long connect delay
Replies: 10
Views: 1962

Re: Print server on Pi has long connect delay

I once used a USB server at work (now retired) in order to connect USB devices to a PC via the network. I had plans of doing the same here, but the overhead was just too much. I had to install a special driver for the USB server on each PC and then it still needed co-operation between users, because...
by Bosse_B
Wed Feb 18, 2015 7:35 am
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

Now file pruning is working as it should, leaving the 20 newest files in the folder.
The crontab entry looks like this:

Code: Select all

15 * * * * (date; ls /var/www/webcam/*snapshot.jpg | head --lines=-20 | xargs rm -v) >> /tmp/images_deleted 2>&1
by Bosse_B
Tue Feb 17, 2015 10:40 pm
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

I know it is not part of motion, as I have stated above it is taken from your tutorial page... Unfortunately it has not left the last snapshots... It rather seems like every time it runs it deletes the last 6 snapshots (i.e. those created the last hour) rather than the oldest snapshots.... I have po...
by Bosse_B
Tue Feb 17, 2015 8:51 pm
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

Thanks, I will try that! Now I have found another problem, the cron command to prune the snapshot files somehow screws up after a while and leaves a bunch of old files. The cron script looks like this: 15 * * * * (date; ls /var/www/webcam/*snapshot.jpg | tail -n +20 | xargs rm -v) >> /tmp/images_del...
by Bosse_B
Tue Feb 17, 2015 4:31 pm
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

Thanks, that was clear.... :shock:
by Bosse_B
Tue Feb 17, 2015 2:55 pm
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

I ended up removing %v- from the filename template in motion.conf... Further on using motion: Now that I seem to have configurations in place for motion, the next step is to make it run at RaspBian startup. The problem I see is that the way I have found is to create a shell-script file and put it in...
by Bosse_B
Tue Feb 17, 2015 7:00 am
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

I have a question about the names of the snapshot image files: What I see is the following file names (example from tonight): 01-20150217003000-snapshot.jpg 02-20150217004000-snapshot.jpg 04-20150217005000-snapshot.jpg 04-20150217010000-snapshot.jpg 04-20150217011000-snapshot.jpg 05-20150217012000-s...
by Bosse_B
Sun Feb 15, 2015 2:20 pm
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

Thanks for the guide description! Question: If I set motion up as you described to take regular widely separated images, is it also possible to set it up to trigger on motion detection and then take a short video (say 15 s) and store it, then revert to still image mode? I am eagerly waiting for the ...
by Bosse_B
Wed Feb 11, 2015 10:32 pm
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

Had to manually create the /dev/video0 device: sudo mknod /dev/video0 c 81 0 Then I also rebooted the Pi. Now I get a picture served out, but at very low quality, a far cry from the 720p the camera delivers. :( I tried to change height and width in the motion.conf file (was defaulted to 360x240). Bu...
by Bosse_B
Wed Feb 11, 2015 10:26 pm
Forum: Raspberry Pi OS
Topic: Print server on Pi has long connect delay
Replies: 10
Views: 1962

Re: Print server on Pi has long connect delay

Noone knows how to fix this delay?
by Bosse_B
Wed Feb 11, 2015 10:54 am
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

is it just motion detection you're after ? Well, I am thinking of setting up a camera to monitor my vacation home. I would like to be able to log on and watch the video from the camera and also to have it detect if something is happening, like a burglar entry, at which time it should save some imag...
by Bosse_B
Wed Feb 11, 2015 10:51 am
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

For the time being I bought a Logitech C270 webcam so I could familiarize myself with setting up motion. The tutorial I found seems not to be completely accurate because there are conf options that seem not to exist anymore... But the most problematic is the option videodevice, it is set by default ...
by Bosse_B
Wed Feb 11, 2015 9:53 am
Forum: Raspberry Pi OS
Topic: warning appears after upgrade on PiB
Replies: 8
Views: 1020

Re: warning appears after upgrade on PiB

Thanks,
the command listed too many lines for the PuTTY display buffer...
Had to pipe to more to see all.
Rather a big list of software!
No sign of wolfram now that I have done the remove command!
by Bosse_B
Wed Feb 11, 2015 9:06 am
Forum: General discussion
Topic: Can Pi2 be used as a webcam surveillance center?
Replies: 24
Views: 6148

Re: Can Pi2 be used as a webcam surveillance center?

After looking around a bit I am now curious to know if the Pi camera can be used with the module "motion" used in the HOWTO I linked to in my first post.
I.e. can one make a surveillance system without using a USB connected webcam?
If so are there any tutorials around?
by Bosse_B
Wed Feb 11, 2015 8:48 am
Forum: Raspberry Pi OS
Topic: Print server on Pi has long connect delay
Replies: 10
Views: 1962

Print server on Pi has long connect delay

I have configured my Pi model B running Raspbian to act as a printer server on the home network. The printer is a USB connected HP Color Laserjet CP1215 and to make the Pi work as a print server I installed CUPS. The Pi printer is shared via samba on the network with basically no restrictions for us...
by Bosse_B
Tue Feb 10, 2015 11:43 pm
Forum: Raspberry Pi OS
Topic: warning appears after upgrade on PiB
Replies: 8
Views: 1020

Re: warning appears after upgrade on PiB

OK,
now being a complete illiterate, how can I get rid of wolfram?
Can I use the command (googled):

Code: Select all

sudo apt-get remove wolfram-engine
or should it be just "wolfram" instead of "wolfram-engine"?

Is there a way to check which packages have been installed by apt-get?
by Bosse_B
Tue Feb 10, 2015 9:45 pm
Forum: Raspberry Pi OS
Topic: warning appears after upgrade on PiB
Replies: 8
Views: 1020

Re: warning appears after upgrade on PiB

What is Wolfram (well not the metal, I assume)???
I got this response:

Code: Select all

pi@raspbian-pi ~ $ dpkg -S /etc/init.d/mathkernel
wolfram-engine: /etc/init.d/mathkernel
by Bosse_B
Tue Feb 10, 2015 8:25 pm
Forum: Raspberry Pi OS
Topic: warning appears after upgrade on PiB
Replies: 8
Views: 1020

warning appears after upgrade on PiB

Today I did a sudo apt-get upgrade on my year-old Raspbian installation. During the install sequence there were a number of these warnings: insserv: warning: script 'mathkernel' missing LSB tags and overrides and these also come now when I try installation of other software. What does this mean and ...
by Bosse_B
Tue Feb 10, 2015 6:24 pm
Forum: Raspberry Pi OS
Topic: When and how to upgrade?
Replies: 4
Views: 831

Re: When and how to upgrade?

I had a look at the Pi documentation for backup and unfortunately I don't really understand it... Specifically, if I would like to make a full SD-card image backup like described in the end, it looks like I have to do it from another system? I assume that they mean: - shut down the Pi - remove the S...
by Bosse_B
Tue Feb 10, 2015 5:32 pm
Forum: Raspberry Pi OS
Topic: When and how to upgrade?
Replies: 4
Views: 831

Re: When and how to upgrade?

Thanks!
I have never done a backup on any of my 3 Pi's...
How does one do that? Seems like something one should do. Is a target network drive or such needed?

And what is the nice command? Never saw that either....
by Bosse_B
Tue Feb 10, 2015 3:34 pm
Forum: Raspberry Pi OS
Topic: When and how to upgrade?
Replies: 4
Views: 831

When and how to upgrade?

I bought a PiB (512 MB RAM) about 10 months ago in order to set it up as an OpenVPN server. I installed Raspbian on it and it has worked very well for VPN since last spring. Now I want to expand its use so I can connect a webcam to it and use it as a burglar alarm. Reading some websites on this and ...

Go to advanced search