Kategorie: Terminal

Bug: virt-manager NO Keyboard input on VM

If you use Debian as Host System for Virtual Servers the „virt-manager“ Package is broken! no keymap input no VM Console Control no VT-Switch possible Fix: run sudo virsh edit "vm-name" remove all „spice“ display + audio entrys !! open sudo virt-manager go details  and and ADD Display VGA + VGA-Adapter select VNC!! save + […]

Script DNS Blocker DNSMASQ

If you tested pihole, you perhaps look for a smaller Command Line version? Install dnsmasq by: sudo apt-get install dnsmasq Here DNS Rule Injector Script (copy & paste): blocker.sh # www.linuxonlinehelp.com 2019 # DNS Blocker for Small Linux with dnsmasq # #!/bin/bash # goto tmp (tmpfs) cd /tmp/ # get URL-Blocklists wget -O blocklist.txt https://v.firebog.net/hosts/Kowabit.txt […]

Ubuntu 18.04 Backlight Control Command Line

By default the xbacklight command does not work on Intel HD Graphics: Workaround: sudo nano /usr/share/X11/xorg.conf.d/10-intel.conf: insert: Section "Device" Identifier "Card0" Driver "intel" Option "Backlight" "/sys/class/backlight/intel_backlight" EndSection now add to startup / autostart (lxde) : xbacklight -set 30

mj12bot hammer mediawiki

Here some IP’s of some Botnet Servers of mj12bot.com: the Botnet ignores robots.txt and hammers on Mediawiki’s! A sorted output of a Log done with :   cat /var/log/apache2/other*.log|grep MJ | awk '{ print $2 }' | sort | uniq -c | sort -n Output for ufw Firewalls: […]

Website Speed Test with Linux

If you own a Blog and want to check the Speed with your local Linux Computer use a commandline tool called curl. Open a Terminal and enter:   curl -o /dev/null -s -w 'Connect: %{time_connect}\nStart Transfer: %{time_starttransfer}\nTotal: %{time_total}\n' https://www.yourdomain.de System Echos: Connect: 0,084774 Start Transfer: 0,173280 Total: 0,228651 Advantage? You will see the Website Load […]

Linux: Systemd ignore console-setup settings

If you work on older Laptops and you use a Console only System Setup like on Debian there is a Bug on systemd and the console-setup package since years. After reboot all Font Settings seems gone. But the Settings are not real gone, cause systemd does not pull the settings on boot! How to fix? […]

Apache: Count Visits on Console

If you use a Webserver like Apache, you can use a small script to Analyse your Logs. Create a analyse-web.sh Script with: $sudo nano /home/user/analyse-web.sh insert: #!/bin/bash cat /var/log/apache2/access.log | awk '{ print $1 }' | sort | uniq -c exit 0 System Output: 1573 www.domain2.de 3568 www.domain3.de .. If you change the „$1“ to […]

Design copyright www.linuxonlinehelp.com - Linux PC & Server Support