Search

atkdinosaurus

Month

September 2015

How to start using predictable network interface names? (Ubuntu 15.04)

http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

Starting with v197 systemd/udev will automatically assign predictable, stable network interface names for all local Ethernet, WLAN and WWAN interfaces. This is a departure from the traditional interface naming scheme (“eth0”, “eth1”, “wlan0”, …), but should fix real problems.

Continue reading “How to start using predictable network interface names? (Ubuntu 15.04)”

How to live with selinux?

Enable all AVC denial messages

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Fixing_Problems-Possible_Causes_of_Silent_Denials.html

Continue reading “How to live with selinux?”

How to configure the built-in QoS policy in Windows?

There’s a built-in QoS policy tool in Windows. By default it works only with the domain connected computers but there’s a registry fix that enables it for non-domain computers too.

Continue reading “How to configure the built-in QoS policy in Windows?”

Collection of KDE and Firefox related configuration changes

Miscellaneous KDE tips follows…

Continue reading “Collection of KDE and Firefox related configuration changes”

How to create a port forward with xinetd?

Create a file in /etc/xinetd.d/service_name with the following contents:

service SERVICE_NAME
{   
    disable = no
    type = UNLISTED
    socket_type = stream
    protocol = tcp
    wait = no
    redirect = DESTINATION_IP DESTINATION_PORT
    bind = LOCAL_IP
    port = LOCAL_PORT
    user = nobody
}

Continue reading “How to create a port forward with xinetd?”

How to set VLC as the default media player? (KDE/xdg)

$ mkdir -p ~/.local/share/applications
$ grep "^MimeType=" /usr/share/applications/vlc.desktop | cut -d "=" -f 2 | xargs -d ';' -n 1 | grep -e "^video/" -e "^x-content/video" | xargs -n 1 -I '{}' xdg-mime default vlc.desktop '{}'
$ grep "^MimeType=" /usr/share/applications/vlc.desktop | cut -d "=" -f 2 | xargs -d ';' -n 1 | grep -e "^audio/" -e "^x-content/audio" | xargs -n 1 -I '{}' xdg-mime default vlc.desktop '{}'

Blog at WordPress.com.

Up ↑