Flickr Photos

    photography

    If you are here for my photographs visit: http://photography.petrilopia.net/

    Or follow me on Instagram or Flickr.

    Oracle VM VirtualBox: Oracle VM VT-x/AMD-V hardware acceleration is not available on your system

    I have Dell XPS 13 9350 laptop and I needed to install few virtual machine to it using
    Oracle VirtualBox software but when I tried to install example Windows 10 or Kali Linux I alwas got error message
    which said:

    “VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail
    to detect a 64-bit CPU and will not be able to boot.

    Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer.”

    VT-x/AMD-V hardware acceleration has been enabled, but is not operational. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot. Please ensure that you have enabled VT-x/AMD-V properly in the BIOS of your host computer.

    VirtualBox VT-x/AMD-V hardware acceleration error

    To fix this you have to boot your laptop and go to bios and remove check mark from “Enable CPU XD Support”:

    Continue reading Oracle VM VirtualBox: Oracle VM VT-x/AMD-V hardware acceleration is not available on your system

    Linux: Adjust LCD laptop backlight brightness from command line

    I needed to find out how can I change my laptop backlight brighness using just a command line. Solution for that problem was easier than I thought because you can do
    that just with one line =)

    On my laptop which is Dell Latitude D430 brigness file was on /sys/class/backlight/dell_backlight directory but it’s probably almost on the same place /sys/class/backlight/ on every laptop (and linux distribution) which is it possible to change.

    Before you start to change your laptop display brightness you should find out which is the maximum brigness of your screen which you can see with cat command from the max_brigtness file like this:

    cat /sys/class/backlight/dell_backlight/max_brightness

    On my laptop max brightness was 7 and surprisingly lowest brightness is 0 so let’s change brightness between 0-7 =)

    So if I want to save energy and turn backlight as dark as possible I just put 0 to brightness file like this:

    echo 0 > /sys/class/backlight/dell_backlight/brightness

    Continue reading Linux: Adjust LCD laptop backlight brightness from command line

    IP Traffic Monitor already listening on eth0

    If you get this “IP Traffic Monitor already listening on eth0” error when you are trying to use iptraf:

    IP Traffic Monitor already listening on eth0

    IP Traffic Monitor already listening on eth0

    Or any other interface like eth1 or wlan0 and so on…

    Be sure that you don’t have any iptraf applications running:

    ps ax|grep iptraf

    and after that you should only see line with “grep iptraf” but no iptraf applications.

    After that remove all files from /var/run/iptraf/ and after that start iptraf
    again and it should work:

    root@NSA:/# cd /var/run/iptraf/
    root@NSA:/var/run/iptraf# rm *
    root@NSA:/var/run/iptraf#
    

    Continue reading IP Traffic Monitor already listening on eth0