Feb
8
2012
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
Comments Off on can’t apt-get with ubuntu 9.x anymore? here are the old deb’s | tags: linux | posted in bash
Jul
20
2009
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
Comments Off on hdparm und sdparm | tags: linux | posted in bash
Jul
20
2009
samba:
[global]
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
——–
bash:
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 äöü 😀
ntfs-3g:
/etc/fstab:
/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 !
Comments Off on samba, dreambox, ufs 910 nslu2, ntfs-3g und umlaute… grrrrrr | tags: linux | posted in bash
Jul
13
2009
dd if=/dev/zero of=/hdd/swap bs=1M count=400
mkswap /hdd/swap
swapon /hdd/swap
/etc/fstab
/hdd/swap swap swap defaults 0 0
Comments Off on Create swap | tags: linux | posted in bash, linux
Nov
8
2008
win:
route print (check current routes)
route add 192.168.0.0 mask 255.255.255.0 10.4.0.1
(192.168.0.0/24 is now reachable via 10.4.0.1)
linux:
route
route add -net 192.168.0.0 netmask 255.255.255.0 gw 10.4.0.1
Comments Off on [xp/linux routing] add route | tags: linux | posted in routing, windows