Skip to content

How to clone copy-protected audio CDs using linux

(or generally speaking, how to create an exact copy of any multitrack CD)

1. copy the cd to an image file
# cdrdao read-cd --read-raw --device /dev/hdc --driver generic-mmc-raw --datafile cd.bin cd.toc


2. burn the image to a cd
# cdrdao write --speed 64 --device /dev/hdc --driver generic-mmc --eject cd.toc


Using cdrdao ("disk-at-once") is imho the best solution to copy a CD, because you get an exact copy of the whole disk, not just a copy of each track. => This preserves for instance the delay between tracks on an audio CD.
Defined tags for this entry: ,

snom 200 password recovery

If you forgot the admin password, you'll need to upload a new firmware to the phone in order to get default settings again.

I first downloaded snom200-3.56z-SIP.bin from http://www.snom.com/firmware.html to my tftp server.

then I created a symlink snom200.bin to snom200-3.56z-SIP.bin

now you need to power on the phone. while the initial text/logo is displayed, press any key. the phone now prompts you for an ip address and a tftp address. enter these, and press OK. the phone will now update it's firmware and boot. you then need to select the country, timezone etc. once this is done, you get a new firmware with factory defaults.

now just point your browser to the snoms' ip address. (while we are here we can check if the bootloader can be updated too)

update 2010-03-16: the firmware can now be downloaded from http://wiki.snom.com/Snom2xx/Firmware

Firewire scanner on linux

(as root)
modprobe ieee1394
modprobe ohci1394
modprobe sbp2
sane-find-scanner
chmod a+rw /dev/sg0

(as regular user)
scanimage -L

Downloading pictures from my mobile phone

My phone stores the camera pictures in a dedicated folder with filenames like "Picture(1).jpg".
for I in `seq 20 30` ; do obexftp -b 00:11:22:33:44:55 -c 'Pictures/camera_semc/' -g "Picture($I).jpg" ; done