WbrJr

joined 1 year ago
[–] WbrJr@lemmy.ml 1 points 1 week ago

Haben die das nicht selber schon aus Eigeninteresse gelesen? Ich glaube wir haben ein ganz anderes problem

[–] WbrJr@lemmy.ml 2 points 1 week ago

I did not know they had a new slogan

[–] WbrJr@lemmy.ml 1 points 1 week ago* (last edited 1 week ago)

.2mm would be to little for me. I got my ender 3 pro to .05 and reley on that in my engineering designs

[–] WbrJr@lemmy.ml 0 points 1 month ago (1 children)

Thanks for the advice, i was thinking about it anyways :) i used the proxmox ve helper scripts: https://tteck.github.io/Proxmox/ to install it

 

Hi there, I just installed Proxmox on my home server and like the idea a lot, but there is a noticable learning curve. I used this wonderful website and the provided link for home assistant os.

Usually home assistant is available at homeassistant.local without any configuration, i think its called mdns? But on my setup, homeassistant.local does not work for me, on any device, but the ip does.

So i suspect some settings in the proxmox firewall stops the ha vm mdns service from creating an entry in my router (fritzbox). I could not find any useful information about this though, and AI gave me the usual not quite helpful advice.

I hope you have some tips what i can check. Thanks a lot!

ps: I want to host caddy as a reverse proxy on the server some day. Does it make more sense to host a dns server as well and use caddy to forward to the ip?

[–] WbrJr@lemmy.ml 2 points 1 month ago

My friends had about the same amount oft issues with their thinkpad as me with the fw.

I agree, that there are many issues, but you don't notice them in daily use.

The support is very good with most people, I seem to have bad luck, but once I got someone helpful, it got solved super quick.

I still recommend fw. I wish they would redo the fw13 and improve upon all the little issues everyone had, but mine still goes strong and I hope it will for many years to come

[–] WbrJr@lemmy.ml 1 points 1 month ago

Aber sobald die Figur weg genommen wird, stoppt doch die Wiedergabe, nicht? Dann müsste ja dauerhaft gescheckt werden ob das ding dtsuf steht. Aber vielleicht war das hier nur Zufall und die Kommunikation hat sich genau so verschoben, dass es gepasst hat

[–] WbrJr@lemmy.ml 1 points 1 month ago

I would not even say so. It tool me maybe a weekend to und erstand the concepts. I had no other selfhosting experience before. Specialy docker compose is almost plug and play

[–] WbrJr@lemmy.ml 3 points 1 month ago

WIE KANN SOWAS NOCH SEIN. also ich hab noch nicht viel entwickelt, aber wenn ich doch grade was mit Passwörtern baue, achtet man doch drauf, dass die nicht im Klartext abgespeichert werden! Das verstehe ich irgendwie wirklich nicht...

[–] WbrJr@lemmy.ml 2 points 2 months ago (1 children)

Crossposts Form reddit? I though about building a bot that posts the top 3 posts every day to the correspinding lemmy instance, just to get more posts here.

I Mike lemmy for its very technical posts but sometimes i would like some more shitposts here :D

[–] WbrJr@lemmy.ml 5 points 2 months ago (3 children)

created by deletor

[–] WbrJr@lemmy.ml 2 points 2 months ago (2 children)

Das hat funktioniert!? Ich hätte geschworen das kann nicht gehen, weil der RFID Tag lustige Sachen macht und nur mit einem gerät reden kann. Grade weil die Figuren ja gesprerrte chips verwenden die nur von der box frei geschaltet werden kann. Gibt (irgendwo hier verlinkt) einen talk dazu vom 37c3!

[–] WbrJr@lemmy.ml 9 points 2 months ago

Im not in this field, but the risk is that flatpak can be distributed by anyone? But flathub provides validated Tag for entities provoding trustworthy flatpaks, no?

 

Update: I was overwhelmed by settings. After some more research and thinking I got it working. My dns was set up incorrectly, i referenced the container with the wrong name (the name of the container is not the container_name, but the name of the service in the docker compose file). I then had some other issues with port collisions but could resolve them by killing (docker stop) thingsboard and restarting all services.

So: problem solved! thanks for the answers though!

Hi! I have a server with static ip, that runs docker with caddy and thingsboard (iot dashboard). I have my domain, that points to the servers ip (both ipv4 and ipv6). (I tried using with "www" and with wilcard "*" in the A and AAAA records)

Thingsboard can be reached in the browser via ip:8080, or domain.com:8080 (or with the wildcard "*" set in DNS records with (anything).domain.com:8080). It is set up this way by the creators, where i got the compose file (without caddy) guide here. So i guess no routing is done via caddy.

the caddyfile looks like this:

thingsboard.domain.com {
	tls internal
	reverse_proxy thingsboard:8080
}

Thingsboard cant be reached via thingsboard.domain.com which i would be expecting with this config. Below is the compose file. They are all part of the same docker network (they get listed when i inspect the network).

some specific questions:

  • how do i have to setup my dns records, so that all requests to any subdomain get send to caddy and i can do all the routing (from the subdomain to the service) in caddy? What am i missing in the caddyfile
  • can i deactivate the port from the thingsboard container, so it cant be reached via the port from "outside" only from inside the docker network, by caddy?
  • why am i struggling so much with this basic docker and networking stuff "docker is easy, you should try it" :D

Thanks a lot for reading, i hope someone can help! I dont know what to search for to get this working, networking stuff is still a blurr.

Here is the docker compose file:

services:
  caddy:
    image: caddy:latest
    container_name: caddy
    restart: unless-stopped
    cap_add:
      - NET_ADMIN
    ports:
      - "80:80"
      - "443:443"
      - "443:443/udp"
    volumes:
      - /srv/caddy/Caddyfile:/etc/caddy/Caddyfile
      - /srv/caddy/site:/srv
      - caddy_data:/data
      - caddy_config:/config
    networks:
      - caddy_network


  kafka:
    restart: unless-stopped
    image: bitnami/kafka:3.8.1
    container_name: kafka
    ports:
      - 9092:9092 #to localhost:9092 from host machine
      - 9093 #for Kraft
      - 9094 #to kafka:9094 from within Docker network
    environment:
      ALLOW_PLAINTEXT_LISTENER: "yes"
      KAFKA_CFG_LISTENERS: "OUTSIDE://:9092,CONTROLLER://:9093,INSIDE://:9094"
      KAFKA_CFG_ADVERTISED_LISTENERS: "OUTSIDE://localhost:9092,INSIDE://kafka:9094"
      KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP: "INSIDE:PLAINTEXT,OUTSIDE:PLAINTEXT,CONTROLLER:PLAINTEXT"
      KAFKA_CFG_INTER_BROKER_LISTENER_NAME: "INSIDE"
      KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false"
      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: "1"
      KAFKA_TRANSACTION_STATE_LOG_MIN_ISR: "1"
      KAFKA_TRANSACTION_STATE_LOG_REPLICATION_FACTOR: "1"
      KAFKA_CFG_PROCESS_ROLES: "controller,broker" #KRaft
      KAFKA_CFG_NODE_ID: "0" #KRaft
      KAFKA_CFG_CONTROLLER_LISTENER_NAMES: "CONTROLLER" #KRaft
      KAFKA_CFG_CONTROLLER_QUORUM_VOTERS: "0@kafka:9093" #KRaft
    networks:
      - caddy_network
    volumes:
      - /srv/thingsboard/kafka-data:/bitnami
  mytb:
    restart: unless-stopped
    container_name: thingsboard
    image: "thingsboard/tb-postgres"
    depends_on:
      - kafka
    ports:
      - "8080:9090"
      - "1883:1883"
      - "7070:7070"
      - "5683-5688:5683-5688/udp"
    environment:
      TB_QUEUE_TYPE: kafka
      TB_KAFKA_SERVERS: kafka:9094
    networks:
      - caddy_network
    volumes:
      - /srv/thingsboard/.mytb-data:/data
      - /srv/thingsboard/.mytb-logs:/var/log/thingsboard



#general networks
networks:
    caddy_network:
      driver: bridge
      ipam:
        config:
          - subnet: 172.20.0.0/24


#general Volumes:
volumes:
  caddy_data:
  caddy_config:
  kafka-data:
    driver: local
18
submitted 2 months ago* (last edited 2 months ago) by WbrJr@lemmy.ml to c/linux@lemmy.ml
 

Update: It was a usb 3 hub that did not work with linux. plugging it into a usb2 port on the pc improved boot time. its now 25 sec!

Hi there! So i build a new pc with hardware < year old and installed mint on it and it takes annoyingly long to boot, 1:50min from the output of systemd-analyze:

Startup finished in 14.075s (firmware) + 10.681s (loader) + 51.070s (kernel) + 34.573s (userspace) = 1min 50.400s 
graphical.target reached after 34.570s in userspace.

The 50sec on kernel boot seems strange to me, maybe 34sec of userspace as well.

It seems to be the systemd-usdev-settle.service according to the output of systemd-analyze blame:

29.451s systemd-udev-settle.service
 3.254s NetworkManager-wait-online.service
  948ms zfs-load-module.service
  491ms NetworkManager.service
  154ms blueman-mechanism.service

The output of systemctl status systemd-udev-settle.service shows:

systemd-udev-settle.service - Wait for udev To Complete Device Initialization
     Loaded: loaded (/usr/lib/systemd/system/systemd-udev-settle.service; static)
     Active: active (exited) since Wed 2025-01-22 12:06:16 CET; 5min ago
       Docs: man:systemd-udev-settle.service(8)
   Main PID: 526 (code=exited, status=0/SUCCESS)
        CPU: 2ms

Jan 22 12:05:47 tower systemd[1]: Starting systemd-udev-settle.service - Wait for udev To Complete Device Initialization...
Jan 22 12:05:47 tower udevadm[526]: systemd-udev-settle.service is deprecated. Please fix zfs-load-module.service, zfs-import-cache.service not to pull it in.
Jan 22 12:06:16 tower systemd[1]: Finished systemd-udev-settle.service - Wait for udev To Complete Device Initialization.

So i think i need to fix the zfs modules, because they slow udev down, but how?

Any other tips to improve boot time of my system? Ubuntu on my 4 yo laptop takes maybe 20-30 seconds to boot, so linux should be a lot faster. I appreciate any helpl!

 

Hi there! This is quite the annoying issue how programs (like btiwig now or many others before) handle the google drive that is connected to my explorer. In Ubuntu, Fedora and now Mint, many programs do not display my google drive when i want to save my projects or open files and stuff like that.

What is you approach on working with cloud storage or network drives? Or is there a solution, like different explorer or account handler? Thanks, I really how anyone can help :)

 

Hi! I am trying to set up a wireguard client in docker. I use the linuxserver image, I it running in server mode on a different machine (exactly the same ubuntu version) and i can login with my laptop to the wireguard server, but the docker wg-client has problems, i hope someone has an idea :)

The client docker container has trouble starting and throws this error: [___](modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/6.8.0-47-generic ip6tables-restore v1.8.10 (legacy): ip6tables-restore: unable to initialize table 'raw' Error occurred at line: 1 Try 'ip6tables-restore -h' or 'ip6tables-restore --help' for more information. )

I copied the config to the server with the wg server running, it has the same problem with the client. I can ping google.com from inside the server container, but not from inside the client container. Here is the output of the 'route' cmd from the client:Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.18.0.0 * 255.255.0.0 U 0 0 0 eth0

I searched for a solution quite a bit, but cant seem to find something that works. changed the .yml compose file according to some suggestions but without success.

I tried to install the missing module but could not get it working.

Its a completely clean install of ubuntu 24.04.1 LTS, Kernel: Linux 6.8.0-47-generic.

here is the compose file, in case its needed, it should be exact same one as provided by linux-server in their github:

compose file:

services:
  wireguard:
    image: lscr.io/linuxserver/wireguard:latest
    container_name: wireguard-client
    cap_add:
      - NET_ADMIN
      - SYS_MODULE #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
#      - SERVERURL=wireguard.domain.com #optional
#      - SERVERPORT=51820 #optional
#      - PEERS=1 #optional
#      - PEERDNS=auto #optional
#      - INTERNAL_SUBNET=10.13.13.0 #optional
#      - ALLOWEDIPS=0.0.0.0/0 #optional
#      - PERSISTENTKEEPALIVE_PEERS= #optional
#      - LOG_CONFS=true #optional
    volumes:
      - /srv/wireguard/config:/config
#      - /lib/modules:/lib/modules #optional
    ports:
      - 51820:51820/udp
    sysctls:
      - net.ipv4.conf.all.src_valid_mark=1
    restart: unless-stopped

here is the complete error log from the wg-client docker:

error

[migrations] started
[migrations] no migrations found
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
WireGuard: https://www.wireguard.com/donations/

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: 1.0.20210914-r4-ls55
Build-date: 2024-10-10T11:23:38+00:00
───────────────────────────────────────
    
Uname info: Linux ec3813b50277 6.8.0-47-generic #47-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 27 21:40:26 UTC 2024 x86_64 GNU/Linux
**** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****
**** Client mode selected. ****
[custom-init] No custom files found, skipping...
**** Disabling CoreDNS ****
**** Found WG conf /config/wg_confs/peer1.conf, adding to list ****
**** Activating tunnel /config/wg_confs/peer1.conf ****
[#] ip link add peer1 type wireguard
[#] wg setconf peer1 /dev/fd/63
[#] ip -4 address add 10.13.13.2 dev peer1
[#] ip link set mtu 1420 up dev peer1
[#] resolvconf -a peer1 -m 0 -x
s6-rc: fatal: unable to take locks: Resource busy
[#] wg set peer1 fwmark 51820
[#] ip -6 route add ::/0 dev peer1 table 51820
[#] ip -6 rule add not fwmark 51820 table 51820
[#] ip -6 rule add table main suppress_prefixlength 0
[#] ip6tables-restore -n
modprobe: FATAL: Module ip6_tables not found in directory /lib/modules/6.8.0-47-generic
ip6tables-restore v1.8.10 (legacy): ip6tables-restore: unable to initialize table 'raw'
Error occurred at line: 1
Try `ip6tables-restore -h' or 'ip6tables-restore --help' for more information.
[#] resolvconf -d peer1 -f
s6-rc: fatal: unable to take locks: Resource busy
[#] ip -6 rule delete table 51820
[#] ip -6 rule delete table main suppress_prefixlength 0
[#] ip link delete dev peer1
**** Tunnel /config/wg_confs/peer1.conf failed, will stop all others! ****
**** All tunnels are now down. Please fix the tunnel config /config/wg_confs/peer1.conf and restart the container ****
[ls.io-init] done.

Thanks a lot. I appreciate every input!

 

So I am working on my home server. I installed docker and use a dnsmasq container as my dns server to resolve local ip adresses.

Laptop and server are both linux (ubuntu LTS 24.4)

What works:

  • 'resolvectl status' shows the ip of my dns server
  • i can ping the ip of the dns server (that will run other stuff like nextcloud soon as well)
  • i can use nslookup to resovle server.local to the correct ip address (even after changing the entry, so its not the cache in my laptop)

what does not work:

  • i can not ping server.local (- for testing i have to stop the systemd-resolved.service to run the dnsmasq server, or else there are port collisions, but that should not be the problem i guess. I am happy to hear your solution :))
  • i can also not use ssh to log in to server.local, ip address works

What am i missing?

Thanks a lot already! BTW: ZFS is crazy nice :D

 

Hi! Im searching for a midi keyboard that meets these requirements:

  • has a nice feel to it, preferably slightly weighted keys (currently I have a Yamaha keyboard, that feels a little too cheap for my taste)
  • is as flat as possible, so I can store it under my desk in a drawer
  • I don't care about knobs, pads or daw control
  • maybe 40-50 keys? I'm flexible on that one

I would like to stay under 200€.

Thanks a lot!

 

I am using ableton for years now, just as a creative outlet on the side. Linux is my daily driver on my laptop and I aim to replace windows on my desktop soon as well. But ableton keeps me from moving on, so I took a look at bitwig. I do not have any external plugins or vsts, which works great for me with the native stuff in ableton. But I'm afraid bitwig lacks the same broad selection of effects and instruments. What is your experience and recommendation regarding plugins? I also kind of like what bitwig does to the workflow.

How is your experience with the ableton push in bitwig?

Thanks a lot in advance!

 

In other cad programs i use two points of a sketch to extrude a feature. In freecad it does not seem to be possible. What are your recommended workarounds for that?

I would like to extrude the base not just from the face of the sketch, but from point 1 to point 2 on the side view sketch. This workflow proved very robust in other cad tools, but I cant get it work in freecad.

Thanks a lot in advance!

 

Hey there! I just found a very nice offer for the 4i4 audio interface. Do I understand correctly, that there are 3 differen audio outputs that I can rout to? So main1 and main2 and headphones? I would like to route my Ableton headphones out (what gets played when selecting instruments and stuff like that) to the actual headphones channel instead of the main out?

Thanks a lot in advance, happy producing!

 

Hi! I started to fiddle around with freecad a little again tonight. I still find many things unintuitive. And I just watched a video about master sketches, because they are essential in my workflow on other programs. It makes it soo much easier to keep the overview and change little things quickly because I don't have to search for the responsible sketch.

In this video the person demonstrates at around 9:15 how to use the master sketch as a reference in the sub bodies. I can get used to only get one body from a sketch, but man, how many steps does it take to just reference a sketch?! You even need to use a differen workbech, use the clone tool, but not this one and then drag and drop the duplicate into the same body you are working on? Why?! I mean the sketch is right there, just let me click it!!

This got me wondering it those rough workflows are just designed badly or if this is a limitation of the engine or whstevery it's called, that freecad is based on? Because in my limited programming mind it does not make a difference what file is referenced. If it is some file on a directory above, just use something like "./" Before to go up one directory.

And I think those little things that just work in other cad software, makes freecad so much less approcavhabel and so much harder to jump in.

If I want to make a complicated part, that is not just a box with a hole, I don't want to Google around until I found a solution, I want the intuitive solution to work without 3 extra steps. This just hinders my design process a lot.

Maybe someone knows how freecad works on the background and can explain why freecad works like that.

Thanks!

 

Hey there! I love the idea of freecad. But I have so many troubls learning it. I started with fusion360, used solidworks for some time, used inventor a bit and use onshape mostly now. So I think I know how to navigate and learn new cad software. But its not as easy with freecad sadly.

I Would love this product to be more accessable and easier to use and undertand. What can we do besides jumping in on developing ourselves?

Switching form fusion or onshape to freecad feels like switching from python to assamlby.

So how can we help to improve freecad and make it a more usable program? It seems as if the devs try to reinvent everything and every menue compared to all other cad programs i have used. I am totaly fine with some issues or bugs, but i feel like its not up for success currently.

Thanks a lot, I hope you have some ideas

view more: next ›