norden.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Moin! Dies ist die Mastodon-Instanz für Nordlichter, Schnacker und alles dazwischen. Folge dem Leuchtturm.

Administered by:

Server stats:

3.4K
active users

#incus

2 posts2 participants0 posts today

I might be doing #incus networking wrong. Network forwards work great, but since the created container gets a dynamic IP, the forward breaks on restart.

My aim is to expose the system container on the external network with its own address. For that I am
- creating a network forward
- setting the listen address to the one configured on the physical interface
- grabbing target address from the ipv4_address attribute

Using terraform and a small module I wrote to spin these up, the relevant bits:
```
resource "incus_network_forward" "ipv4_forward" {
network = var.bridge_net
listen_address = var.net_forward_lxc_listen_addr

config = {
target_address = incus_instance.lxc.ipv4_address
}
}
```

I am using something wrong obviously, but I am a bit lost on what else there is which will let me configure the container networking in this manner.

Nachdem ich am Mittwoch Abend wegen eines Updates und ungeahnter Folgen ziemlich schnell ziemlich viel geschwitzt habe (metalhead.club und trashserver.net waren für einige Minuten offline), habe ich heute mal meine Incus Versionen über alle Hosts hinweg auf dieselbe Version glattgezogen.

Und setze nun auf das Zabbly Repo statt auf die Backports. Das ist zwar auch keine Garantie für maximale Stabilität, aber immerhin muss ich dann die Backports nicht weiter im Kopf behalten. Das hat mir schon mal Kopfschmerzen bereitet.

discuss.linuxcontainers.org/t/

Linux Containers Forum · Incus deinstalled after upgrade in debian bookworm with backportsToday I have seen, that there are some updates of incus. I installed it with apt-get update && apt-get upgrade and apt-get dist-upgrade After installation finished and reboot incus wasn’t installed anymore. An apt-get install incus brings an incompatible version for qemu. incus : Hängt ab von: qemu-system-x86 (>= 1:8.0) aber 1:7.2+dfsg-7+deb12u12 soll installiert werden but qemu-system-x86 seems to be available: apt-cache madison qemu-system-x86 qemu-system-x86 | 1:9.2.0+ds-3~bpo12+2 | h...
Continued thread

Wrote a little parser for meshcore packets tonight. It's still messy and a lot more to implement. But, it reads the container format so I'm happy for now.

I have meshcore packets flowing from multiple repeaters(on different frequencies) talking on wifi using udp broadcasts.

The repeaters automatically discover each other on the network and now I'm able to watch their chatter with a quick nodejs server.