Spyke

Posts

IpCam and PoE

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.

View original on lemmy.ml
17

Backup boot SD card ( without unused space ) [ solved ]

Hi,

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

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

::: spoiler 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. :::

::: spoiler 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.

Footnotes

  1. Backup that can be taken while the system is running.

View original on lemmy.ml
5

Use Rsync Daemon with SSH !? [ solved ]

Hi,

I need to setup a Rsync server to backup a 😡 NAS.

So I want to run it under SSH. ::: spoiler man rsync

Also note that the rsync daemon protocol does not currently provide any encryption of the data that is transferred over the connection. Only authentication is provided. Use ssh as the transport if you want encryption. :::

but when I do rsync --config=/etc/rsyncd.conf --rsh=ssh --dry-run
I get:

rsync: --rsh=ssh: unknown option (in daemon mode) So there no way to specify that rsync daemon should run under ssh ?

Also is this following A.I statement is correct ?

The rsyncd.conf file is only used when the rsync daemon is running on the remote host and the client connects to the daemon directly, without using an SSH connection.

So there is no way with Rsync (under ssh) to set settings (config file or other) that will apply to all clients !!??
So it's the client that configure rsync and the server !? there is no way around ?!

View original on lemmy.ml
27
webdev·Web DevelopmentbyDonatello

How use AV1 video with Firefox ??

cross-posted from: https://lemmy.ml/post/22627659

Hi,

I have a couples of AV1 videos that I would like to display on a html page.

I've tried

<video controls preload="none">
    <source src="FooBar.mp4">
</video>

but it trow back

I've tried first with MKV container as it's listed on the wikipedia page.

but this is not listed on the mozilla page https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs 🤔

Confusing.. as I found also this in the firefox release note:

Firefox 97 and later versions support AV1 video in the MKV container.

So WTF !?

I've tried also

<video controls preload="none">
    <source src="FooBar.mp4" type="video/webm; codecs='av01.0.08M.08'">
</video>

but that change nothing...

Any ideas ?

Thanks.

View original on lemmy.ml
11
firefox·FirefoxbyDonatello

How use av1 video with Firefox ?? [~solved]

cross-posted from: https://lemmy.ml/post/22627659

Hi,

I have a couples of AV1 videos that I would like to display on a html page.

I've tried

<video controls preload="none">
    <source src="FooBar.mp4">
</video>

but it trow back

I've tried first with MKV container as it's listed on the wikipedia page.

but this is not listed on the mozilla page https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Video_codecs 🤔

Confusing.. as I found also this in the firefox release note:

Firefox 97 and later versions support AV1 video in the MKV container.

So WTF !?

I've tried also

<video controls preload="none">
    <source src="FooBar.mp4" type="video/webm; codecs='av01.0.08M.08'">
</video>

but that change nothing...

Any ideas ?

Thanks.

View original on lemmy.ml
17
math·A place for everything about mathbyDonatello

Need help with simple math problem.

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.

View original on lemmy.ml
8
android·AndroidbyDonatello

Features of Dual sim on Android ?

Hi,

I've been looking info on how work (features available etc..) Dual sim on android . But all the websites talking about it trow back

https://stallman.org/cloudflare.html

Does someone have an URL that is not censored "protected" by cloudflare ?

Thanks.

::: spoiler This question might have been already asked ? Sorry if this question might have been asked.. But it seem Lemmy of search option, like search within a community and by title only.... :::

View original on lemmy.ml
8
right2repair·Right to RepairbyDonatello

Where found Li-po battery in west europe ?

cross-posted from: https://lemmy.ml/post/12024688

Hi,

I'm looking for a Li-po battery : 3.7V 90mAh

In my country there isn't anymore an electronic shop that can sell it at a reasonable prices.. (taxes etc..)

On Aliexpress I can found them at ~2€ but the postal fee do not make it worth-it.. (~10€)

I travel a lot in Europe (west) so may-be you know still IRL shops where I can buy them ?

Thanks.

View original on lemmy.ml
10

You reached the end