Categories
Artificial Intelligence Large Language Model (LLM) Programming python

How does MCP work?

In the last months MCP (Model Context Protocol) became one of the hot topics in the field of AI. While it is promoted for connecting tools/agents to LLM workflows there’s very little information about how things work on a technical basis. On most places So here’s my quest to answer those questions by writing a […]

Categories
Database Postgresql

JSON data in postgres

While playing around with open-webui I managed to mess up the configuration more than once. In some situations this even led to an unresponsive system with even the configuration pages (to revert the latest changes) was no longer accessible. So I went for the database (postgres in my case) to revert those settings only to […]

Categories
Filesystem Linux Microsoft Samba Ubuntu

Fun with Samba and group policies

Where (and why) it all began While trying to join an Ubuntu client to my Samba domain, I got this error that most likely prevented a successful login. From the sssd’s log files I got this as a first hint: So it looks like we got a problem with my Samba domain not serving GPO […]

Categories
Container Docker Linux Network Ubuntu

Docker network problem

While creating new docker instances I recently often got the following error message: In the beginning it helped to prune old network configs: But now I’m at a point where this does no longer help. Maybe the number of subnets is limited? So I currently got 33 subnets configured for docker … sounds close enough […]

Categories
Dovecot Linux Mail Postfix Ubuntu

OAuth2 for dovecot and postfix?

Currently I’m using Nextcloud with snappymail as mail client. While this works nicely, I do have a “comfort problem” since I switched my Nextcloud authentication to SAML/SSO: I can no longer use the Nextcloud credentials to log into my mail account (as Nextcloud does not know about my password when using SSO). There’s two things […]

Categories
Encryption Linux OpenSSH SecureShell SSH Ubuntu

Using yubikey with ssh

While playing with passkeys I asked myself whether my Yubikey could also be used for SSH authentication using passkeys/FIDO2. And it seems for OpenSSH 8.2 and newer this is indeed possible. Its basic setup is described in detail by Yubico. However following that description didn’t work for me. I always got some “sign_and_send_pubkey” error: According […]

Categories
Apache Browser Keycloak Linux SSO Ubuntu Webserver

Keycloak theming with minimal effort

I’ve been using Keycloak for quite some time now, and I was looking forward to the new 26.4.0 release – now with official passkey support. Till now I was experimenting with edumfa (a clone of privacyIDEA) in order to get my Yubikey supported for multi factor authentication (MFA). This however required an extra connector (and […]

Categories
Artificial Intelligence Container Docker GPU Graphics Card Large Language Model (LLM) Linux Ubuntu

Running LLMS with llama.cpp using vulkan

Some time ago I tried to use my AMD iGPUs (not supported by AMDs ROCm) for LLMs. However I didn’t succeed. Now I read some benchmark for the newest AMD Strix Halo systems performing quite well in some LLM tasks using vulkan instead of ROCm. Building vulkan enabled llama.cpp (using docker) Building llama.cpp using docker […]

Categories
Artificial Intelligence HAproxy Large Language Model (LLM) Linux Network Proxy Ubuntu

Adding Bearer authentication with haproxy

Motivation I’m currently playing around with some LLMs for different projects. One project aims to add textual descriptions to a large image gallery. Those descriptions can be used both for better image organization or as alternative texts when publishing them on websites. My basic setup contains ollama for running the LLMs and some python code […]

Categories
Database Postgresql

Netbox: Running scripts on command line

It is possible to run scripts in netbox, both from the web GUI and also on the command line. However the usage is not very intuitive. so here’s a (very short) introduction. Basic knowledge First of all we need to know where to locate the scripts. That one is relatively easy: Place them into a […]