Hodžův blog

Archive for the 'Distribuce' Category

01 Kvě

HowTo: SSL/TLS required but absent on data channel (ProFTPD & LFTP)

echo „“ >> /etc/lftp.conf echo „set ftp:ssl-allow true“ >> /etc/lftp.conf echo „set ftp:ssl-force true“ >> /etc/lftp.conf echo „set ftp:ssl-protect-data true“ >> /etc/lftp.conf echo „set ftp:ssl-protect-list true“ >> /etc/lftp.conf

11 Bře

HowTo: Debian Jessie & Huawei E3131 Mobile Broadband

Before: # lsusb | grep -i huawei Bus 002 Device 007: ID 12d1:14fe Huawei Technologies Co., Ltd Fix it with command: usb_modeswitch -v 12d1 -p 14fe -J After: # lsusb | grep -i huawei Bus 008 Device 005: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard You can also create a udev rule: vi […]

04 Úno

HowTo: Update The Root Hints Data File for BIND Named Server on Debian GNU Linux

# wget –user=ftp –password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O /etc/bind/db.root

16 Zář

Courier IMAP & POP3 – regenerate SSL certificates on Debian GNU Linux

# rm -f /etc/courier/imapd.pem # rm -f /etc/courier/pop3d.pem # vi /etc/courier/imapd.cnf # vi /etc/courier/pop3d.cnf # mkimapdcert # mkpop3dcert # /etc/init.d/courier-imap-ssl restart # /etc/init.d/courier-pop-ssl restart

14 Kvě

HowTo: Bind9 – disable IPv6 (couldn’t add command channel ::1#953: address not available)

Disable IPv6 in system # echo „net.ipv6.conf.all.disable_ipv6 = 1“ >> /etc/sysctl.conf # echo „net.ipv6.conf.default.disable_ipv6 = 1“ >> /etc/sysctl.conf # echo „net.ipv6.conf.lo.disable_ipv6 = 1“ >> /etc/sysctl.conf # /sbin/sysctl -p /etc/sysctl.conf

14 Kvě

HowTo: Debian & Ubuntu – Remove all unused kernels

sudo apt-get remove $(dpkg -l|egrep ‚^ii linux-(im|he)’|awk ‚{print $2}’|grep -v `uname -r`)

28 Dub

Ubuntu update && Qutim crashes every time

What console says: hodza@hodza-desktop:~$ qutim !!!!!!! ‚kde-plasma‘ ‚0x7f2c933977c0‘ ‚oxygen‘ (qutim:9554): GLib-GObject-WARNING **: cannot register existing type ‚GstObject‘ (qutim:9554): GLib-CRITICAL **: g_once_init_leave: assertion ‚result != 0‘ failed (qutim:9554): GLib-GObject-CRITICAL **: g_type_register_static: assertion ‚parent_type > 0‘ failed (qutim:9554): GLib-CRITICAL **: g_once_init_leave: assertion ‚result != 0‘ failed (qutim:9554): GLib-GObject-CRITICAL **: g_object_newv: assertion ‚G_TYPE_IS_OBJECT (object_type)‘ failed (qutim:9554): GStreamer-CRITICAL **: […]

02 Led

HowTo Fix: Libreoffice crashes when saving document

Try to enable ugly LibreOffice native dialogs Menu „Tools“ -> „Options…“ -> „General“ -> In section „Open/Save dialogs“ just enable „Use LibreOffice dialogs“

29 Pro

HowTo fix Warning: Skipping the data of table mysql.event. Specify the –events option explicitly.

Try this workaround: mysqldump -uroot –events –ignore-table=mysql.event mysql

24 Čvc

Qutim & KDE 4.1.0.5 – There is no tray icon

Problem is obviously in file ~/.kde/share/config/plasma-desktop-appletsrc Try to fix it by typing: cp ~/.kde/share/config/plasma-desktop-appletsrc ~/.kde/share/config/plasma-desktop-appletsrc.old rm ~/.kde/share/config/plasma-desktop-appletsrc sudo reboot Warnig – all you plasma settings will be lost…

Hodžův blog is is proudly powered by Wordpress and the Magellan Theme