Jul 20
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
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 !
Jul 13
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
Nov 08
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
Recent Comments