Hi,

I have a IP camera that have two power input

a DC 12V and PoE

I've lost the 12V power supply.

So I'm considering to power it trough a simple PoE injector like those

I believe those do not come with a 802.3af negotiation protocol (Not sure) so if those injector directly inject the voltage. (Here 48v) will it work ?

Did you already tried ?

Sorry I know it's not "totally" network related but if you know where I can post I'm all ears.

Thanks.

 

Hi,

I would like to backup the booted SDcard of my Raspberry pi.

I don't necessary need to backup as a hot backup[^1] So I can remove the SDcard and make the backup on another machine.

with dd

$ fdisk -l
Disk /dev/sda: 29.72 GiB .....
....
Device
/dev/sda1 ...
/dev/sda1 ...

So I first tried:

$ dd bs=4M if=/dev/sda conv=fsync status=progress | gzip > /path/path/foobar.gz

But this create a huge .gz file ! because it backup the unused space too :'(

If you know a ~simple command to just backup the used space I'm all ears.

with rpi-clone

I've discovered rpi-clone

Seem really great, too bad the github tab discussion has been not activated :/ and If the documentation is not clear enough, no way to ask the community.

EDIT: Actually it seem that it clone a SD to a full dest drive ! so not as destination file correct ??

in the README you can read:

rpi-clone-setup is for setting the hostname in /etc/hostname and /etc/hosts files.

It is run automatically by rpi-clone if -s args are given, but before your first clone using a -s option, test run rpi-clone-setup with:

rpi-clone-setup -t testhostname

So what is the purpose of the -s argument ? If you want to set another hostname into the destination backup ? why can we set fews ? Can we have few hostname for a same machine ???

and the -t argument is not even documented (if I'm not mistaken ..)

  • Did you ever tried rpi-clone ?
  • what's your 2cent about it ?
  • does rpi-clone sda promt you to confirm the destination ?
  • do know some thing else ?
  • is it possible to output the backup as a file ?


Thanks.

[^1]:Backup that can be taken while the system is running.

 

Hi,

I found online a nice (and seemed easy) math problem.

Rocket A travel from Mars to Earth in 200 days
Rocket B travel from Earth to Mars in 150 days, but take off 30 days later

When they cross each other, which one is the closet to the earth ?

So they give a "flat" answer, without giving any explanation on how they reach this conclusion.

What would be your simplest Mathematical solution for this ?

Thanks.