Encrypted ReiserFS filesystem check How-To

I’ve a notebook with an encrypted flash memory (SD card) used as my home folder.

I use lucks crypto with dm-crypt under Ubuntu.

This works quite nicely, I mean just click on the card reader and a window ask you for your password.

But as I never unmout it, even if reiserfs is meant to be uncorructible, I got a wird error on my  Pigdim folder.

error reiserfs

This redfile comes from either the flash corruption or the reiserfs file system.

So to correct this problem i did:

Check in gparted ( System, Admini, Partition editor)

gparted

Note the name of the partition and the mountpoint.

sudo umout /media/Sdcrypt

sudo reiserfsck –check /dev/mapper/luks_crypto_cc8b0c71-6096-4f5e-a4e5-4d18dcc27132

sudo reiserfsck –check –rebuild-tree /dev/mapper/luks_crypto_cc8b0c71-6096-4f5e-a4e5-4d18dcc27132

sudo reiserfsck –check /dev/mapper/luks_crypto_cc8b0c71-6096-4f5e-a4e5-4d18dcc27132

Then my trouble was gone. It rebuilt the file tree and remove the corrupted file. Dont forget to save all your file first.

SMS ou comment les opérateurs ont ruinés…

SMS ou comment les opérateurs ont ruinés ses abonnée et l’orthographe.

Visible dans tout les pays, toutes les culture, l’écriture SMS a pris une ampleur impressionnante:

http://www.engadget.com/2008/03/07/texting-generation-carrying-spelling-habits-to-birth-certificate/

Tout en facturant 15cents les 160 octets, soit le prix exorbitant de 937,50 € le Mo, bref un record, un peu comme facturer un mail 10€….

Ce faible nombre de lettre alloués par message et à tel prix a forcé ses utilisateurs de contracter les mots à outrance, pour n’en laisser que son écriture phonétique.

Les opérateurs sont responsables car:

  • les SMS n’occupent que peu ou pas de réseau, ils ne circulent pas sur la meme route que la voix.
  • ils n’ont pas de garantie de terminaison (votre appel si)

Un autre service appelé Imode permet lui l’envoi de mail à taille illimité, service qui à explosé au Japon.

Bref, mieux vaut passer un appel voix… et si vous devez traduire un message:

http://www.traducteur-sms.com

Wifi/VPN accès internet à l’université (Nomadisme) et Ubuntu/Xandros

Avoir internet partout, c’est bien, mais le wifi nécessite quelques rajouts de sécurité.

C’est donc ainsi qu’a l’UJF (Université Joseph Fourier, Grenoble), l’internet est dispo sur tout le campus, au prix de l’installation et l’utilisation d’un client vpn cisco.

Ce topic traitera donc de l’utilisation du client VPN sous Ubuntu/Kubuntu/Xandros.

En tant qu’étudiant, vous avez du recevoir une feuille explicative du comment utiliser cette connexion, et linux est meme proposé sur la page :

https://nomadisme.grenet.fr/install/linux.php

Seulement, ca me dérange de promouvoir linux et de continuer à demander aux genrs de compiler…..

Surtout qu’un client est dispo en package .deb

  • Pour Ubuntu/Gnome et Kubuntu/Kde: (voir ici pourquoi)

sudo apt-get install network-manager-vpnc

  • Pour EEE PC/Xandros:

suivre le guide présent ici pour les dépot Xandros

et taper :

sudo apt-get install vpnc

  • Pour Ubuntu/Gnome et Kubuntu/Kde: dans le network manager, vous pouver rajouter une connexion VPN de type Cisco.

Host=rance-2.ujf-grenoble.fr
GroupName=UJF-ETU

Ensuite il vous demandera votre login et le passgroup, qui peut etre extrait du fichier .pcf fourni par l’université avec :

cisco vpnclient password decoder dans le lien fourni, vous avez le bon passgroup pour l’UJF.

Pour le lancer il ne reste plus qu’a cliquer sur network manager, connexion vpn et votre nouvelle connexion fraichement crée.

  • Pour EEE PC/Xandros:

Suivre le topic que j’ai crée ici:

http://wiki.eeeuser.com/howto:vpn

Il n’y a plus qu’a rajouter un racourci sur le bureau et c’est tout bon. (de cette commande: kdesu /etc/vpnc/vpn

A derniere chose, ne pas oublier non plus de changer de proxy, pourquoi ne pas installer SwitchProxy dans firefox pour faciliter la tache?

Have fun.

Ubuntu: Sync simplified (Nokia<=>Evolution :Calendar-Contact-Notes)

I freshly installed the new Ubuntu 7.10, which include (was hardly awaiting for it) bluetooth and so on.

The idea is to synchronise your handheld device (Nokia 6021 in my case) with your computer, in order to, keep synchronise your Google calendar, even if your are not online. There is a nice project, but, just a project:

https://wiki.ubuntu.com/SyncIntegration 

Here is a full graphical guide, without command line.

Connection:

  • Bluetooth
  • InfraRed IR
  • USB

Depending on your hardware, you will have to ehance a bit this tuto, since I will only use the bluetooth.

As previouly explained, I had to copy the firmware for my pcmcia card: and the nice BT icon appears:

bticon.png

Opensync:

Opensycn is a framework to synchronise differents devices, still alpha but works great in my case.

Now, you will have to find the matching plugin for your device:

http://www.opensync.org/wiki/DeviceCompatibilityList

And install the proper package, there is no Gusty 7.10 version for opensync but the packages for the previous one 7.04 feisty works fine.

You can download packages(.deb) on this page:

http://opensync.gforge.punktart.de/repo/opensync-0.21/feisty (hope I will remember to change this part as soon there is a repo for the 7.10)

Download and install the following packages:

The framework:

libopensync0

The plugins:

libopensync-plugin-google-calendar

libopensync-plugin-file

libopensync-plugin-evolution2

And the synchronisation tools:

libopensync-plugin-gnokii (in my case: see on the DeviceConpatibilityList above)

A GUI:

multisync-gui

Then you can add a launcher on your pannel:

launcher.png

Start it and add a group, named whaterver you want:

Then add to this group a member, depending on your configuration, either the bluetooth address or the /dev

To get your bluetooth Mac, type hcitool scan in a terminal.

Add another member, the module you want to sync: either Evolution or Google Calendar

Click on synchronise, pass the Bluetooth key, and enjoy.

Because I was using Thunderbird previously, I had to export my mail to Evolution.

You can add google calendar in Evoltion, that’s nice easy and efficient.

Ubuntu-Ubuntu Single-Click (Reverse VNC throught Firewall/Router)(UPDATED)

VNC is a software to graphically remote computers, available for every OS.

Since I’m leading my familly/friends to the Open-source/Ubuntu way, They need support especially graphical (better that “heuuu the window on the top left…..”) And I cannot ask them: ” open a terminal, type sudo apt-get install x11vnc then enter” Coz I saw people typing “e-n-t-e-r”
For Windows-Ubuntu or Windows-Windows Ultra VNC Sigle-Click contain all the features.

Here is a small How-to made from differents part picked-up around Internet to make it working as the windows one (one click)
I assume you know more than the dude on the front of you, that mean you know that if you receive a connexion the the 5500 port, you will not forget to forward it on your router.
Your Computer:

sudo apt-get install vncviewer
vncviewer -listen

Make a file with in:

#!/bin/sh
gksudo "apt-get install -q -y x11vnc"
x11vnc -connect_or_exit xx.xx.xx.xx -rfbport 0 -nopw

Where xx.xx.xx.xx is your IP address, the public one.
Save it as “Helpdesk-Linux” , set it executable and send it to your friend by email.

Your Friend’s Computer:

Start the script file and thats all.

You can alternatively install x11vnc and start the connexion with:

sudo apt-get install x11vnc
x11vnc -connect your.external.ip.address:5500

But the version is few releases late.

Sources:

Tuto from ubuntuforum:

http://ubuntuforums.org/showthread.php?t=299489

x11vnc webpage’s project:

http://www.karlrunge.com/x11vnc/

How to for .deb from sources:

http://www.quietearth.us/articles/2006/08/16/Building-deb-package-from-source

Minitel rose killer : WEB2.0 everywhere

Here we go, after the taxed number by Wengo for computer support, another kind of service appeared (still for G33K5)


Principle:

    • You want a “Horny call”, subscribe, select your partner and your phone ring.
      • You wanna earn money and you are “Horny callable”, same but let you called.

      Isn’t it wonderful?

Jajah….. inconvenient again

I use a lot Jajah, and I can say even if the quality is perfect; I’ve been encountered 2 annoying features:

– Call back agent, who charge your call after 5 ringtones even if your friend didn’t respond (by harasing them via mail I got refund of 10€ for that)

– Limitation when changing your number:

Maximum number of changes per phone category exceeded allowed limit. Please contact support.

So, I cannot change my source number anymore… I will definitly quit this service, But I cannot find a good one similar and cheap.

Free.fr & Deezer.com: partenariat

Pour répondre aux différentes annonces de neuf et de wanadoo, free annonce l’écoute illimitée d’un bon nombre de titre sur le site de son partenaire : Deezer.com, à la différence des autres FAI: ce n’est simplement que du partenaria.

• Free lance son service de musique à la demande illimitée et gratuite avec Deezer.com : Ce service permet d’accéder gratuitement, de façon illimitée et légale à des centaines de milliers de titres de tous genres musicaux, de tous les catalogues, sans exclusivité (1).

(source: free.fr)

Je ne vais pas m’éterniser sur ce sujet, mais tout simplement ajouter deux ou trois petit lien:

Une note sur korben.info sur ce sujet et surtout:

Comment “enregistrer sous” ces fichier flash en mp3 grâce à,

Un plug-in pour FF

Un script php

Si vous testez une de ces solution merci de laisser un feedback.

Une seule chose à dire: All your base are belong to us