Huawei EM770W EVK working with Linux

This modem will take advantage of usbserial and option modules, both can be found at <kernel-source>/drivers/usb/serial

$ uname -a

Linux saygon 2.6.32-25-generic-pae #45-Ubuntu SMP Sat Oct 16 21:01:33 UTC 2010 i686 GNU/Linux

$ dmesg

[  149.268862] usb 1-3: USB disconnect, address 2
[  172.784026] usb 1-3: new high speed USB device using ehci_hcd and address 3
[  172.908043] hub 1-0:1.0: unable to enumerate USB device on port 3
[  204.720026] usb 1-3: new high speed USB device using ehci_hcd and address 4
[  204.784814] hub 1-0:1.0: unable to enumerate USB device on port 3
[  205.056042] usb 3-1: new full speed USB device using uhci_hcd and address 2
[  205.196242] usb 3-1: not running at top speed; connect to a high speed hub
[  205.220365] usb 3-1: configuration #1 chosen from 1 choice
[  205.285437] usbcore: registered new interface driver usbserial
[  205.285456] USB Serial support registered for generic
[  205.285765] usbcore: registered new interface driver usbserial_generic
[  205.285768] usbserial: USB Serial Driver core
[  205.289258] USB Serial support registered for GSM modem (1-port)
[  205.289306] option 3-1:1.0: GSM modem (1-port) converter detected
[  205.289458] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB0
[  205.289473] option 3-1:1.1: GSM modem (1-port) converter detected
[  205.290319] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB1
[  205.290441] option 3-1:1.2: GSM modem (1-port) converter detected
[  205.291438] usb 3-1: GSM modem (1-port) converter now attached to ttyUSB2
[  205.291462] usbcore: registered new interface driver option
[  205.291465] option: v0.7.2:USB Driver for GSM modems

$ lsusb | grep -i huawei

Bus 003 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem

$ cat /etc/wvdial.conf

[Dialer Defaults]
Modem = /dev/ttyUSB0
ISDN = off
Modem Type = USB Modem
Baud = 7200000
Init = ATZ
Init2 = AT+CGDCONT=1,”IP”,”claro.com.br”
Init3 =
Init4 =
Init5 =
Init6 =
Init7 =
Init8 =
Init9 =
Phone = *99#
Phone1 =
Phone2 =
Phone3 =
Phone4 =
Dial Prefix =
Dial Attempts = 1
Username = claro
Password = claro
Auto Reconnect = off
Abort on Busy = off
Carrier Check = off
Check Def Route = off
Abort on No Dialtone = off
Stupid Mode = on
Idle Seconds = 0
Auto DNS = on

$ sudo wvdial

–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: AT+CGDCONT=1,”IP”,”claro.com.br”
AT+CGDCONT=1,”IP”,”claro.com.br”
OK
–> Modem initialized.
–> Sending: ATDT*99#
–> Waiting for carrier.
CONNECT
–> Carrier detected.  Starting PPP immediately.
–> Starting pppd at Thu Nov 11 12:45:23 2010
–> Pid of pppd: 2611
–> Using interface ppp0
–> local  IP address 187.25.11.82
–> remote IP address 10.64.64.64
–> primary   DNS address 200.169.117.222
–> secondary DNS address 200.169.117.221
^CCaught signal 2:  Attempting to exit gracefully…
–> Terminating on signal 15
–> Connect time 0.1 minutes.
–> Disconnecting at Thu Nov 11 12:45:32 2010

Ps: If you face some network problems after using the modem, take a look at your DNS configuration.

  1. #1 by ericki on May 10, 2011 - 3:24 pm

    Ola Hamilton
    …procurando no Google “Unbuntu + Huawei EM770”, ache a sua pagina…

    Gostaria saber si vc consigue usar esse modem com SIM da Claro sem problema para ligar com internet, mandar/recever SMS o mais…?
    Esse modem e externo USB o interno (Modelo do PC ) ?
    Procuro Modem com slot SIM para usar com o accesso da TIM, GPRS o 3G (si chega na offertas um dia…)
    Obrigado

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: