mercredi 23 septembre 2009

VPN Hamachi under ubuntu 8.10

First of all we need to download the files from here

Hamachi for Linux v0.9.9.9-20 tar files

Run 'make install' and then 'tuncfg' from under the root account

Run 'hamachi-init' to generate crypto identity (any account).

Run 'hamachi start' to launch Hamachi daemon.

Run 'hamachi login' to put the daemon online and to create an account.

Run 'hamachi join ' to join the network.

Run 'hamachi go-online ' to go online in the network.

Run 'hamachi list' to list network members and their status.

you can try to ping other user and all
to have more information on the root folder there is the README :)

Good luck i made it work on Ubuntu 8.10

jeudi 3 septembre 2009

Mobile de Maroc télécom : comment configurer le modem 3G Huawei E220 sous GNU/Linux ? (Ubuntu 8.10 )

Salut à tous,

Je partage avec vous comment connecter le modem Huawei E220 de maroc télécom sous linux Ubuntu.
La versions que j'utilise est l'intrepid 8.10, sur un HP 6510b.
Voila le logiciel de gestion du modem existe deja sur le system d'exploitation c'est le wvdial. Donc on ne va pas se prendre la tête.
On modifie directement le fichier /etc/wvdial.conf on y ajoute les lignes suivante:

[Dialer iam]
Modem=/dev/ttyUSB0
Init2=ATZ
Init3=ATE0V1&D2&C1S0=0+IFC=2,2
Init5=AT+CGDCONT=1,"ip","www.iamgprs2.ma";
Phone=*99#
Stupid Mode=1
Username =iam
Password =gprs

A noté que j'ai au prealable desactivé la demande du code pin à l'aide d'un tel suportant la 3g Nokia E71 ou autre chose. N'oublier pas de basculer en root@# pour modifier le fichié.
Ensuite toujours en Root lancer la commande sur un terminal


jamal@tabakla:~$ sudo wvdial iam
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
OK
--> Sending: AT+CGDCONT=1,"ip","www.iamgprs2.ma";
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Thu Sep 3 23:08:55 2009
--> Pid of pppd: 9987
--> Using interface ppp0
--> local IP address 10.190.4.93
--> remote IP address 10.64.64.64
--> primary DNS address 212.217.0.1
--> secondary DNS address 212.217.0.12

Aprés avoir obtenue une sortie semblable lancer votre navigateur et voila à vous de jouer