Getting Huawei EC-121 to work on Ubuntu 8.10
Dec 11th, 2008 by admin

Recently I bought Huawei EC-121 modem from Omnnea (Iraqi CDMA operator) with monthly subscription , it works fine on Windows but when I plugged it in Ubuntu 8.10 NetworkManager didn’t detect anything….however, dmesg showed 3 modems detected by the kernel ttyUSB0…ttyUSB2…if it takes long time to detect the modems just try to rmmod usb-storage to ignore the embedded CD-Drive emulator.
Getting this thing to work under Linux wasn’t hard at all , prepare your wvdial configuration :
sudo gedit /etc/wvdial
replace the contents of the file with the fo
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 M1 L1 X3 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Abort On No Dialtone = False
New PPPD = yes
Phone = #777
Modem = /dev/ttyUSB0
Username = omnnea
Password = omnnea
Now try to connect using wvdial :
sudo wvdial
you will get something like this :
WvDial: Internet dialer version 1.60
Cannot get information for serial port.
Initializing modem.
Sending: ATX3
ATX3
OK
Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
Modem initialized.
Sending: ATM1L3DT#777
Waiting for carrier.
ATM1L3DT#777
CONNECT 153600
Carrier detected. Waiting for prompt.
~[7f]}#@!}!} } }=}!}$}%\}”}&} } } } }#}%B#}%}%}&.|&p}’}”}(}”qW~
PPP negotiation detected.
Starting pppd at Thu Dec 11 14:10:23 2008
Pid of pppd: 6515
Using interface ppp0
local IP address 10.10.6.148
remote IP address 192.168.2.2
primary DNS address 192.168.1.1
secondary DNS address 4.2.2.5
For some reason wvdial doesn’t change the DNS name servers so you have to do it manually :
sudo gedit /etc/resolv.conf
and add the following name servers :
nameserver 192.168.1.1
nameserver 4.2.2.5
HI, I have tried to connect ec121 modem on FEDORA 9. :
I am exeperiencing like this:
1) wvdialconf /etc/wvdial.conf
2) replace ph no and, uname and paswd as valid.
3) [root@localhost ~]# wvdial
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–> Sending: ATZ
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#777
–> Waiting for carrier.
ATDT#777
CONNECT 153600
–> Carrier detected. Waiting for prompt.
~[7f]}#@!}!}!} } PPP negotiation detected.
–> Starting pppd at Sun Dec 21 16:01:13 2008
–> Pid of pppd: 15326
–> Using interface ppp0
–> pppd: �[1c]� �[18]�
–> pppd: �[1c]� �[18]�
–> pppd: �[1c]� �[18]�
–> pppd: �[1c]� �[18]�
–> local IP address 220.226.80.185
–> pppd: �[1c]� �[18]�
–> remote IP address 220.224.135.71
–> pppd: �[1c]� �[18]�
–> primary DNS address 202.138.103.100
–> pppd: �[1c]� �[18]�
–> secondary DNS address 202.138.96.2
–> pppd: �[1c]� �[18]�
^CCaught signal 2: Attempting to exit gracefully…
–> Terminating on signal 15
–> pppd: �[1c]� �[18]�
–> Connect time 0.1 minutes.
–> pppd: �[1c]� �[18]�
–> pppd: �[1c]� �[18]�
–> Disconnecting at Sun Dec 21 16:01:22 2008
— If u have any solutions Pls let me know.
Thanks in advance.