General :: Crypsetup (Unix) Is Not Reading The Device?
Jan 25, 2011
I have a Unix based question. Intro:Trying to create local image which is coded by the cryptsetup tool. Here are my steps:
abcdef# dd if=/dev/zero of=image.img bs=512M count=1 1+0 records in 1+0 records out 536870912 bytes (537 MB) copied,6.39732 s, 83.9 MB/s abcdef# cryptsetup luksFormat image.imgWARNING! ======== This will overwrite data on image.img irrevocably. Are you sure? (Type uppercase yes): YES Cannot read device image.img.
Q:How can I make it work correctly(creating local image with crypting support) or how can I (if its possible of course) to swindle my os?
View 1 Replies
ADVERTISEMENT
May 17, 2011
I need to read some data from a hdd that belongs to an old SCO Unix system. The SCSI card is PCI so I unplugged it from the old SCO unix box and stuck it in a new computer and booted using a Fedora 14 USB pen drive. The SCSI card was recognized and so was the hdd but it was not mounted. I then went into Applications, Disk Utility, and found the hdd. Under 'Edit Partition' the type was blank. I was tempted to set it to 'Extended' but was not sure whether that could damage the data on the disk. Does anyone know whether I would be able to read this Hdd by setting the type to 'Extended'?
View 5 Replies
View Related
Jun 28, 2011
I wish to read the Manufacturer data and other details such as Device ID, Serial number on a USB drive.
1. Could anyone help me out with information on the memory structure of a USB drive? (which location is the mnfr data stored?)
2. Are there are any commands in Linux that will help in reading/accessing this data?
View 3 Replies
View Related
May 1, 2010
I am running Debian off a CF on a SBC board (TS-7200). I am connecting via serial ttyAM0. It has a 2.4.26 Kernel running a Sarge distro of Debian.
I am using a terminal in windows to work on the device via serial. (Tera Term)
I am trying to read the input from a keyboard usb device. However, I want to eventually be able to read from any HID device. I currently have a Dell keyboard plugged into usb. lsusb gives:
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 413c:1003 Dell Computer Corp.
Bus 001 Device 003: ID 413c:2010 Dell Computer Corp.
[Code]....
View 1 Replies
View Related
May 4, 2011
I don't understand the results of a simple performance test I ran using two basic scripts (running on a high end server):
perfVar.zsh :
#!/bin/zsh -f
MYVAR=`cat $1`
for i in {1..10}
[code]...
Performance test result:
> time ./perfVar.zsh BigTextFile > /dev/null
./perfVar.zsh FE > /dev/null 6.86s user 0.32s system 100% cpu 7.177 total
> time ./perfCat.zsh BigTextFile > /dev/null
./perfCat.zsh FE > /dev/null 0.01s user 0.10s system 91% cpu 0.118 total
I would have thought that accessing a VARIABLE was way faster than reading a FILE on the file system... Why this result ?Is there a way to optimize the perfCat.zsh script by reducing the number of accesses to the file system ?
View 3 Replies
View Related
Jun 25, 2009
I'm having a weird problem with libusb-1.0. I have a fresh install of Fedora 11. I'm trying to control a USB HID device (own development) and I want to offer Linux support via libusb. Writing to the device is not a problem and works without any problem. The problems starts when I want to read from the device. Under Windows everything works without a problem.
Via lsusb -v I get this information:
Bus 003 Device 013: ID 16c0:0552
Device Descriptor:
bLength 18
bDescriptorType 1
[Code]...
View 1 Replies
View Related
Jul 10, 2015
I have a problem trying to create an encrypted LUKS partition on a USB pen drive, but I don't know whether it is a hardware or software issue.
I just installed debian on this laptop with non-free packages:
Code: Select allroot@debianpc:~# uname -a
Linux debianpc 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
Then just to learn cryptsetup I thought it was safer playing with a partition on an old usb pen drive. But when I try the command:
Code: Select allcryptsetup -v --debug --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 3000 --use-urandom --verify-passphrase luksFormat /dev/sdb2
I get the usual message (Are you sure? ...), I type yes then it fails with code 22:
Code: Select all# cryptsetup 1.6.6 processing "cryptsetup -v --debug --cipher aes-xts-plain64 --key-size 512 --hash sha512 --iter-time 3000 --use-urandom --verify-passphrase luksFormat /dev/sdb2"
# Running command luksFormat.
# Locking memory.
# Installing SIGINT/SIGTERM handler.
# Unblocking interruption on signal.
WARNING!
========
This will overwrite data on /dev/sdb2 irrevocably.
Are you sure? (Type uppercase yes): yes
# Unlocking memory.
Command failed with code 22: Invalid argument
I had /var/log/messages open in tail on another terminal, but no message appeared. I tried the same command deleting one by one the parameters, but I got the same behaviour, so I don't think it is a parameter problem.
View 1 Replies
View Related
May 20, 2010
i installed kernel 2.6.34 to fix my lid closing issue, and that went great. but now when i go to reinstall my broadcom i get this error. Code: Reading package lists... Done Building dependency tree Reading state information... Done bcmwl-kernel-source is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ... Removing old bcmwl-5.60.48.36+bdcom DKMS files...
[Code].....
View 9 Replies
View Related
Feb 23, 2009
i have been using samba to gain access into windows computer through my pc which has fedora 8 ..can i access the unix machine from another unix machine? is yes then what is the procedures ?
View 4 Replies
View Related
Aug 23, 2011
I've bought an X10 Home Automation USB interface: the CM15.
This is the information lsusb gives:
skerit@KIP-DU-SKER:~$ lsusb Bus 008 Device 002: ID 0bc7:0001 X10 Wireless Technology, Inc. ActiveHome (ACPI-compliant)
But this tells me nothing about where the device file is! How can I find that, or create one myself?
View 1 Replies
View Related
Aug 9, 2011
file 1 :
DB_NAME FIRST_ACTIVE_LOG DBPARTITIONNUM
-------- -------------------- --------------
BP1 279231 0
BP1 12735 1
BP1 12734 2
BP1 12735 3
BP1 12616 4
[Code]...
View 4 Replies
View Related
Apr 17, 2010
It's a dell ubuntu. But I don't know why I can't do:
myuser@192.168.0.103
which is my local-ip.
View 2 Replies
View Related
Jun 18, 2010
I tried to run % mvdir earlier and it said command not found. I then ran a search for it and still not found.Is there a place I can download the script for the command, and is there any information I should know post-download to get it to work?
View 4 Replies
View Related
Aug 21, 2010
I wonder if the unix commands (cp, mv, grep, args etc) are the same for Mac and Ubuntu. Do they have the same parameter lists and so on or do they try to stay the same but are slightly different?
View 3 Replies
View Related
Dec 18, 2010
What Linux or Unix version underlies Mac OS, OS X 10.6? Is there a good documentation for that version, specifically regarding security, networks and similar topics?
View 3 Replies
View Related
Aug 10, 2011
Possible Duplicate:
Linux: Is there something similar to "top" for I/O?
I am trying to do some CPU intensive operation on a Linux machine and it is showing very high load.
I want to figure out if this load is due to I/O or CPU usage. How could I get the percentage of I/O usage by process?
View 3 Replies
View Related
Jan 20, 2010
I want to code some simple personal projects on the Unix-like partition while doing everything else on my XP partition. Can someone recommend the solution that takes up the smallest footprint in size and processing power that still delivers value? I want to learn how to code in a Unix environment.
I'm trying Cygwin but my first impression is its a bit clumsy. Would a dual boot with BeOS be better? And how would I do it? EDIT: I need to be able to run both OS'es at the same time. This is very important for me. my laptop is pretty crappy and that's why I ask for something that has a low CPU/RAM footprint.
View 3 Replies
View Related
Mar 27, 2010
I have an NCR UNIX hard disk I need to mount it on a Linux box The FS Type in fdisk on linux is '63' for the partition How can i mount on my linux box ? what is kernel module i needed ?
View 1 Replies
View Related
Dec 26, 2010
Whats the drifference between unix and linux senior?..
View 7 Replies
View Related
Aug 13, 2010
how to download a webpage using unix nd then parse throufh its content to extract particular portion (like header or title) ?
View 5 Replies
View Related
Feb 11, 2011
I have Solaris at my workplace. Currently Esm was configured.It's listing conflicting configurations against policy standards. Few of them are like usrid's/guid's of users are below 100 so I am planning to change it above 100. For eg. I have ops id for an operations team.If I change uid and group id of this particular user/group, do I have to just find files of that particular users/groups ownership and change it accordingly.Or else something elese I have to do. Will it affect any running applications owned by user/group whose ID I am going to change. Also there are few ids owned by applications whose secondary gid is 0, how do I proceed with those, as its very risky to change in prod environment.
View 1 Replies
View Related
Mar 16, 2010
i am now running Slitaz 2.0 and i would like to know how to run windows applications on my system. My OS didnt come with this wine ive been hearing about so i dont know what do do.
View 7 Replies
View Related
Jun 29, 2011
I have beeen trying to find a list of all flags that can be used in UNIX and their meaning but I have had no luck.
Does anyone know if such a list exists?
If so where can I find it?
View 10 Replies
View Related
May 11, 2010
Whenever i want to start tomcat server I need to go totomcatdir>inand execute startup.sh file.How would i make this happen whenever i start my machine?Also want to know How would i set the variable at startup.
View 10 Replies
View Related
Feb 8, 2011
I am planning to switch my carrier to Unix, where & how do I start?
View 3 Replies
View Related
Dec 10, 2010
What exactly is the use of dmesg?
View 3 Replies
View Related
Jul 20, 2011
How to check memory in unix or nix
View 1 Replies
View Related
Jan 27, 2010
I have a VPS running Debian. The time that it reports from the date command is two minutes fast.Is there a service that I can install that will keep the time correct?
View 2 Replies
View Related
Jul 14, 2010
I've seen the trackpad tool to write chinese characters on macs, is there any such linux clone? Or are there any projects that anyone knows of which are trying to create that for linux?
View 1 Replies
View Related
Sep 2, 2010
Let's say I have file A, and using 'ln -s A B', I have B. When I open, edit and save B, now B is not symlink anymore. It's just a new copy of A. Is this expected behavior? I use Mac OS X, and I wonder it's common in UNIX. In this case, is there any way to keep B as a (soft link) to A? Or, make B as the hard link would be the only way to solve this issue? What's the advantage of using soft link than hard link? The editor that I use is 'TextMate' on Mac.
View 1 Replies
View Related