Quantcast
Channel: Hodžův blog
Browsing all 58 articles
Browse latest View live

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`)

View Article



TCPdump and ICMP Echo Reply

# tcpdump 'icmp[icmptype] = icmp-echo'

View Article

Image may be NSFW.
Clik here to view.

Autorádio Blaukpunkt VW Alfa a hláška Safe (aneb jak jsem hackoval autorádio)

Moje žena dostala společně s autem originální autorádio VW alpha (=> Blaukpunkt 815, VWZ1Z1Y9174547, 6X0 035 153). Autorádio dlouho a bez problému sloužilo než bylo nahrazeno jiným (s linkovým...

View Article

Změna kódování databáze a tabulky u MySQL

ALTER DATABASE `název_databáze` CHARACTER SET utf8 COLLATE utf8_general_ci; ALTER TABLE `název_tabulky` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci; Hint: mysql> show character set;

View Article

MySQL – Remove Duplicate Data or Rows

DELETE FROM mytable USING mytable, mytable as virtualtable WHERE (NOT mytable.id=virtualtable.id) AND (mytable.fieldname=virtualtable.fieldname) Simple isn’t it?

View Article


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

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...

View Article

HellSpy Download Manager – dekódování souboru users

Dnes jsem od kolegy – soudního znalce – dostal zajímavý úkol. Potřeboval dekódovat soubor users, do kterého HellSpy Download Manager ukládá informace o přihlášeném uživateli. Byla by to práce na pět...

View Article

MySQL – Creating a user with root privilages

CREATE USER 'new_user'@'%' IDENTIFIED BY 'some_pass'; GRANT ALL PRIVILEGES ON *.* TO 'new_user'@'%' WITH GRANT OPTION; FLUSH PRIVILEGES;

View Article


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 #...

View Article


HowTo: HP ILO – There are pending changes that may not take effect until ILO...

Reset the interface through SSH. ssh root@my.hp.ilo cd /map1 reset

View Article

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

View Article

HowTo: Decrypt Qnap XMail XMCrypt passwords

telnet localhost 6017 admin_username[TAB]admin_password[RETURN] userlist[RETURN] Passwords are displayed in cleartext...

View Article

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:...

View Article


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...

View Article

Outlook 2007 – problém s jazykem po aktualizaci Windows

Microsoft opět boduje. Po aktualizaci Windows Outlook z větší části nemluví česky ale švédsky. Řešení je naštěstí jednoduché – odinstalujte KB4011086 a následně ho v ovládacích panelech – aktualizacích...

View Article


chown -R root:root /

Hezké sobotní dopoledne. Myšlenkama už si vidím někde venku na procházce, ale na jednom ze serverů potřebuji ještě dodělat nějaké nastavení. Utahuji šrouby a měním práva na adresáři. Do konzole ťukám...

View Article

Dell PowerEdge – /opt/dell/toolit/systems/drm_files/apply bundles.sh is invalid

How to fix Dell Deployment Toolkit “apply bundles.sh is invalid” 1. ALT+F2 (new terminal console) 2. lsblk (information about disks and partitions) 3. mount /dev/sdXY /opt/dell/toolkit/systems 4. cd...

View Article


Veeam Agent – reset backup jobs (re-create the Database )

Perform the following actions: 1. Run regedit.exe and locate the HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Endpoint Backup key. Create the following value under this key:Name = Recreatedatabase Type =...

View Article

VMware VMRC fails to install on Debian or (K)Ubuntu Linux

It appears, that update-desktop-database was not installed by default. After an apt-get install desktop-file-utils VMware Remote Console installs without error.

View Article

SSL Library Error: 185073780 key values mismatch

When installing a certificate on Apache web server, you might receive an error SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch during...

View Article
Browsing all 58 articles
Browse latest View live