So it sees the drive. Is it listed in /etc/crypttab? That is what should cause it to prompt you for the passphrase.
On 10/22/09, Tobias Schula <[email protected]> wrote: > Am Donnerstag 22 Oktober 2009 08:02:48 schrieb Ritesh Raj Sarraf: >> B. Alexander wrote: >> > I haven't tried it, but take a look at Krypt at >> > http://krypt.berlios.de/. >> > >> > As for decrypting the drive, I would think if you put the drive into >> > /etc/crypttab, it should remove the need to run the cryptsetup command. >> > I >> > should (hopefully, time permitting) be able to look at this this >> > weekend, >> > as I have an external drive that I intend to encrypt. >> >> I don't think you need to do that. I too have a cryptsetup LUKS encrypted >> drive and what I plug it in, KDE (solid) recognizes it and prompts for the >> password to decrypt the drive. >> >> Have a look at the logs, there must be something relevant. >> >> Ritesh >> > > As you can see in the syslog, the kernel correctly detects the drive. It's > roughly the same output when plugging in a unencrypted drive. So it's kde > related. But whre does kde log its actions? > > Tobias > > > > Here's the syslog output when plugging in the encrypted drive: > Oct 22 19:44:36 siduxbox kernel: usb 3-1: new high speed USB device using > ehci_hcd and address 12 > Oct 22 19:44:36 siduxbox kernel: usb 3-1: New USB device found, > idVendor=1058, > idProduct=1003 > Oct 22 19:44:36 siduxbox kernel: usb 3-1: New USB device strings: Mfr=1, > Product=2, SerialNumber=3 > Oct 22 19:44:36 siduxbox kernel: usb 3-1: Product: External HDD > Oct 22 19:44:36 siduxbox kernel: usb 3-1: Manufacturer: Western Digital > Oct 22 19:44:36 siduxbox kernel: usb 3-1: SerialNumber: > 57442D574D41535936373033363434 > Oct 22 19:44:36 siduxbox kernel: usb 3-1: configuration #1 chosen from 1 > choice > Oct 22 19:44:36 siduxbox kernel: scsi15 : SCSI emulation for USB Mass > Storage > devices > Oct 22 19:44:36 siduxbox kernel: usb-storage: device found at 12 > Oct 22 19:44:36 siduxbox kernel: usb-storage: waiting for device to settle > before scanning > Oct 22 19:44:41 siduxbox kernel: usb-storage: device scan complete > Oct 22 19:44:41 siduxbox kernel: scsi 15:0:0:0: Direct-Access WD > 6400AAK External 1.75 PQ: 0 ANSI: 4 > Oct 22 19:44:41 siduxbox kernel: sd 15:0:0:0: Attached scsi generic sg4 type > 0 > Oct 22 19:44:41 siduxbox kernel: sd 15:0:0:0: [sdc] 1250263728 512-byte > logical blocks: (640 GB/596 GiB) > Oct 22 19:44:41 siduxbox kernel: sd 15:0:0:0: [sdc] Write Protect is off > Oct 22 19:44:41 siduxbox kernel: sd 15:0:0:0: [sdc] Mode Sense: 23 00 00 00 > Oct 22 19:44:41 siduxbox kernel: sd 15:0:0:0: [sdc] Assuming drive cache: > write through > Oct 22 19:44:41 siduxbox kernel: sd 15:0:0:0: [sdc] Assuming drive cache: > write through > Oct 22 19:44:41 siduxbox kernel: sdc: sdc1 > Oct 22 19:44:41 siduxbox kernel: sd 15:0:0:0: [sdc] Assuming drive cache: > write through > Oct 22 19:44:41 siduxbox kernel: sd 15:0:0:0: [sdc] Attached SCSI disk > > > And here when plugging in an unencrypted drive: > Oct 22 19:47:18 siduxbox kernel: usb 3-1: new high speed USB device using > ehci_hcd and address 13 > > Oct 22 19:47:18 siduxbox kernel: usb 3-1: New USB device found, > idVendor=0781, > idProduct=5151 > > Oct 22 19:47:18 siduxbox kernel: usb 3-1: New USB device strings: Mfr=1, > Product=2, SerialNumber=3 > Oct 22 19:47:18 siduxbox kernel: usb 3-1: Product: Cruzer Micro > Oct 22 19:47:18 siduxbox kernel: usb 3-1: Manufacturer: SanDisk > Oct 22 19:47:18 siduxbox kernel: usb 3-1: SerialNumber: 08768018C8416AB5 > Oct 22 19:47:18 siduxbox kernel: usb 3-1: configuration #1 chosen from 1 > choice > Oct 22 19:47:18 siduxbox kernel: scsi16 : SCSI emulation for USB Mass > Storage > devices > Oct 22 19:47:18 siduxbox kernel: usb-storage: device found at 13 > Oct 22 19:47:18 siduxbox kernel: usb-storage: waiting for device to settle > before scanning > Oct 22 19:47:23 siduxbox kernel: usb-storage: device scan complete > Oct 22 19:47:23 siduxbox kernel: scsi 16:0:0:0: Direct-Access SanDisk > Cruzer 7.01 PQ: 0 ANSI: 0 CCS > Oct 22 19:47:23 siduxbox kernel: sd 16:0:0:0: Attached scsi generic sg4 type > 0 > Oct 22 19:47:23 siduxbox kernel: sd 16:0:0:0: [sdc] 15701759 512-byte > logical > blocks: (8.03 GB/7.48 GiB) > Oct 22 19:47:23 siduxbox kernel: sd 16:0:0:0: [sdc] Write Protect is off > Oct 22 19:47:23 siduxbox kernel: sd 16:0:0:0: [sdc] Mode Sense: 45 00 00 08 > Oct 22 19:47:23 siduxbox kernel: sd 16:0:0:0: [sdc] Assuming drive cache: > write through > Oct 22 19:47:23 siduxbox kernel: sd 16:0:0:0: [sdc] Assuming drive cache: > write through > Oct 22 19:47:23 siduxbox kernel: sdc: sdc1 > Oct 22 19:47:23 siduxbox kernel: sd 16:0:0:0: [sdc] Assuming drive cache: > write through > Oct 22 19:47:23 siduxbox kernel: sd 16:0:0:0: [sdc] Attached SCSI removable > disk > > > At this point kde asks me if I want to mount the drive > > > Oct 22 19:47:34 siduxbox hald: mounted /dev/sdc1 on behalf of uid 1000 > > > -- > To UNSUBSCRIBE, email to [email protected] > with a subject of "unsubscribe". Trouble? Contact > [email protected] > > -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

