Alle berichten van Willem

Virual Encrypted Folders

Voor het versleuteld opslaan van gegevens:

Voeg fuse toe aan de kernel of laad de fuse module: modprobe fuse

Aanmaken encrypted filesysteem: encfs ~/crypt-raw ~/crypt

De versleutelde bestanden staan in ~/crypt-raw, benaderbaar via ~/crypt.

Unmounten met: fusermount -u ~/crypt

Mounten met: encfs ~/crypt-raw ~/crypt

Een prima artikel uit Linux Format, juni 2006, LXF80.

Pas op, als je de sleutel kwijt bent is er geen weg terug, de data is vooralsnog permanent onbereikbaar……

DVB-C Cinergy 1200 op Caiway netwerk met MythTV

nl-caiway

# Caiway Netherlands (Westland, Midden-Delfland, Maassluis,
# Aalsmeer, Uithoorn, Halderberge (kern Oudenbosch),
# wijk Wateringse Veld (Den Haag), IJsselstein, Schiedam en Doorn
#
# Bij ?FREQUENTIE? drukt u op uw afstandsbediening ?55400? in op uw scherm verschijnt nu 554,00 MHZ.
# Hierna drukt u op de afstandsbediening op het pijltje naar beneden zodat u de optie ?NETWERK ID?
# selecteert. Hier kiest u afhankelijk van uw gemeente
# Westland/Midden Delfland -> 2249
# Maassluis -> 6227
# Aalsmeer/Uithoorn -> 2257
# Oudenbosch -> 6536
# Hierna drukt u op de afstandsbediening weer op het pijltje naar beneden, u bent nu bij de
# optie ?MODULATIE?. Standaard is uw digitale ontvanger ingesteld op ?64 QAM?. Staat hier iets anders
# dan drukt u net zolang op het pijltje naar links of rechts op de afstandsbediening tot u de
# optie ?64 QAM? selecteert.
# Hierna drukt u op de afstandsbediening op het pijltje naar beneden zodat u de
# optie ?SYMBOOLSNELHEID? selecteert. Hier vult u in ?6900?
#
# freq sr fec mod
C 554000000 6900000 NONE QAM64

dvbscan ./nl-caiway > channels.conf

Channel scanner in mythtv-setup via import

Hoe formatteer ik mijn 1000 GB backup disk?

Hoe formatteer ik mijn 10002000 GB backup disk?

mkfs.ext4 -m 1 /dev/device

of

mke2fs -t ext4 -c -c -L backupdisk -m 1 /dev/device

tune2fs -O extents,uninit_bg,dir_index /dev/device

fsck -pf /dev/device

mke2fs – create an ext2/ext3/ext4 filesystem

mke2fs -c -c -j -L backupdisk -m 1 /dev/sdd1

-c Check the device for bad blocks before creating the file system.
If this option is specified twice, then a slower, read-write
test is used instead of a fast read-only test.

-j Create the filesystem with an ext3 journal. If the -J option is
not specified, the default journal parameters will be used to
create an appropriately sized journal (given the size of the
filesystem) stored within the filesystem. Note that you must be
using a kernel which has ext3 support in order to actually make
use of the journal.

-L new-volume-label
Set the volume label for  the  filesystem  to  new-volume-label.
The maximum length of the volume label is 16 bytes.

-m reserved-blocks-percentage
Specify the percentage of the filesystem blocks reserved for the
super-user. This avoids fragmentation, and allows root-owned
daemons, such as syslogd(8), to continue to function correctly
after non-privileged processes are prevented from writing to the
filesystem. The default percentage is 5%.

-t fs-type
Specify the filesystem type (i.e., ext2, ext3, ext4, etc.) that is to be cre‐
ated.  If this option is not specified, mke2fs will pick a default either via
how  the  command  was  run (for example, using a name of the form mkfs.ext2,
mkfs.ext3, etc.) or via a default as defined by the /etc/mke2fs.conf(5) file.

puk9 willem # mke2fs -c -c -j -m 1 /dev/sdd1
mke2fs 1.40.8 (13-Mar-2008)
Warning: 256-byte inodes not usable on older systems
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
61054976 inodes, 244190000 blocks
2441900 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=4294967296
7453 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848

tune2fs – adjust tunable filesystem parameters on ext2/ext3 filesystems

This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

hdparm – get/set SATA/ATA device parameters

hdparm -q -S 241 /dev/sdb

-S     Set the standby (spindown) timeout for the drive.  This value is
used  by  the  drive to determine how long to wait (with no disk
activity) before turning off the spindle motor  to  save  power.
Under  such circumstances, the drive may take as long as 30 sec‐
onds to respond to a subsequent disk access, though most  drives
are much quicker.  The encoding of the timeout value is somewhat
peculiar.  A value of zero means “timeouts  are  disabled”:  the
device will not automatically enter standby mode.  Values from 1
to 240 specify multiples of 5 seconds, yielding timeouts from  5
seconds to 20 minutes.  Values from 241 to 251 specify from 1 to
11 units of 30 minutes, yielding timeouts from 30 minutes to 5.5
hours.   A  value  of  252  signifies a timeout of 21 minutes. A
value of 253 sets a vendor-defined timeout period between 8  and
12  hours, and the value 254 is reserved.  255 is interpreted as
21 minutes plus 15 seconds.  Note that  some  older  drives  may
have very different interpretations of these values.

How to open a Philips Universal Remote Control SBC RU 760?

My Philips SBC RU 760 is lost after it has fallen on the ground (Philips, how do you test your new remote controls?). A metal part, inserted to give it a better feeling a assume, came loose and ruined the circuit board. This is not a plus for my love hate relation with Philips products as you can imagine…..

I hope you can repair yours wit the help of this information.

Philips SBC RU760 Top

Philips-SBC-RU760

Philips SBC RU760

Philips SBC RU760 Circuit board broken

How to open a Philips Universal Remote Control SBC RU 760?

Linux disk tools for Windows systems (FAT, NTFS)

Some tools to remember

GNU Parted

  • GNU Parted creates, resizes, moves, copies partitions, and filesystems (and more).

cfdisk

  • Curses based disk partition table manipulator for Linux
  • Onderdeel van util-linux-ng

fdisk

  • fdisk – Partition table manipulator for Linux
  • Onderdeel van util-linux-ng

mkdosfs

  • Create an MS-DOS file system under Linux
  • mkfs.vfat -F 32 -n /dev/sdxx

syslinux

  • Make bootable

SystemRescueCD

  • SystemRescueCd is a Linux system on a bootable CD-ROM for repairing your system and recovering your data after a crash.