Recent posts (paged)
New Vim 8 on Debian 9 Stretch has buggy Mouse/Paste/Syntax handling
The new Vim 8 on Debian tries again to appeal to the 95% of the people (the noobs) and adds features the are annoying to professionals. When these new features are buggy it's even worse. Problem: vim 8 on debian 9 has some annoying default settings for vim paste uses a vim internal clipboard instead the system clipb...
Web Audio Silence
Problem: I had problems with an audio driver (no not on Linux). The sound started with a delay after every gap of silence. This bug cuts off about 1/2 of a second of the attack of the sound. This is a problem when you try to make music in particular. Workarround: I made a little webpage that plays "Total Silence" or...
Juniper MX204 Setup Guide
Juniper MX204 is router from Juniper running Junipers own operation system Junos. The MX204 has 4x 40Gb and 8x 10Gb. The 40Gb ports can be split into 4x 10Gb. After unboxing it has no configuration. Connect a standard RS232 console cable with a Cisco style RJ45 connector, set your terminal to 9600 8N1 and power it u...
Javascript Bugs ?
Javascript is a fun programming language, its non blocking, event-driven paradigm is really interesting for many cases. On the other hand there are strange things that are really making me nervous when using this language: : parseInt doing strange things: # nodejs > parseInt(0.000007, 10); 0 > parseInt(0.0000007, 10...
Boot ISO from USB Stick
Many Linux distribution builders like Devuan and Debian produce hybrid ISO image that work on discs and USB sticks. You can make bootable USB sticks by simply copying the image to the USB device with this command dd if=isoimage of=/dev/sdX bs=10240 You can find the device name (X) by looking into dmesg oder lsscsi, ...
Source IP Address Based on User
If you want to use different source IP addresses based on the logged in user or running service on a Linux computer you can use these simple commands: /sbin/ifconfig eth0:1 NEW-IP-ADDRESS netmask YOUR-NORMAL-NETMASK /sbin/iptables -t nat -A POSTROUTING -m owner --uid-owner USERNAME -j SNAT --to-source NEW-IP-ADDRESS...
Multi Seat Linux Workstation
Current computers are fast enough to handle more than one user at a time. So I started the project to setup my workstation to support two seats, one for me and one for my gf. Tasks: Two concurrent Xorg sessions both with one keyboard, one mouse, and two monitors Separate audio for both seats Auto mounting of USB sto...
Android Battery Drain Riddle!
Problem: an android phone is loosing battery very quickly. The battery settings don't show any app, the display or other reasons for the battery drain. Discussion: I found out that the battery drain is only when connected to WLAN. Then I recognized that it only happens when connected to my WLAN. The mobile phone nev...
CPU Bug on Intel Skylake and Kabylake
I had two or three system crashes on my Linux workstation after upgrading to a new mother board and CPU within some months. This is very unusual for me because stability is the main objective when I build a new a workstation. So I tried to find the reason. Some weeks ago I found this bug report: https://lists.debian...
FlexFabric 5700 Backup Config to TFTP in MGMT VPN-Instance
Problem: if you separate the management from the normal traffic on a switch you will usually configure the swtich via this mgmt vpn-instance and also backup and restore config files via this mgmt vpn-instance. But if you use the "backup startup-configuration to .." it always tries to find the tftp server on the norm...