Tuesday, January 6, 2009

Fingered And Infection

Firmware Update Samsung YP-S3

For those wishing to turn their MP3 player from Samsung device MTP to UMS .

  1. Install packages libmtp-devel, libusb and mtpfs : yaourt-Sy libmtp-devel libusb mtpfs
  2. download the latest firmware from this address (look for your model). In our case it is the version 1.11 UMS KR. Create the file
  3. config.dat.unix containing the following lines:
    YP-S3
    KR KO UMS
  4. config.dat.unix convert the file format suitable for Windows (see EOL). I do not know if this step is necessary, do it anyway:
    awk 'sub ("$", "\\ r")' config.dat.unix>> config.dat
  5. Write down on a sheet of paper, the steps required to configure the language. After the upgrade the default language will be the Koreano.
  6. After connecting the player to access them mtpfs (the samsung is only temporary folder):
    mtpfs ~ / samsung
  7. Unpack in a folder other than the firmware you downloaded earlier. You will find a file called S3.ROM. Copy the folder as before (~ / samsung) files S3.ROM and config.dat :
    cp-v-t ~ / samsung S3.ROM config.dat
  8. Once the transfer is complete disconnect the reader.
  9. Turn the player back and wait for the firmware update.
  10. Now change the settings of lingua. Per vedere se l'aggiornamento è andato a buon fine selezionate Settings->Sistema->Info su-> Firmware Version: 1.11 KR
  11. A questo punto ricollegate il lettore mp3 e vedere se viene riconosciuto come dispositivo USB.
  12. Prima di iniziare ad usarlo è bene che facciate un backup:
    dd if=/dev/sdb of=~/samsung.YPS3-JAR.backup
    tar -zcvf samsung.YPS3-JAR.backup.tar.gz ~/samsung.YPS3-JAR.backup
  13. Le canzoni basta copiarle nella cartella /Music.

Friday, January 2, 2009

Personal Letter Clothing Store

fingerprint reader digital on Lenovo 3000 N200

Ecco i passi da seguire per abilitare il lettore di impronte digitali con Archlinux .

1) Rimuovete il pacchetto libusb : pacman -Rs libusb

2) Installate il pacchetto libusb-beta presente in AUR. Attualmente il pacchetto non è molto aggiornato, quindi vi consiglio di usare il seguente PKGBUILD. Salvate il file in una cartella qualsiasi e date il comando: makepkg -cis

pkgname=libusb-beta
_realname=libusb
pkgver=1.0.0
pkgrel=1
depends=('gcc-libs')
pkgdesc="Library to enable user space application programs to communicate with USB devices - BETA"
arch=(i686 x86_64)
url="http://libusb.sourceforge.net/"
license=('LGPL')
groups = ('base')
Provides = ('libusb = 1.0.0')
Conflicts = ('libusb')
options = (! Libtool)
source = ($ http://downloads.sourceforge.net/ _realname / $ $-_realname pkgver.tar.bz2)
md5sums = ('df2447c23750ef2b4a314200feacc2ee')

build () {
cd $ startdir / src / $ $-_realname pkgver
. / configure - prefix = / usr - disable-build-docs
make updated (since I am the maintainer).
To speed things up we can use yaourt:
yaourt-Sy {libfprint, fprint_demo, pam_fprint}-nightly


4) add the user to the group scanner: gpasswd-a username scanner 5) Now we can save the 'image of his right (for convenience), slowly sliding the finger over the reader. Store is the impression that for the normal user to root: pam_fprint_enroll-f7
6) In order to use the fingerprint as a key to access the file need to edit / etc / pam.d / login
adding highlighted line below. You can add this line to other files in the folder
/ etc / pam.d / depending on the program you want to use (for example, or gdm):
#% PAM-1.0 auth required
pam_securetty.so auth requisite pam_nologin.so
auth sufficient pam_unix.so auth required pam_fprint.so
nullok 7) We just have to test it. Open a shell and try to login with the login command

. Move your fingertip on the reader. If the scan went well, there you will be logged, otherwise you will be asked to enter the password manually. Obviously, this system obviates the use of the fact fingerprint reader. It would therefore be to deny all access by password. This can be done by editing the configuration files above. But since
fprint
software is still a young man, better not risk it.