All public logs
From AcrodusWiki
Combined display of all available logs of AcrodusWiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 16:11, 16 December 2025 Alex talk contribs created page FFMPEG with unix domain sockets (Created page with "This is some information regarding using ffmpeg and ffplay with unix sockets as input/output. Example path of unix domain socket -i unix:/tmp/video/stream.socket The following options can be used -timeout -listen and -type STREAM socket type=1, DGRAM socket type -2. Listen=1 for server, Listen=0 for client. Note that significant problems were had with DGRAM unix sockets, current assumption is that the ffmpeg/libavformat/unix.c file is not adequate for handling DGRAM...")
- 13:19, 11 December 2025 Alex talk contribs created page Set up git upstream tracking on local repo (Created page with "Example of how to do this from previous example: git branch -set-upstream-to=acrodus/dev dev")
- 14:47, 12 October 2025 Alex talk contribs created page Upgrade debian version (Created page with "Link to page describing best update practices for upgrading from debian 12 to debian 13. https://www.debian.org/releases/trixie/release-notes/upgrading.en.html")
- 12:41, 4 September 2025 Alex talk contribs created page Temporarily add port to protocol dissector wireshark (Created page with "Go to Analyze -> Decode as. Add a rule for a udp port to be linked to a given protocol.")
- 15:25, 12 August 2025 Alex talk contribs created page Setup apache2 proxy (Created page with "=Example of how to setup apache2 config= This is an example of the config for Vikunjer apache2 proxy. Vikunjer listens on port 3456, to access this without specifying the port the following config file was added. /etc/apache2/sites-enabled/vikunja.conf <pre> <virtualHost *:80> ServerName task.acrodus.uk ServerAlias www.task.acrodus.uk ProxyPreserveHost On ProxyRequests Off ProxyPass / http://localhost:3456/ ProxyPassReverse / http://localhost:3456/ </pre> Also had to...")
- 14:04, 12 August 2025 Alex talk contribs created page Set up vikunja with debian package (Created page with "=Vikunja Setup with Debian= Download debian file from vikunja download page with wget `wget <url>` Install with dpkg `dpkg -i *.deb` Enable and start the systemd service There is one change that is required to the config. Change the timezone from GMT to GB to stop the internal server error warnings. If you have not done this before creating a new user then you must run the following commands. To start the sqlite cli `sudo sqlite3` To connect to the correct database...")
- 15:52, 5 August 2025 Alex talk contribs created page TCP Windowing (Created page with "Brief explanation of TCP windowing. It is the number of TCP messages that can be sent without a valid ack being received. It is a method of flow control where a receiver can instruct the sender on how many tcp messages to send without receiving an acknowledgment.")
- 15:36, 5 August 2025 Alex talk contribs created page Acrodus IP address allocation (Created page with "=Allocation of IP address= ==IPv4== 81.187.202.233/29 81.187.202.233 router.acrodus.uk 81.187.202.234 dns.acrodus.uk, ns1.acrodus.uk, ns2.acrodus.uk 81.187.202.235 wiki.acrodus.uk, git.acrodus.uk (Multi use webserver) 81.187.202.236 vpn.acrodus.uk 81.187.202.237 mail.acrodus.uk 81.187.202.238 (Allocated to Leigh Brown) ==IPv6== 2001:8b0:1ff5:/48 2001:8b0:1ff5:2020/64 Subnet for dmz equivalent ipv4 range 2001:8b0:1ff5:2020 router.acrodus.uk 2001:8b0:1ff5:2020:81:187:202...")
- 09:19, 29 May 2025 Alex talk contribs created page Clean uninstall of WSL (Created page with "Got this from a blog somewhere. It worked to uninstall WSL when it was being a bitch. In powershell (as admin) # list all installed distros wsl -l -v # destroy distros wsl --unregister Ubuntu wsl --unregister Debian # and so on In Settings > Apps > Apps & Features search for Ubuntu (then Debian, etc), and if something is found, click on uninstall search for Linux, and if something is found, click on uninstall on all results In Start Menu > Turn Windows Features o...")
- 12:14, 22 April 2025 Alex talk contribs created page Apache2 config to allow directory access (Created page with "Hello Alex, this is going to save you approximatley 2 hours of your life. Example apache2.conf <pre> # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See http://httpd.apache.org/docs/2.4/ for detailed information about # the directives and /usr/share/doc/apache2/README.Debian about Debian specific # hints. # # # Summary of how the Apache 2 configuration works in Debian: # The Apache...")
- 21:29, 2 April 2025 Alex talk contribs created page Setting the capabilities to sniff on an interface with libpcap (Created page with "So i did this in rust, however is the case for any language. This allows you to run a program as a non root user but have access to the interface for sniffing. This command sets the capabilities of the executable. It must have both cap_net_admin and cap_net_raw. <pre> sudo setcap cap_net_raw,cap_net_admin=+ep target/debug/rp2009_sniffer </pre> The code then also needs to set it? <pre> 11 caps::raise(None, caps::CapSet::Inheritable, caps::Capability::CAP_NET_A...")
- 15:16, 27 March 2025 Alex talk contribs created page Tacacs+ verification tool (Created page with "Python tool that can be used to verify a tacacs server is operating. pip install tacacs_plus tacacs_client -v -u test_administrator -H 192.168.69.9 -k "Atkins123!" authenticate")
- 13:27, 23 March 2025 Alex talk contribs created page Debian CD local repositry package list (Created page with "Go to this webpage to lookup. <pre> https://cdimage-search.debian.org/ </pre>")
- 09:24, 6 March 2025 Alex talk contribs created page Add .iso file as a apt repositry (Created page with "Slightly different to other methods. This still requires you to mount the .iso file on the system. The following line (or equivalent) then requires adding to the sources.list file. <pre> deb file:/mnt/debian-iso/ bookworm main contrib </pre>")
- 11:52, 2 March 2025 Alex talk contribs created page Certificate explanation (Created page with "This image from IBM was good for explaining certificates. Media:certifcate_explanation.png")
- 11:50, 2 March 2025 Alex talk contribs created page File:Certifcate explanation.png
- 11:50, 2 March 2025 Alex talk contribs uploaded File:Certifcate explanation.png
- 20:06, 5 February 2025 Alex talk contribs created page GTK basic setup with timer in main thread (Created page with "Hello future Alex, This is extract of your GTK rail control system application. Past Alex has added this as refer rence on how to setup with GTK4. This also attaches a timer in the main thread. Not everything is in the below extract, however should jog your memory on the function calls to use. <pre> int main(int argc, char **argv){ gtk_init(); gboolean done = FALSE; GMainLoop *loop =NULL; loop = g_main_loop_new(NULL, FALSE);...")
- 22:49, 4 February 2025 Alex talk contribs created page Make glade outut gtk4 compatible (Created page with "Run this command future Alex. <pre> gtk4-builder-tool simplify --3to4 --replace ./main.ui </pre>")
- 20:12, 4 February 2025 Alex talk contribs created page Compile static library with Makefile (Created page with "Makefile example for compiling static library with dependencies in C. <pre> # Library: libgenisys # File: Makefile # Author: Alexander Brown # # NO LICENSE # BINDIR = bin/ OBJDIR = obj/ INCDIR = include/ SRCDIR = src/ CC = gcc RM = /bin/rm -f SOURCE = grail.c OBJECT = grail.o all: ${CC} `pkg-config --cflags cairo pangocairo` -o ${OBJDIR}${OBJECT} -c ${SRCDIR}${SOURCE} `pkg-config --libs cairo pangocairo` clean: ${RM} ${BINDIR}* ${RM} ${OBJ...")
- 14:34, 2 February 2025 Alex talk contribs created page Install latest kernel with Debian backports (Created page with "This installs a more recent kernel that is part of the next release of Debian onto the 'Stable' Debian release currently running on the machine. First step is to add backport repo to sources.list or into sources.list.d <pre> deb http://deb.debian.org/debian bookworm-backports main </pre> Then run the command, -t specifies the version to take the package from. <pre> sudo apt install -t bookworm-backports linux-image-amd64 linux-headers-amd64 </pre> This also can be...")
- 06:45, 20 January 2025 Alex talk contribs created page Initialize a 2d array in python (Created page with "To save future Alex issue with this again, just initialise the array like this <pre> cables_type_arr = [[''] for i in range(int_inc)] </pre> And then append each element array like so <pre> cables_type_arr[i].append(record['Type']) </pre> This example was taken from the cable route analysis tool.")
- 21:17, 18 January 2025 Alex talk contribs created page Nftables dnat config (Created page with "Example nftables dnat config. This took a while to set up at first, make sure there is config for packets going in the reverse direction ie. masquerade. table ip nat { chain prerouting { type nat hook prerouting priority dstnat; policy accept; tcp dport 2202 dnat to 10.0.3.2 } chain postrouting { type nat hook postrouting priority srcnat; policy accept; } }")
- 17:54, 2 January 2025 Alex talk contribs created page IPv6 address range (Created page with "My /48 IPv6 range 2001:8b0:1ff5::/48")
- 17:52, 2 January 2025 Alex talk contribs created page Linux systemd-networkd ipv6 example (Created page with "To create later")
- 17:23, 29 December 2024 Alex talk contribs created page Unable to connect to kvm host with virt-manager (Created page with "Trying to connect to remote kvm host using virt-manager generated the following error <pre> authentication unavailable: no polkit agent available to authenticate action 'org.libvirt.unix.manage' </pre> This was fixed by adding the non root user to the libvirt group on the kvm host machine")
- 16:06, 20 December 2024 Alex talk contribs created page Default IP address of EAP245 access points (Created page with "192.168.0.254")
- 15:04, 16 December 2024 Alex talk contribs created page Asbru not installing on debian 12 (Created page with "Asbru-cm does not install well on debian 12 following the instructions on the website/github Below is an extract of a reddit post explaining the fix. <pre> I have just put Debian 12 Bookworm on my laptop and am happy so far. The only issue I had was I could not install Asbru-cm which I use daily for connecting to 10-12 different servers. Following the Devs instructions for installing doesn't actually work. Everything works until you type "sudo apt install asbru-cm" a...")
- 21:27, 11 December 2024 Alex talk contribs created page Link for avr-libc information (Created page with "https://www.nongnu.org/avr-libc/user-manual/group__avr__sfr.html Its brilliant!")
- 20:25, 11 December 2024 Alex talk contribs created page Change between tab and space in live vim (Created page with "Whilst in vim can change the settings for the current vim session. If default in .vimrc is set tabstop=2 expandtab, use below to change to actual tab. <pre> :set noexpandtab </pre>")
- 22:54, 3 December 2024 Alex talk contribs created page Linux machine has booted into grub prompt (Created page with "This occurred when installing ARCH for the first time. On boot, i was presented with the grub shell. If prompted with grub> then this means grub loaded normally. If prompted with grub rescue> this is worse, and at the time of writing this i have not been in this situation. In my situation a separate boot partition was present, with the rootfs and swap on lvm logical volumes. There was a kernel image and initrd.img present on the /boot. The ls command showed me my two p...")
- 09:06, 3 December 2024 Alex talk contribs created page Use the bash export command (Created page with "The export command shows all shell environment variables. To show environment variables for just the current shell process use the command below: <pre> export -p </pre>")
- 09:03, 3 December 2024 Alex talk contribs created page Using pkg-config as compiler and linker flags (Created page with "Came across pkg-config files for the first time when using gtk4. The below extract is the makefile for that hello world test. <pre> CFLAGS = -Wall -g `pkg-config --cflags gtk4` LDFLAGS = `pkg-config --libs gtk4` all: gtk_test.c gcc -o gtk_test gtk_test.c $(CFLAGS) $(LDFLAGS) clean: rm -f *~ rm -f *.o rm -f gtk_test </pre> Main thing here is the addition of the compiler and linker flags at the top. These use the shell environment variab...")
- 08:48, 3 December 2024 Alex talk contribs created page Use find command linux to find file (Created page with "Quick example if im being an idiot with the man pages. <pre> sudo find -type f -name "gtk4.pc" </pre>")
- 16:22, 30 November 2024 Alex talk contribs created page 'No route to host' when attempting to mount cifs drive (Created page with "This error is produced when you attempt to mount from the command line however to do not have the keyutils and cifs-utils packages installed. <pre> mount: /media/alex/smb: mount(2) system call failed: No route to host. dmesg(1) may have more information after failed mount system call. </pre>")
- 17:11, 29 November 2024 Alex talk contribs created page Configure KVM guest to have .iso mounted as a cdrom (Created page with "This was a pain in the arse. So ensure that the xml file for the host includes the following. <pre> <disk type=’file’ device=’cdrom’> <driver name=’qemu’ type=’raw' cache=’none’/> <source file=’/var/lib/libvirt/images/my-cdrom.iso’/> <target dev=’sda’ bus=’sata’/> <readonly/> <address type=’drive’ controller=’0' bus=’0' target=’0' unit=’0'/> </disk> </pre> and then run the command from the host to mount <pre> sudo virsh attac...")
- 15:59, 29 November 2024 Alex talk contribs created page Create KVM guest with .iso installer attached as cdrom fro package repositry (Created page with "When installing via the terminal with virt-install ensure that the disk option has the --type=cdrom added to it. <pre> --disk /home/alex/jigdo/debian-12.5.0-amd64-STICK16GB-1.iso,device=cdrom </pre>")
- 15:29, 29 November 2024 Alex talk contribs created page Error opening .iso when using virt-install to create new kvm guest (Created page with "Edit the /etc/libvirt/qemu.conf to include the following two lines <pre> user = "root" group = "root" </pre>")
- 14:36, 29 November 2024 Alex talk contribs created page Add user to sudo group command Linux machine (Created page with "<pre> sudo usermod -aG sudo [name-of-user] </pre>")
- 09:45, 28 November 2024 Alex talk contribs created page Compress directory into tarball on Linux machine (Created page with "This is the command, and more importantly the options for compressing a directory or folder into a tarball on linux. <pre> tar -czvf filename.tar.gz /path/to/directory </pre> Ensure that you create the tarball with touch first. Also to unzip use the command and options. <pre> tar -xvf /path/to/tarball </pre> -x : extract -v : give more info -f : filename you can also use the -C to specify output directory <pre> tar -xvf /path/to/tarball.tar/.gz -C /path/to/directo...")
- 09:34, 27 November 2024 Alex talk contribs created page Mount local debian iso as cdrom repositry (Created page with "Command to mount the .iso as a cdrom <pre> sudo mount -o loop /path/to/.iso /media/cdrom </pre> Must add the repository using the apt-cdrom add command, should look similar to the below in sources.list <pre> deb [trusted=yes] cdrom:[Debian GNU/Linux 12.5.0 _Bookworm_ = Official amd64 STICK16GB Binary-1 with frimaware 20240210=11:28]/ bookworm contrib main non-free-firmwasre </pre>")
- 22:24, 25 November 2024 Alex talk contribs created page Configure DNAT on Linux machine with iptables (-)
- 21:19, 25 November 2024 Alex talk contribs created page Set LXC container to autostart (Created page with "Find the config file for the container. This will be in /var/lib/lxc/{container_name}/config And add the line: lxc.start.auto =1")
- 14:55, 22 November 2024 Alex talk contribs created page Create LXC container from debian image (Created page with "Use the below command to create a new container from a debian image. <pre> sudo lxc-create -n webserver --template download -- --dist debian </pre>")
- 14:39, 22 November 2024 Alex talk contribs created page Change user default shell on Linux machine (Created page with "Enter the following command to change user shell. The example changes the user alex to use bash. <pre> usermod --shell /bin/bash alex </pre>")
- 09:59, 21 November 2024 Alex talk contribs created page How to show namespaces of different running processes on Linux machine (Created page with "This command shows the associated namespaces with deifferent processes running on the machine. <pre> sudo lsns </pre> Run man lsns for more information Also, to show detailed infromation of network interface namespaces run the command <pre> sudo ip netns </pre> Run man ip netns for more information.")
- 08:23, 21 November 2024 Alex talk contribs created page Use systemd to mount CIFS drive (Created page with "This two examples of unit files that enable a systemd service to mount a cifs drive. <pre> [Unit] Description=cifs mount script Requires=network-online.target After=network-online.service [Mount] What=//10.68.64.19/Reports/NMS Where=/mnt/nas Options=domain=ewr,username=nms,password=Atkins123! Type=cifs [Install] WantedBy=multi-user.target </pre> <pre> [Unit] Description=Automount NAS [Automount] Where=/mnt/nas [Install] 23WantedBy=multi-user.target </pre>")
- 21:27, 18 November 2024 Alex talk contribs created page Enable KVM guest console through virsh (Created page with "Using the virsh console [vm_name] command can be used to get a shell to the vm. This is very handy when there is no virt-manager/desktop environment or no ssh. Although you will need to get a shell up somehow. This assumes that the configuration in the xml is correct with <serial> and <console> sections. sudo systemctl status serial-getty@ttyS0 If this is not active. sudo systemctl enable serial-getty-ttyS0 and sudo systemctl start serial-getty-ttyS0 When creating...")
- 15:57, 18 November 2024 Alex talk contribs created page Bring up wireguard interface with wg script (Created page with "This is the example script and associated config file for the vpn client. This was connecting to a vpn server hosted on the home network. wg_acrodus_up.sh #!/bin/bash ip l add dev wg0 type wireguard wg setconf wg0 wg_acrodus.conf ip a add 10.0.0.2/32 dev wg0 ip l set dev wg0 up wg set wg0 fwmark 51821 ip -4 rule add not fwmark 51821 table 51821 ip -4 route add 0.0.0.0/0 dev wg0 table 51821 ip -6 rule add not fwmark 51821 table 51821 ip -6 route add ::/0 dev wg0 tab...")
- 09:54, 8 November 2024 Alex talk contribs created page Mount samba file share on linux machine (Created page with "Use the following commands to mount a samba file share onto a local linux machine sudo mount -t cifs //samba.acrodus.uk/sharing /media/alex/smb -o username=alex Notes- cifs stands for common internet file system and is a protocol that is a subset of smb (server message block). -o option allows to specify parameters for the authentication, this can be a seperate file if required, example below username=target_user_name password=target_user_password domain=domain The...")