GalerieBlogUnity3D ExamplesKontaktSitemapFullsitemap

iFolder - a Dropbox replacement from Novell

Finally I installed iFolder on a Debian squeeze box.

logged in to the iFolder web interface

Advantages over Dropbox:

  • you can host your files
  • only your server limits the amount of space
  • You can have more the one root folder (no need to use sym- / hardlinks)

Disadvantages over Dropbox:

  • it requires mono to run (only a problem on Linux and OSX)

You can read more about iFolder here.

 Permalink

fdisk and 4k sectors

If you own disks with 4k sectors you will see a warning with fdisk:

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
         switch off the mode (command 'c') and change display units to
         sectors (command 'u').

you can do that with:

fdisk -uc /dev/DEVICE

or just type c then u inside fdisk but that is not sufficent...
Make sure all your partitions start at a sector with a number that is evenly divisible by 2048.
(The end of a partition has not to be divisible by 2048.)

 Permalink

running a wrt150N with DD-WRT as WirelessAccessPoint only

Having a wireless router and want to have it's LAN and WLAN in the same subnet as the other cients in your LAN?

Just configure it as WAP with this howto from the DD-WRT wiki.

And use the reserved button as on / off switch for wireless:
enable "Turning off radio" under "SES / AOSS / EZ-SETUP / WPS Button" in the "Services" -> "Services" panel.
(This way it acts as a switch with 5 ports.)

 Permalink

rrd grpahing some data

Just did again some graphing with rrd.
Thinking (googling) some metrics to graph I found some interesting articles:

  • some nice rrd examples: link
  • List of Cacti Scripts and Templates: link (I did not try them out yet!)
  • 20 Linux System Monitoring Tools Every SysAdmin Should Know: link
  • article about graphing spend cpu ticks: link
  • opennms graph gallery: link
  • tool to create color gradient steps: link (mentioned in the link above)
  • pmacct could be used to get protocols out of network traffic: link (will try it, once I have more time)

And here are some pics:
load average

cpu ticks in percentage of total klicks
(as this machine is idleing it graphs only between 0 and 5 %)

temperature reading: system, cpus and harddrives

Btw: am using catcti to graph and some custom code to push metrics to cacti. Will post about it, once it is on github.

 Permalink

building customized debian kernels

Arg, ok, back with debian for my servers and new hardware.
With debian I got a more recent kernel for xen (someone forward ported xen to the current debian stable kernel), but an older xen hypervisor.

However I need an even newer igb network driver (where gentoo had backported them).

This line only builds the xen flavour:

fakeroot make -f debian/rules.gen binary-arch_amd64_xen

Location of the full howto.

Building only the kernel module:

apt-get install linux-headers-2.6.26-2-xen-amd64
/usr/src/igb-2.3.4/src && make && make install
 Permalink

testdisk - recover your partition table

I just hat the issues that my external WD drive showed no partition to mount.
It contained a timemachine backup.

Luckily I found testdisk which could restore the partition table.
Here are some screen shots:

testdisk log file options

testdisk drive selection

 Permalink

iFolder - an opensource alternative to dropbox

I like dropbox and I use it to sync stuff around my different boxes.
Btw. If you don't have dropbox installed, please use me as a referral.

Today I found an open source project sponsored by Novell called iFolder.

There is also a howto install on debian.

Hope I will find some time to play with it, at it allows me to be my own host of my files and still have the ease of "Dropbox" alike behavior.

 Permalink

usefull alias

Bash's ls can show different time formats when used with the -l option:

alias ls='ls --color=auto'
alias l='ls -ha -l --time-style=long-iso'


 Permalink

compare to directories for file presence

I came to the situation while building a php package, that I needed to know which new files I have added.

You can use diff for that :-)

# show changed files:
diff -rq php5 php5-20100428-144057

# show only added or removed ones:
diff -rq php5 php5-20100428-144057 | grep ^Only
 Permalink

egg's - a solution for shared components with python

Some interesting topics where covered this #swisspy 's webtuesday:

virtualenv 
virtualenvwrapper
setuptools
hudson

Here are some pictures:





 Permalink
Next1-10/24