WbrJr

joined 2 years ago
[–] WbrJr@lemmy.ml 2 points 1 week ago (1 children)

Isn't matter just a standard, that runs on multiple Protokolls like ZigBee or wifi?

[–] WbrJr@lemmy.ml 1 points 3 weeks ago (1 children)

So I am in a vicious cycle. I start doing something, notice there is a better way, change my setup and restart. So from just Ubuntu server, I developed to proxmox. From documenting everything manuall in joplin, i am now using ansible. I started with wireguard, then tailscale with selfhosted headscale. I try to get my setup right on the first try, which i notice is stupid as I am writing. It just hinders me to make progress. I think I should rather try to get it up and running as fast as possible (and securely of cause) to make progress and fail fast maybe? And I like all the changes I made, I think they were the right choice, but its a bit tiering. And I like ansible, I just have the urge to automate absolutely everything, so I can redeploy everything right after I installed proxmox. Which is not necessary at all at this stage, idk :D Maybe someone has some tips how to overcome perfectionism?

[–] WbrJr@lemmy.ml -2 points 3 weeks ago (1 children)

Thanks for your reply!

I know about the distribution of power, that has a kind of pyramid shape, sorry for the lack of vocabulary. I have also seen videos, of cause one sided, from people that lived in China for some time and displaying their view. One very popular story is the "they paint their grass green", which I understood as follows: There is the goal of having a certain amount of green land in the country, so each region trys to reach that goal and show the higher ups how good it is going by having green grass and hills. This is of cause a very simplified scenario, but I have read a few other things that aren't so great. Of cause you can say the same thing about many other western and global north countries, but very few people are so emotional and strong opinionated as supporters of China, some north korea or Russia. I feel like i have not read a comment with such a strong opinion about any other country here on Lemmy.

I see that the view of most westerns is shifted from reality, but I have not read a comment that seems to see both sides of that country, it seems very extremistic.

Now when I think of China, these things come to mind:

  • the Uighurs
  • not quite working democracy
  • extreme surveillance
  • stories of people getting herassed by the police for criticising the state or being different (Naomi Wu on yt for example)
  • impressive industrial development in the last few decades
  • high working ethics
  • creativity in engineering
  • skilled labour
  • high building rates of solar and renewable energy sources
  • also high coal production and high building rates of coal power plants
  • high censorship, as it can be seen with deepseek and other AI or media
  • stories about testing radioactivity on a village
  • striving for higher environmental regulations in the industry
  • affiliation with Russia, that invaded Ukraine (after the Nato got closer of cause, which might be seen as a provocative move)
  • affiliation with north korea, which is a different conversation
  • their problem with Taiwan and tsmc
  • hard working conditions in factories (owned by western companies sometimes, but the government is supposed to protect the citizens in my view)

Now this is of cause not at all everything and I am aware its a view fuelled by western media. But if half of those things are true, its still not going great.

I don't want to talk China down, I want to understand why so many people in this space are pro china, when I see the government as pretty critical. I know the us is putting a ton of effort into discredit other forms of government or markets, and there are for sure a few points in this list that is heavily influenced by them.

[–] WbrJr@lemmy.ml 2 points 4 weeks ago

Caddy is nice and super simple. Only issue I had was: it can't control domains if its behind a VPN. I use hetzner and they have an API, but the feature is not native to caddy so I would have had to rebuild caddy as an docker image. Rather annoying tbh, because everything else is great about it

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

I am sorry to hear that. Do you mean the chaos computer club with CCC? In my experience the CCC is incredible accepting and welcoming for everyone no matter who. I hope you give them another chance, they do important work.

[–] WbrJr@lemmy.ml 1 points 6 months ago

You can, they partner with a mother company

[–] WbrJr@lemmy.ml 3 points 6 months ago

Hetzner offers mail hosting, its in the web package included

[–] WbrJr@lemmy.ml 1 points 8 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

 

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

[–] WbrJr@lemmy.ml -1 points 1 year ago (1 children)

I feel what you mean. But if you are willing to change, i woukd suggest to exchange meat with other protein sources when ever possible. I can highly recommend saitan!