Posts tagged "linux"
Copy'n'Paste from Xterm to Chrome
Problem: X11 has a classical copy/paste mechanism which is: select text - press middle mouse button in the target field. And there is a second copy/paste which was adopted from Mac and Windows which is: select text - Ctrl-C - click into tagert field - Ctrl-V. I prefer the classical approch, but in some web applicati...
Ping to Windows Server 2012 with Direct Access fails
Problem: Ping from Linux computers to Windows Server 2012 with Direct Access fails for hours (no response) although connectivity is working (eg. HTTPS) Discussion: Ping from other windows machines and Cisco machines worked, but from Linux machines ping was not answered. I tried to find the difference between those I...
Hide Mouse Coursor on X11/Xorg
Problem: for some applications a mouse coursor in disturbing. E.g. video players, signage display. Solution: the tool unclutter hides the mouse coursor after a chosen idle timeout. Unclutter is part of the main debian repository. Version: Debian 7.1
Clamav/Freshclam update fails!
Problem: I got the following error message in the the freshclam.log file on several servers with clamav installed. ERROR: getpatch: Can't download daily-16682.cdiff from database.clamav.net Due to this bug the virus database wasn't updated for days! It seams to be a bug in clamav with dialy-16682.cdiff (dialy.cvd in...
Linux on HP servers
Problem: You want to check the hardware health status on you debian server running on an HP ProLiant hardware. After spending some time on the HP.com homepage, I got really angry. HP does a really bad job on their support homepage. If you search for DL360 G5 you see a list of operating systems. The list of Debian OS...
CDP / LLDP Fun
Problem: You want to know which switch and what port your Linux machine is connected to? Solution: If the switch does CDP (all Cisco switches do), it tells you a lot of information. Tcpdump can capture and show this information. # tcpdump -i eth0 -n -v -s 1500 -c 1 'ether[20:2] == 8192' tcpdump: listening on eth0, l...
ejabberd on debian with pam
Problem: After updating from debian lenny (5) to squeeze (6) ejabberd authentication (PAM) stopped working. Solution: ejabberd uses an external programm called epam to authenticate. But this programm had no permission to use pam. I had to type these commands: chown root.ejabberd /usr/lib/ejabberd/priv/bin/epam chmod...
Mysql "Select" Output Turned Arround
When you have a mysql table with lot's of attributes, it's hard to read the output of a statement like this in mysql: select * from table limit 1; The data is folded very ugly. Easy Solution: select * from table limit 1 \G Mysql is showing one "Fieldname: Value" per line.
Howto: Merge two PDF Files onto One Page
Problem: If you want to add water marks onto a pdf document, you have to merge two pdf files into one pdf file. Solution: On Linux there is a tool called pdftk (PDF Toolkit), which can do this. pdftk <letter.pdf> background <background.pdf> output <letter-with-background.pdf>
cdrecord is called wodim now
I don't burn CDs often, but when I do I still look for "cdrecord", which doesn't exist on debian anymore. Debian forked the source and renamed it to wodim , because of a license dispute between the Debian maintainers and cdrtools author Jörg Schilling.