Bonjour, j’essaie de faire fonctionner une clé 3G dont les références sont les suivantes:
$ lsusb | grep Modem
Bus 005 Device 005: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
J’ai pour cela installé les paquets usbmode-switch, wvdial et gcom.
La clé est bien reconnue comme modem : $ dmesg | grep modem
[ 130.802530] USB Serial support registered for GSM modem (1-port)
[ 130.802665] option 5-1:1.0: GSM modem (1-port) converter detected
[ 130.802922] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 130.802955] option 5-1:1.1: GSM modem (1-port) converter detected
[ 130.803088] usb 5-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 130.803151] option: v0.7.2:USB Driver for GSM modems
Lorsque je lance wvdial, j’ai droit à ceci:# wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Waiting for prompt.
Là, ça attend une intervention de ma part,
vu que je n’ai aucune idée de quoi écrire dans ce prompt, il passe au bout de quelques instants à la suite du message.--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Thu Sep 3 14:27:00 2009
--> Pid of pppd: 13897
--> Using interface ppp0
--> pppd: ð·Í[08]HµÍ[08]
--> pppd: ð·Í[08]HµÍ[08]
--> pppd: ð·Í[08]HµÍ[08]
--> pppd: ð·Í[08]HµÍ[08]
--> pppd: ð·Í[08]HµÍ[08]
--> pppd: ð·Í[08]HµÍ[08]
--> Disconnecting at Thu Sep 3 14:27:02 2009
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
--> Auto Reconnect will be attempted in 5 second
Si quelqu’un a été plus loin, et sait quoi écrire dans le prompt,
j’apprécierais un retour d’expérience.
Pour conclure, bien que ça n’apporte pas grand chose : # tail /var/log/messages
Sep 3 14:30:24 eol pppd[15363]: Connection terminated.
Sep 3 14:30:24 eol pppd[15363]: Exit.
Sep 3 14:51:35 eol pppd[24134]: pppd 2.4.4 started by root, uid 0
Sep 3 14:51:35 eol pppd[24134]: Using interface ppp0
Sep 3 14:51:35 eol pppd[24134]: Connect: ppp0 <--> /dev/ttyUSB0
Sep 3 14:51:35 eol pppd[24134]: CHAP authentication succeeded
Sep 3 14:51:35 eol pppd[24134]: CHAP authentication succeeded
Sep 3 14:51:36 eol pppd[24134]: Modem hangup
Sep 3 14:51:36 eol pppd[24134]: Connection terminated.
Sep 3 14:51:36 eol pppd[24134]: Exit.