Wednesday, March 1, 2017

Tray icon for Dropbox in KDE4

dropboxd in .dropbox-dist/dropbox-lnx.x86_64-20.4.19 change to (added /usr/bin/dbus-launch)

#!/bin/sh
# Copyright 2008-2015 Dropbox, Inc.
#
# Environment script for the dropbox executable.
PAR=$(dirname "$(readlink -f "$0")")
OLD_LD_LIBRARY_PATH="$LD_LIBRARY_PATH"
export OLD_LD_LIBRARY_PATH
export QT_PLUGIN_PATH=
exec /usr/bin/dbus-launch "$PAR"/dropbox "$@"

Thursday, February 23, 2017

Connection sharing on two NICs

internet access on enp0s10, shared on enp1s7 and enp1s6

/etc/dhcpd.conf:

subnet 192.168.1.0 netmask 255.255.255.0 {
        # default gateway
        option routers 192.168.1.1;
        option subnet-mask 255.255.255.0;

        range dynamic-bootp 192.168.1.2 192.168.1.253;
        default-lease-time 21600;
        max-lease-time 43200;
}

subnet 192.168.2.0 netmask 255.255.255.0 {
        # default gateway
        option routers 192.168.2.1;
        option subnet-mask 255.255.255.0;

        range dynamic-bootp 192.168.2.2 192.168.2.253;
        default-lease-time 21600;
        max-lease-time 43200;
}

/etc/sysconfig/dhcpd:

OPTIONS="-q"
INTERFACES="enp1s7 enp1s6"

/etc/shorewall/masq:

enp0s10 192.168.1.0/24
enp0s10 192.168.2.0/24

Tuesday, February 14, 2017

Citrix receiver on linux, GlobalSign Root CA not trusted

ln -s /etc/pki/tls/rootcerts/* /opt/Citrix/ICAClient/keystore/cacerts/
c_rehash /opt/Citrix/ICAClient/keystore/cacerts/
update 2024: CHU cert chain is reported as broken, had to manually install globalsign cert + convert crt to pem

Thursday, February 9, 2017

nvidia driver on notherboard M3N78-EM

https://devtalk.nvidia.com/default/topic/675613/linux/8200-igp-which-driver-version-/

https://bbs.archlinux.org/viewtopic.php?id=168040

Try this piece of advice that is given in Arch's very fine wiki here, except that you have to say
options nvidia NVreg_EnableMSI=0 (was placed along nouveau blacklisting file in /etc/modprobe.d/
because you want to disable the new MSI scheme that is now enabled by default in the 325.* driver line (check out the release notes for the new NVIDIA driver for details). That helped in my case (I have a board with a builtin 8200 GPU) and made all those nasty freezes go away for good that started to happen with the new series.

Wednesday, May 27, 2015

user creation for chroot

adduser -g wwwusers -d /var/www -M user


Tuesday, May 12, 2015

request through cisco VPN problem

[Tue May 12 10:32:23.141035 2015] [ssl:error] [pid 45710] [client XXXXXX:45107] AH02225: Re-negotiation request failed
[Tue May 12 10:32:23.141090 2015] [ssl:error] [pid 45710] SSL Library Error: error:14080152:SSL routines:SSL3_ACCEPT:unsafe legacy renegotiation disabled

Wednesday, May 6, 2015

qatrack+ and ldaps

I had to add
TLS_REQCERT allow

in /etc/openldap/ldap.conf 

in order to let openldap trust our AD on port 686. Otherwise, self-signed certificate was rejected.