Feb 8 2012

can’t apt-get with ubuntu 9.x anymore? here are the old deb’s

cat > /etc/apt/sources.list < < EOF deb http://old-releases.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ jaunty-updates main restricted universe multiverse deb http://old-releases.ubuntu.com/ubuntu/ jaunty-security main restricted universe multiverse > EOF

Jul 20 2009

hdparm und sdparm

sind beides sehr mächtige tools, hier schonmal was nützliches:

Additionally you can shorten the time after which the drive spins down using sdparm in the following way:
sdparm –set=SCT=3600 /dev/sda
This will set the time till spin down (SCT = Standby ConditionTimer) to 6 minutes (= 3600 tenth of a second).

hdparm -y /dev/sdb1
direkt in standby schicken

Jul 20 2009

samba, dreambox, ufs 910 nslu2, ntfs-3g und umlaute… grrrrrr

dos charset = cp1250
unix charset = ISO-8859-15
server string = NSLU2
security = SHARE
obey pam restrictions = Yes
guest account = guest_account # user sollte exisiteren
syslog = 0
max stat cache size = 64
ldap ssl = no

modprobe nls_iso8859_15 (installieren, falls nicht vorhanden)
depmod -a (permanent machen)

apt-get install locales
dpkg-reconfigure locales
auswählen: de_DE@euro

ggf: export LC_ALL=de_DE@euro
unten darauf achten, dass man locale genauso wählt, sonst ncihts mit äöü 😀

/dev/sdb1 /media/share ntfs-3g defaults,locale=de_DE@euro 0 0

share von server aus:
mount -t cifs -o user=egal //IP_NSLU2_SAMBA/share /media/share

festplatte sollte man dann so mounten:
mount -o rw,locale=de_DE@euro /dev/sdb1 /media/share/ -t ntfs-3g

puhhhhhhh !

Jul 13 2009

Create swap

dd if=/dev/zero of=/hdd/swap bs=1M count=400
mkswap /hdd/swap
swapon /hdd/swap
/hdd/swap swap swap defaults 0 0

Nov 8 2008

[xp/linux routing] add route

route print (check current routes)

route add mask
( is now reachable via 


route add -net netmask gw