Linux: Really using hardware random number generators.

Posted by coldtobi | 21 Oct, 2010, 23:16

A HW Random Number generator (HW RNG) helps programms a lot which needs some good entrophy, something especially on server systems is rare. Syntoms are slow key generation (ssl, ssh ... ) and poor performance when reading from /dev/random. 

However, soley having a HW RNG won't improve much -- this is what I learned today: I have a hifn 7955 based crypto accelerator in my NAS, but still poor /dev/random read rates. 

By coincident I learned that I looked at the wrong device -- the randoms by the hardware are available through /dev/hwrng. But how does other programms know that they should use this device instead of /dev/random? 

 (More)




Linux / Debian | Comments (0) | Trackbacks (0)

Sending a email notification when pusing to git (sourceforge)

Posted by coldtobi | 18 Sep, 2010, 13:12

Whenever I push changes to solarpowerlog, I want that a notification mail is sent to a dedicated mailing list.

However, the documentation on sourceforge just says "you can do this", but finding docs about "how" is hard. 

So this is my try to document the procedure, in case this helps someone... The examples are the one for solarpowerlog, so be sure to edit them before applying.

 (More)



Linux / Debian, solarpowerlog | Comments (0) | Trackbacks (0)

Configure lighttp to simulate .htaccess rules (Deny From All)

Posted by coldtobi | 19 Jun, 2010, 13:14

Unfortunatly, lighhtpd does not support ".htaccess" rules directly. So if you want to use a script targeted for Apache, you have to implement your own rules.

Luckily, the most needed rule is to forbid the serving of a whole directory, the "Deny From All" rule.

This one can be emulated within the lighttpd.con -- but you have to list every affected directory.  A tedious task to find out every .htaccess contianing the rule and then adding the path to the configuration.

But this can be automated:

 (More)




Linux / Debian, Tips and Tricks, Thecus N2100 | Comments (0) | Trackbacks (0)

Squirrelmail and lighttpd -- An Installation Guide --

Posted by coldtobi | 9 Jan, 2010, 21:57

sm_logo.jpgToday I installed the squirrel on my Thecus. The horde used before -- even if powerful -- was just to slow to make fun. As friends told me that the squirrel is slick and quick -- as its name suggests. (After installation, I can confirm this)

The squirrel -- is a web interface for accessing your mail, written in PHP. It does -- by default -- needs not to have any database. It can access your mail both by IMAP and by POP3.

As my setup is not the regular "Apache" based one, it might make sense to show how it has to be configured with lighttpd as web server.

Lets start.

 (More)




Linux / Debian, Tips and Tricks, Thecus N2100 | Comments (0) | Trackbacks (0)

Link Crosscompiling

Posted by coldtobi | 7 Jan, 2010, 20:59

In case I port solarpowerlog to arm hardware....

http://pocoproject.org/wiki/index.php/CrossCompiling




Linux / Debian | Comments (0) | Trackbacks (0)

git cheat sheet

Posted by coldtobi | 7 Jan, 2010, 13:01

A Cheat-sheet for not-so-often used or some command I frequently forget....

Some commands you just use too seldom. When you need them, you just thinking how you did it before... So I need a cheat sheet to note these down... 

 (More)



Linux / Debian | Comments (0) | Trackbacks (0)

Using USB Devices in a VirtualBox Guest (Linux Host)

Posted by coldtobi | 15 Oct, 2009, 22:52

If you cannot access USB devices from within your virtual box, you should check these points:

 (More)



Linux / Debian | Comments (1) | Trackbacks (0)

1 2 3 4 5  Next»