[gull] Clef 3g ZTE MF 637 sur une Ubuntu 10.04

Samuel Chenal samuel_chenal at yahoo.fr
Tue Oct 26 23:07:06 CEST 2010


Bonjour à tous,

J'essaie depuis quelques jours de faire fonctionner une clef 3g Orange France 
(modèle: ZTE MF 637) sur un Packard Bell Easy Note BG45-U-001 sur lequel tourne 
une Ubuntu 10.04 (aucun soucis constaté).

Note 1: la clef a été achetée à Paris par ma copine qui y travaille de temps en 
temps, ce qui n'est pas mon cas et du coup c'est plus difficile pour tester et 
trouver des solutions...

Note 2: petite particularité de cette clef, elle comporte en plus du modem, un 
carte de stockage (comme une clef USB standard).

Note 3: c'est une solution à pré-payement sans abonnement (Orange Mobicarte).

Je n'arrive donc pas à obtenir une connexion (même si je suis dans une zone 
Orange FR, comme à la gare de Genève par exemple).

Après plusieurs recherches et tâtonnements, j'ai suivi la piste du puissant 
script sakis3g:

http://www.sakis3g.org/

Le site est extrêmement bien fait (il y a même une vidéo) et le script 
s'installe facilement. Reste que lui aussi ne parvient pas à me donner une 
connexion réseau. Je dois être très proche de la solution, mais là je sèche.

1) Après avoir inséré la clef, j'éjecte (logiciellement) la partie "stockage" 
(conseils lus sur des forums).
2) Je lance le script. Le modem est détecté (sur /dev/ttyUSB4). Le réseau Orange 
FR est détecté. Le système parvient sauf erreur à s'enregistrer sur le réseau 
Orange FR. Mais la connexion dans le NetworkManager ne parvient pas à 
s'établir... (ou monte pendant 1/2 seconde et tombe).

Voici un extrait du debug de sakis3g:

_____________________________

...

[22057] [16:35:11] We are root already. Proceeding.
/-------------------------------------------------------------------------------
[22057] [16:35:11] Will now run command: \'/bin/rm -f "/tmp/sakis3g.3gnet"\'
/-------------------------------------------------------------------------------
\-------------------------------------------------------------------------------
[22057] [16:35:11] Command returned 0.
\-------------------------------------------------------------------------------
[22057] [16:35:11] We are root already. Proceeding.
[22057] [16:35:11] Device /dev/ttyUSB4 is not busy.
[22057] [16:35:11] Verbosing: 56% Connecting (second attempt)
[22057] [16:35:11] PID 26414 is still running.
[22057] [16:35:11] PID 26414 is still running.
pppd options in effect:
-detach        # (from command line)
logfd 2        # (from command line)
maxfail 3        # (from command line)
ktune        # (from command line)
dump        # (from command line)
noauth        # (from command line)
name shazam        # (from command line)
user orange\norange\norange\nmportail\nuser\ngprs\norange\norange        # (from 
command line)
password ??????        # (from command line)
usehostname        # (from command line)
/dev/ttyUSB4        # (from command line)
460800        # (from command line)
lock        # (from command line)
connect /usr/sbin/chat -v -f /tmp/pppd.tmp.22057        # (from command line)
crtscts        # (from command line)
modem        # (from command line)
asyncmap 0        # (from /etc/ppp/options)
lcp-echo-failure 4        # (from /etc/ppp/options)
lcp-echo-interval 30        # (from /etc/ppp/options)
hide-password        # (from /etc/ppp/options)
noipdefault        # (from command line)
defaultroute        # (from command line)
proxyarp        # (from /etc/ppp/options)
usepeerdns        # (from command line)
noipx        # (from /etc/ppp/options)
[22057] [16:35:11] PID 26740 is still running.
[22057] [16:35:11] Waiting for interface to go up (0 seconds passed).
[22057] [16:35:12] PID 26740 is still running.
[22057] [16:35:12] Waiting for interface to go up (1 seconds passed).
Serial connection established.
Using interface ppp0
Connect: ppp0 <--> /dev/ttyUSB4
[22057] [16:35:13] PID 26740 is still running.
[22057] [16:35:13] Interface ppp0 is up.
[22057] [16:35:13] Waiting for interface to go up (2 seconds passed).
CHAP authentication succeeded
CHAP authentication succeeded
[22057] [16:35:14] PID 26740 is still running.
[22057] [16:35:14] Interface ppp0 is up.
[22057] [16:35:14] Waiting for interface to go up (3 seconds passed).
[22057] [16:35:15] PID 26740 is still running.
[22057] [16:35:15] Interface ppp0 is up.
[22057] [16:35:15] Waiting for interface to go up (4 seconds passed).
Hangup (SIGHUP)
Modem hangup
Connection terminated.

_____________________________

La commande cat /var/log/messages donne quelque chose de semblable :

-----------------

Oct 26 18:02:09 shazam pppd[12118]: noipdefault#011#011# (from command line)
Oct 26 18:02:09 shazam pppd[12118]: defaultroute#011#011# (from command line)
Oct 26 18:02:09 shazam pppd[12118]: proxyarp#011#011# (from /etc/ppp/options)
Oct 26 18:02:09 shazam pppd[12118]: usepeerdns#011#011# (from command line)
Oct 26 18:02:09 shazam pppd[12118]: noipx#011#011# (from /etc/ppp/options)
Oct 26 18:02:09 shazam pppd[12118]: pppd 2.4.5 started by root, uid 0
Oct 26 18:02:10 shazam chat[12140]: abort on (NO CARRIER)
Oct 26 18:02:10 shazam chat[12140]: abort on (NO DIALTONE)
Oct 26 18:02:10 shazam chat[12140]: abort on (BUSY)
Oct 26 18:02:10 shazam chat[12140]: abort on (ERROR)
Oct 26 18:02:10 shazam chat[12140]: abort on (NO ANSWER)
Oct 26 18:02:10 shazam chat[12140]: send (ATZ^M)
Oct 26 18:02:10 shazam chat[12140]: expect (OK)
Oct 26 18:02:10 shazam chat[12140]: ATZ^M^M
Oct 26 18:02:10 shazam chat[12140]: OK
Oct 26 18:02:10 shazam chat[12140]:  -- got it
Oct 26 18:02:10 shazam chat[12140]: send (ATD*99#^M)
Oct 26 18:02:10 shazam pppd[12118]: Serial connection established.
Oct 26 18:02:10 shazam pppd[12118]: Using interface ppp0
Oct 26 18:02:10 shazam pppd[12118]: Connect: ppp0 <--> /dev/ttyUSB4
Oct 26 18:02:30 shazam pppd[12118]: Hangup (SIGHUP)
Oct 26 18:02:36 shazam pppd[12118]: Connection terminated.
Oct 26 18:02:37 shazam pppd[12118]: Modem hangup
Oct 26 18:02:37 shazam pppd[12118]: Exit.

----------------------------

Je ne suis hélas pas un spécialiste réseau mais j'ai l'impression que toutes les 
couches montent correctement et dès que le système est prêt, badaboum, le modem 
raccroche... 


CHAP authentication succeeded

Il s'agit bien de l'authentification au réseau Orange (en l'occurrence) ? 

Paramètres définis dans le NetworkManager:

Nombre : *99#
Nom d'utilisateur : orange
Mot de passe : orange
APN : orange.fr
Réseau : [vide]
Pin : 0000

Quelqu'un a-t-il une idée ? Des expériences dans les clefs 3g réticentes ?

Merci d'avance pour vos feedbacks.

Bonne soirée,

Samuel Chenal

P.S. Oui, j'aurais dû vérifier que la clef 3g était compatible avec linux, AVANT 
l'achat, mais voilà. Ce n'est pas moi qui l'ai achetée...  ;-)


      


More information about the gull mailing list