4,973 reputation
31339
bio website wirespeed.xs4all.nl/mediawiki
location Eindhoven, Netherlands
age 44
visits member for 2 years, 7 months
seen 15 hours ago

Do you love your Pets as much as I do? Check the Q&A proposal!

I'm into:

  • Linux;
  • Networking;
  • IT Security;
  • Perl;
  • System integration;
  • Arduino;
  • ATtiny & ATmega Microcontrollers;
  • Analog electronics;

Aug
14
comment Figuring out installed packages on Ubuntu from filesystem backup
Brilliant! Should have thought of that myself.
Aug
2
comment light weight disk based backup solution
This post describes a patch for dirvish where the most recent successful image is no longer being expired: mail-archive.com/dirvish@dirvish.org/msg01457.html
Jul
9
comment dhcpd: any way to check dhcp pool status?
@DanPritts The parameter is called lease-file-name in dhcpd.conf IIRC.
May
19
comment Lock screen after blanking with gnome-screensaver and XFCE
Rereading your question, I realize this probably doesn't answer your question as it works from command line only.
May
19
comment Lock screen after blanking with gnome-screensaver and XFCE
I am unfamiliar with xfce, but does qdbus org.freedesktop.ScreenSaver /ScreenSaver Lock work (kde version)? on Gnome you use qdbus org.gnome.ScreenSaver /ScreenSaver Lock. You may have to type qdbus | grep -i screensaver to find your specific variation.
Mar
17
comment A clever way to defragment a FAT filesystem?
You can check the result before changing the content of the flash drive.
Mar
16
comment Unix sort out of memory
Does ulimit return anything?
Mar
16
comment A clever way to defragment a FAT filesystem?
I would go for your first option if space isn't an issue. I would create a clean filesystem in a large file that is loop-mounted. That way you get the opportunity to check the result before overwriting the stick.
Mar
4
comment Bash script that automatically kills processes when CPU/memory usage gets too high
are you familiar with the commands cpulimit and timeout?
Mar
4
comment Bash script that automatically kills processes when CPU/memory usage gets too high
In my use case the killing is not desired.
Mar
4
comment Bash script that automatically kills processes when CPU/memory usage gets too high
First monday of the month and my PC is checking a (slow'ish) RAID6 set. CPU load easily peaks above 8 because it is constantly waiting for disk IO from this RAID set. Nothing wrong, system is still very responsive. Your script would kill my firefox which uses only 3.6% of the available 400%. Just saying you may be hunting for ghosts with this script. BTW: your system will not get damaged because of high load and when memory runs out, the kernel will do a semi-educated guess on which process(es) to kill.
Mar
3
comment xming debian can't open display
Like the Connected to 127.0.0.1.?
Feb
28
comment Linux workstation monitoring tools
Check nagios for monitoring and puppet for configuration management. nagios.org and puppetlabs.com
Feb
24
comment reading from a file and changing its pattern into an array?
Set up key authentication on the Cisco boxes. It is a lot of work the first time, but once it works you can easily (and still secure) log on to the machines.
Feb
20
comment How to build AVR cross-compler under Gentoo Linux?
I wasn't aware of that, you should update your question to make it more specific.
Feb
20
comment How to build AVR cross-compler under Gentoo Linux?
Distributions are pretty much a personal thing to choose. In my opinion Gentoo is brilliant for learning all the ins and outs of GNU/Linux. I don't like Fedora and OpenSUSE because these are pretty much the test and play yard for RHEL and SLED. I personally am not fond of rpm-based package managers. I had couple bad experiences in the past, probably these are solved during the past 15 years but never really tried them again. I switched to Kubuntu because of the ease of its use and the KDE interface is a bit like the Windows interface that I'm familiar with.
Feb
19
comment How to build AVR cross-compler under Gentoo Linux?
These kind of messages are, amongst other things, the reason why I switched distributions couple years ago. Gentoo is brilliant for leaning Linux, but it can be a pain when you want things to just work (after installing updates).
Feb
19
comment How to build AVR cross-compler under Gentoo Linux?
First hit on DuckDuckGo.com: forums.gentoo.org/viewtopic-p-5501540.html
Feb
8
comment Why does “chmod 1777” and “chmod 3777” both set the sticky bit?
You are proposing a potentially risky operation.The combination sticky bit and rwx permisions for all is bad practice. Anybody can change and execute the file and the s-bit allow switching to root user without pasword.
Feb
3
comment Use desktop speakers over SSH from laptop
Pulseaudio can route audio over the network. wiki.openwrt.org/doc/howto/pulseaudio I had it working many-many moons ago, but I changed hardware and it is no longer required for myself. I know it exists, I don't know how to implement it. Hence a link that I think is useful in a comment, rather than a full blown answer.