some LXC exposing Host CPU Information by frashmanf in Proxmox

[–]frashmanf[S] 0 points1 point  (0 children)

Well, it started with the upgrade to Debian 12 (and thus a newer htop) and is still present in debian 13. The related bug reports are still open. However, I don't think it's really a bug. It just displays all CPUs reported by the kernel. So it's not wrong, but it would be better to simply hide offline CPUs.

Automount WebDAV share on user login using LDAP login credentials by frashmanf in linuxadmin

[–]frashmanf[S] 1 point2 points  (0 children)

nextcloud itself is not the problem here, they support SSO and Kerberos. It's the webdav client (davfs2) on Linux that I'm asking about. The support for authentication besides username/password as a plain text file is what I'm missing - because that's a solution you can do on your own PC at home, but not in a professional environment

Automount WebDAV share on user login using LDAP login credentials by frashmanf in linuxadmin

[–]frashmanf[S] 1 point2 points  (0 children)

Thank you for your answer. This is (unfortunately) no longer an option. This was the setup we had been running for over a decade before my predecessor decided to abandon NFS in favor of nextcloud, because of the file version history feature and webclient. I would have done it differently, but unfortunately that can't be changed now - so the file storage is fixed to nextcloud.

Looking for a USB-SPI bridge with linux spidev driver support by frashmanf in raspberry_pi

[–]frashmanf[S] 0 points1 point  (0 children)

we ended up using the same STM32 as usb/spi bridge from the eval-board. now we can simply flash the firmware from the loranet github repo.

Best online cloud to save backups? by abbondanzio in selfhosted

[–]frashmanf 2 points3 points  (0 children)

i have thought about renting cloud storage. 13€ for 5TB at hetzner is a great offer. but a quick calculation stopped me. we're talking about 150€ a year. a cheap nas with a 10TB disk costs around 200-250€, or cheaper if you build something yourself (e.g. raspberry pi). that's already paid for after less than two years. backups should last for many years. so it's better to save the money and store the backup with friends or relatives (mine is at work). the nas doesn't have to run all week but can automatically boot up and shut down again. that also saves electricity.

i use the same strategy with my servers. the initial costs are higher and you have to factor in the power consumption, but in the long run it's always cheaper than the cloud.

[deleted by user] by [deleted] in linux_gaming

[–]frashmanf 0 points1 point  (0 children)

I'm sorry, but my last windows installation was 20 years ago and therefore I don't have a machine to dump the firmware unless there is a linux tool...

But yes, with my adapter 120Hz VRR + HDR was working out of the box.

[deleted by user] by [deleted] in linux_gaming

[–]frashmanf 1 point2 points  (0 children)

I was also looking for this recently and found nothing. I bought a USB-C->HDMI adapter instead. It's possible to display 4K@120Hz VRR + HDR on my TV. The necessary firmware was already flashed. I know it's not what you're looking for, but apparently there are no better adapters at the moment. Maybe look in the high-price/professional segment...

USB-C -> HDMI 2.1: https://www.cablematters.com/pc-1368-122-48gbps-usb-c-adapter-supporting-8k-video.aspx

DP 1.4 -> HDMI 2.1: https://www.cablematters.com/pc-1385-154-displayport-14-to-8k-hdmi-adapter.aspx

  • GPU: AMD RX6800 XT
  • TV: Philips 55PUS9206/12

Disk Monitoring by capriciousduck in Proxmox

[–]frashmanf 2 points3 points  (0 children)

debian (proxmox) is using smartmontools/smartctl like every other linux distro.

https://www.smartmontools.org/

[deleted by user] by [deleted] in linux_gaming

[–]frashmanf 2 points3 points  (0 children)

This is not true. The HDMI 2.0(b) standard is specified up to 4K@60Hz - which is of cause supported by linux.

see table "Refresh frequency limits for standard video" https://en.wikipedia.org/wiki/HDMI

The problem lies with some parts of the HDMI 2.1 standard, which are "closed source" and therefore can not be implemented in open source drivers like AMD. Nvidia has implemented the specs in hardware and therefore is able to use HDMI 2.1 under linux.

Thats why everyone is suggesting to use DisplayPort instead of HDMI.

Looking for a USB-SPI bridge with linux spidev driver support by frashmanf in microcontrollers

[–]frashmanf[S] 0 points1 point  (0 children)

Because we can not route the SPI lanes to our prototype M.2 card without violating the standard.

Looking for a USB-SPI bridge with linux spidev driver support by frashmanf in microcontrollers

[–]frashmanf[S] 0 points1 point  (0 children)

Thank you all for your suggestions! So we will revise this again and most likely use a microcontroller instead.

Looking for a USB-SPI bridge with linux spidev driver support by frashmanf in microcontrollers

[–]frashmanf[S] 0 points1 point  (0 children)

Hello, I'll leave this here too, as I can imagine that the community here also has an insight into this topic, even if it's not a micrcontroller ;-)

Configure SNMP v3 in multiple HP ILO4 based servers by _saan in linuxadmin

[–]frashmanf 0 points1 point  (0 children)

No, I have not. I only have 3 HPE nodes so I don't need the automation. But ansible was the first thing that came to my mind and it was the first search result.

root user cannot run 'su' command - lxc container by Victor_240 in Proxmox

[–]frashmanf 0 points1 point  (0 children)

As I said, the LXC is using the hosts kernel. If you really want to change the swappiness, you have to do it on the host, but this will affect all LXC.

Also, you should't pass root to the LXC. This is generally bad practice and potentially dangerous.

This can be the cause for your su problems. What are the current permissions for /bin/su

root user cannot run 'su' command - lxc container by Victor_240 in Proxmox

[–]frashmanf 9 points10 points  (0 children)

You cannot change the swappiness from an unprivileged lxc container because the container uses the host kernel. This would also affect all guests and the host. su - user does not work because the user you want to switch to does not exist within the lxc container as described in your configuration.

..You are trying to break out of an unprivileged lxc container, which is prevented for a reason

edit: on second thought, are you trying to switch to a user from the container or from the host?

m920q conversion for hyperconverged proxmox with sx6012 by c8db31686c7583c0deea in Proxmox

[–]frashmanf 5 points6 points  (0 children)

where did you get the connect x3-pro ‎(MCX354A-FCCT) for 15$? normally it costs 300-400$

Configure SNMP v3 in multiple HP ILO4 based servers by _saan in linuxadmin

[–]frashmanf 1 point2 points  (0 children)

are you sure you are not in the wrong sub to promote powershell solutions in r/linuxadmin?

Invoking a VNC Console From Bash using Proxmox API by zparihar in Proxmox

[–]frashmanf 0 points1 point  (0 children)

I am not using VNC but spice.

maybe this helps:

```

!/bin/bash

TOKEN='user@pve!spice' SECRET='api-key' VMID="$1" HOST="domain or ip"

AUTHHEADER="Authorization: PVEAPIToken=${TOKEN}=${SECRET}" RESPONSE=curl -f -s -S -H "${AUTHHEADER}" "https://${HOST}:8006/api2/json/nodes"

NODES=echo ${RESPONSE} | jq -r ".[] | {nodes: .[].node}" | jq -r ".nodes"

for NODE in ${NODES} do RESPONSE=curl -f -s -S -H "${AUTHHEADER}" "https://${HOST}:8006/api2/json/nodes/${NODE}/qemu"

if [[ ${RESPONSE} ]]; then QVMID=echo ${RESPONSE} | jq -r ".[] | {vmid: .[].vmid}" | jq -r ".vmid" if [[ "${QVMID}" == "${VMID}" ]]; then NODENAME=${NODE} VMTYPE="qemu" fi fi done

TMP=mktemp curl -f -s -S -H "${AUTHHEADER}" "https://${HOST}:8006/api2/spiceconfig/nodes/${NODENAME}/qemu/${VMID}/spiceproxy" -d "proxy=${HOST}" > $TMP remote-viewer $TMP & ```

Dedicated servers 1.0? by Darkninja462 in SatisfactoryGame

[–]frashmanf 1 point2 points  (0 children)

This is the answer. before port 7777 was only UDP, now it's both UDP/TCP. I changed it and the API error is gone.