jeltsch's blog

cryptsetup

I switched already quite a while ago from the old cryptoloop technology to the newer cryptsetup technology. However, I still forget how to manually create and mount encrypted volumes, because I do this rarely. Here are the commands:
cryptsetup create cryptovolume /dev/mapper/logical_volume
mount /dev/mapper/cryptovolume /mountpoint

In this case I mapped a logical volume, but of course you can map physical volumes, too:
cryptsetup create cryptovolume /dev/sdb1
mount /dev/mapper/cryptovolume /mountpoint

Changing the MAC (Media Access Control) address of NICs (Network Interface Cards)

In some networks, computers have to be registered to get connected. Upon registration, the computer will receive a name and an IP address. Every time it connects to the network, the DHCP server assigns it the same name and IP address. The DHCP server identifies computers based on the MAC address, which is unique to every NIC. However, if you know the MAC address of a registered computer, you can use it to connect to the network, faking the MAC address:

WINE regression testing

I am using Textco's Gene Construction Kit (version 2.5) do draw my DNA vector maps. Unfortunately this company doesn't care about Linux users. Therefore I have to use WINE to run the Windows version of the program. Admittedly, I could run VMware, VirtualBox or Parallels, but all that just to run a small program? Unfortunately either the Gene Construction Kit (GCK) is not coded according to standards or WINE is still not able to deliver full compatibility but now and then a WINE upgrade renders the program unable to run.

Pages