TCB13

joined 2 years ago
[–] TCB13 1 points 5 days ago* (last edited 5 days ago)

What you're missing there is that the Europe you describe is only a small sub-set of countries. The rest are committing atrocities against their own people in the form of continuously increasing the number of people living close to poverty and by enacting policies that ended up making majority of the youngest generations unable to buy/rent homes and/or eventually have children.

[–] TCB13 5 points 1 week ago
[–] TCB13 0 points 1 week ago

Complete history of Ubuntu: a lot of ~~highs, a lot of lows~~ bugs and poor decisions.

There, fixed for you.

[–] TCB13 2 points 1 week ago* (last edited 1 week ago)

The nixCraft headline is stupid, just because you are running on IPv6 without any NAT doesn't mean your router doesn't block incoming IPv6 traffic to hosts on the network - this is actually the default in 99.9999% of devices.

[–] TCB13 1 points 2 weeks ago

Yeah, I was typing that on the phone... thanks for the link:

As the node runs as the root user in order to run plugins as any needed user, it now only listens on localhost as a security measure. You have to edit munin-node.conf in order to listen to the network, and add the master’s IP on the authorized list.

So, I guess the best approach is to just run it inside a management network / internal VPN to avoid exposing the port to the internet.

[–] TCB13 1 points 2 weeks ago (3 children)

Looks cool, what about security? Since you’re experienced with it, how does it access the information of the nodes and how secure or insecure that may be? At the end of the day I don’t want to open a port on all nodes just to have it be used as root access to those machines…

[–] TCB13 1 points 2 weeks ago

Looks cool, but well the Linux app ecosystem and the inability to standardize anything and/or have simple binaries. I really don't get the people that go for Linux for privacy/preservation/not-dependent-constantly-on-the-internet and then everything is a repository hosted somewhere that's hard to archive or crazy container-like formats.

[–] TCB13 1 points 2 weeks ago (1 children)

Because Europe, but as you can see the OpenWrt One makes no sense when the BPI-Wifi5 is half the price and the R3 is a 35€ more expensive but has multiple ethernet posts, SFP and a ton of other IO. In fact even for the US market I don't see the price of the OpenWrt One making any sense, because the others are cheaper over there as well.

[–] TCB13 3 points 2 weeks ago

I have no complaints about their QC but well, samples are samples.

[–] TCB13 2 points 2 weeks ago

Or... a decent Openwrt router like the Banana Pi BPI-R3. I believe the only argument for those kinds of devices is the Wifi support but I don't believe the price and specs on the device shared by the OP are reasonable at all. If you don't need Wifi, then yes, a good SBC and a cheap switch will be a much better alternative.

 

I'm looking for an application (windows or maybe web) that can be used to combine images vertically and horizontally. I usually go with PhotoScape (screenshot) to for this but that's not free nor updated anymore. Important features for me are to be able to combine horizontally or vertically, set the number or rows or columns and have the ability to resize the final image.

Thank you.

90
submitted 1 year ago* (last edited 1 year ago) by TCB13 to c/selfhosted
 

The Banana Pi BPI-M7 single board computer is equipped with up to 32GB RAM and 128GB eMMC flash, and features an M.2 2280 socket for one NVMe SSD, three display interfaces (HDMI, USB-C, MIPI DSI), two camera connectors, dual 2.5GbE, WiFi 6 and Bluetooth 5.2, a few USB ports, and a 40-pin GPIO header for expansion.

 

Yet another win for Systemd.

57
Deleted Posts (self.linux)
 

I've notice that posts in this community tend to get deleted, even ones with multiple comments and/or useful information. Even worse is when they get posted again by some other user a few days later.

What's going on? What's the policy around here?

 

cross-posted from: https://lemmy.world/post/7123708

In this article, you will discover the ISO images that Debian offers and learn where and how to download them. I’ll also provide some useful tips on how to use Jigdo to archive the complete Debian repository into ISO images.

16
submitted 1 year ago* (last edited 1 year ago) by TCB13 to c/[email protected]
 

tr:dr; he says "x86 took over the server market" because it was the same architecture developers in companies had on their machines thus it made it very easy to develop applications on their machines to then ship to the servers.

Now this, among others he made, are very good points on how and why it is hard for ARM to get mainstream on the datacenter, however I also feel like he kind lost touch with reality on this one...

He's comparing two very different situations, more specifically eras. Developers aren't so tied anymore like they used to be to the underlaying hardware. The software development market evolved from C to very high language languages such as Javascript/Typescript and the majority of stuff developed is done or will be done in those languages thus the CPU architecture becomes irrelevant.

Obviously very big companies such as Google, Microsoft and Amazon are more than happy to pay the little "tax" to ensure Javascript runs fine on ARM than to pay the big bucks they pay for x86..

What are your thoughts?

6
submitted 1 year ago* (last edited 1 year ago) by TCB13 to c/[email protected]
 

Debian 12.1 (6.1.0-11-amd64) running LXD/LXC and on an unprivileged container setting security.idmap.isolated=true seems to fail to update the owner/group of the container's files.

Here is an example:

# lxc launch images:debian/12 debian
(...)

# lxc config get debian volatile.idmap.base
296608

# lxc stop debian
Error: The instance is already stopped

# lxc config set debian security.idmap.isolated true

# lxc config get debian security.idmap.isolated
true

# lxc start debian

Now if I list the files on the container volume I'll get they're all owned by the host root user:

# ls -la /mnt/NVME1/lxd/containers/debian/rootfs/
total 24
drwxr-xr-x 1 root   root  154 Sep  5 06:28 .
d--x------ 1 296608 root   78 Sep  5 15:59 ..
lrwxrwxrwx 1 root   root    7 Sep  5 06:25 bin -> usr/bin
drwxr-xr-x 1 root   root    0 Jul 14 17:00 boot
drwxr-xr-x 1 root   root    0 Sep  5 06:28 dev
drwxr-xr-x 1 root   root 1570 Sep  5 06:28 etc

I tried multiple versions of LXD/LXC. This happens with both 5.0.2 from apt as well with 4.0 and 5.17 (latest) from snap.

Interestingly enough I have another Debian 10 (4.19.0-25-amd64) running and older LXD 4 from snap and on that one things work as expected:

# ls -la /mnt/NVME1/lxd/containers/debian/rootfs/
total 0
drwxr-xr-x 1 1065536 1065536  138 Oct 29  2020 .
d--x------ 1 1065536 root      78 Oct 14  2020 ..
drwxr-xr-x 1 1065536 1065536 1328 Jul 24 19:07 bin
drwxr-xr-x 1 1065536 1065536    0 Sep 19  2020 boot
drwxr-xr-x 1 1065536 1065536    0 Oct 14  2020 dev
drwxr-xr-x 1 1065536 1065536 1716 Jul 24 19:08 etc

As you can see on this systems all the files are owned by 1065536:1065536.


Update:

I tried to probe around the maps with lxc config show debian in both machines and I saw this:

Machine running Debian 10:

security.idmap.isolated: "true"
(...)
volatile.idmap.base: "1065536"
volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1065536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1065536,"Nsid":0,"Maprange":65536}]'
volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1065536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1065536,"Nsid":0,"Maprange":65536}]'
volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1065536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1065536,"Nsid":0,"Maprange":65536}]'

Machine running Debian 12:

security.idmap.isolated: "true"
(...)
volatile.idmap.base: "231072"
volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":231072,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":231072,"Nsid":0,"Maprange":65536}]'
volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":231072,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":231072,"Nsid":0,"Maprange":65536}]'
volatile.last_state.idmap: '[]'

Why didn't it populate volatile.last_state.idmap: '[]'?

How can I fix it? Thank you.

16
submitted 1 year ago* (last edited 1 year ago) by TCB13 to c/[email protected]
 

Debian 12.1 (6.1.0-11-amd64) running LXD/LXC and on an unprivileged container setting security.idmap.isolated=true seems to fail to update the owner/group of the container's files.

Here is an example:

# lxc launch images:debian/12 debian
(...)

# lxc config get debian volatile.idmap.base
296608

# lxc stop debian
Error: The instance is already stopped

# lxc config set debian security.idmap.isolated true

# lxc config get debian security.idmap.isolated
true

# lxc start debian

Now if I list the files on the container volume I'll get they're all owned by the host root user:

# ls -la /mnt/NVME1/lxd/containers/debian/rootfs/
total 24
drwxr-xr-x 1 root   root  154 Sep  5 06:28 .
d--x------ 1 296608 root   78 Sep  5 15:59 ..
lrwxrwxrwx 1 root   root    7 Sep  5 06:25 bin -> usr/bin
drwxr-xr-x 1 root   root    0 Jul 14 17:00 boot
drwxr-xr-x 1 root   root    0 Sep  5 06:28 dev
drwxr-xr-x 1 root   root 1570 Sep  5 06:28 etc

I tried multiple versions of LXD/LXC. This happens with both 5.0.2 from apt as well with 4.0 and 5.17 (latest) from snap.

Interestingly enough I have another Debian 10 (4.19.0-25-amd64) running and older LXD 4 from snap and on that one things work as expected:

# ls -la /mnt/NVME1/lxd/containers/debian/rootfs/
total 0
drwxr-xr-x 1 1065536 1065536  138 Oct 29  2020 .
d--x------ 1 1065536 root      78 Oct 14  2020 ..
drwxr-xr-x 1 1065536 1065536 1328 Jul 24 19:07 bin
drwxr-xr-x 1 1065536 1065536    0 Sep 19  2020 boot
drwxr-xr-x 1 1065536 1065536    0 Oct 14  2020 dev
drwxr-xr-x 1 1065536 1065536 1716 Jul 24 19:08 etc

As you can see on this systems all the files are owned by 1065536:1065536.


Update:

I tried to probe around the maps with lxc config show debian in both machines and I saw this:

Machine running Debian 10:

security.idmap.isolated: "true"
(...)
volatile.idmap.base: "1065536"
volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1065536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1065536,"Nsid":0,"Maprange":65536}]'
volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1065536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1065536,"Nsid":0,"Maprange":65536}]'
volatile.last_state.idmap: '[{"Isuid":true,"Isgid":false,"Hostid":1065536,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":1065536,"Nsid":0,"Maprange":65536}]'

Machine running Debian 12:

security.idmap.isolated: "true"
(...)
volatile.idmap.base: "231072"
volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":231072,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":231072,"Nsid":0,"Maprange":65536}]'
volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":231072,"Nsid":0,"Maprange":65536},{"Isuid":false,"Isgid":true,"Hostid":231072,"Nsid":0,"Maprange":65536}]'
volatile.last_state.idmap: '[]'

Why didn't it populate volatile.last_state.idmap: '[]'?

How can I fix it? Thank you.

-4
submitted 1 year ago* (last edited 1 year ago) by TCB13 to c/selfhosted
 

Hello,

There's this website https://weather.ambient-mixer.com/the-perfect-storm that has a nice mixer of background sounds / ambient music.

I would like to know if it's possible to somehow possible to rip the player and all the music it allows on the channel mixers to use offline.

The same question also applies to those:

https://mynoise.net/NoiseMachines/rainNoiseGenerator.php https://mynoise.net/NoiseMachines/thunderNoiseGenerator.php https://mynoise.net/NoiseMachines/fireNoiseGenerator.php

Thank you.

2
submitted 1 year ago* (last edited 1 year ago) by TCB13 to c/[email protected]
 

Some years ago, before LEDs were a thing, I bought an Ultrafire WF-500 Flashlight that features a Xeon light bulb. As you might imagine the bulb reached its lifetime and burned away.

Now a replacement bulb is available here https://www.ebay.com/itm/321916301663 the thing is that it will cost me 35€ and for that price I could just buy a new LED flashlight.

Now I was considering trying to adapt a generic LED bulb like this one here https://www.aliexpress.com/item/1005002419159094.html?mp=1.

Anyone else with this model of flashlight succeed at a similar mod? Any LED bulb recommendations? Or... is there any other source for the original bulb at a lower cost?

Some photos:

Thank you.

9
submitted 1 year ago* (last edited 1 year ago) by TCB13 to c/diy
 

Some years ago, before LEDs were a thing, I bought an Ultrafire WF-500 Flashlight that features a Xeon light bulb. As you might imagine the bulb reached its lifetime and burned away.

Now a replacement bulb is available here https://www.ebay.com/itm/321916301663 the thing is that it will cost me 35€ and for that price I could just buy a new LED flashlight.

Now I was considering trying to adapt a generic LED bulb like this one here https://www.aliexpress.com/item/1005002419159094.html?mp=1.

Anyone else with this model of flashlight succeed at a similar mod? Any LED bulb recommendations? Or... is there any other source for the original bulb at a lower cost?

Some photos:

Thank you.

 

Some years ago, before LEDs were a thing, I bought an Ultrafire WF-500 Flashlight that features a Xeon light bulb. As you might imagine the bulb reached its lifetime and burned away.

Now a replacement bulb is available here https://www.ebay.com/itm/321916301663 the thing is that it will cost me 35€ and for that price I could just buy a new LED flashlight.

Now I was considering trying to adapt a generic LED bulb like this one here https://www.aliexpress.com/item/1005002419159094.html?mp=1.

Anyone else with this model of flashlight succeed at a similar mod? Any LED bulb recommendations? Or... is there any other source for the original bulb at a lower cost?

Some photos:

Thank you.

view more: ‹ prev next ›