Huawei E272 Module vodafone USB internet problem

learnbash

New Member
Joined
Oct 4, 2012
Messages
7
Reaction score
0
Location
capetown
Hello folks,

I am using fedora 17, below is my lsusb detail.

Code:
Bus 006 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270 HSDPA/HSUPA Modem

Below is my wvdial.conf detail

Code:
[Dialer vodafone]
Phone = *99***1#
Username = vodafone
Password = vodafone
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init5 = AT+CGDCONT=1,"IP","internet";

but when i am trying to connect with vodafone it give error. Please see below

Code:
wvdial vodafone
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
ATE0V1&D2&C1S0=0+IFC=2,2
ERROR
--> Bad init string.

Please help me out to resolve this issue. I have usb_modeswitch already install.
 
Please help me out to resolve this issue. I have usb_modeswitch already install.
From the error message it appears your modem does not understand the Init3 initialization string.
Try removing this line from your wvdial.conf.

Doesn't Fedora 17 have GNOME NetworkManager and ModemManager?
You shouldn't need to mess with wvdial at all.
 
From the error message it appears your modem does not understand the Init3 initialization string.
Try removing this line from your wvdial.conf.

Doesn't Fedora 17 have GNOME NetworkManager and ModemManager?
You shouldn't need to mess with wvdial at all.

I have disable the line now output is change

Code:
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet";
AT+CGDCONT=1,"IP","internet";
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet";
AT+CGDCONT=1,"IP","internet";
ERROR
--> Bad init string.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: AT+CGDCONT=1,"IP","internet";
AT+CGDCONT=1,"IP","internet";
ERROR
--> Bad init string.
 
I use below setting, now you can advise where the mistake is.

Code:
[Dialer Defaults]
Phone = *99***1#
Stupid Mode = 1
Username = vodafone
Password = vodafone
Dial Command =

[Dialer pin]

Init1 = AT+CPIN = 0000


[Dialer option]

Modem = /dev/ttyUSB0
Baud = 460800
Init2 =
Init3 =
ISDN = 0
Modem Type = Analog Modem


[Dialer internet]

Init5 = AT+CGDCONT=1,"IP","internet";

It is doing

Code:
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: *99***1#
--> Waiting for carrier.
--> Timed out while dialing.  Trying again.
--> Sending: *99***1#
--> Waiting for carrier.
 
I have tried Modem Manager, but it is not connecting, not showing anything in log.
Does the modem and SIM card work in Windows? Do you have airtime?
Try with the username and password blank, or try removing those lines.
 
Does the modem and SIM card work in Windows? Do you have airtime?
Try with the username and password blank, or try removing those lines.

yes sim card, it is working in windows. I can't remove username/password it gives error.

Code:
wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
OK
--> Modem initialized.
--> Configuration does not specify a valid login name.
--> Configuration does not specify a valid password.
 
I am sad, no one is able to help me in this small issue, i know there is some small setting is missing, but i don't have idea, people who are using this kind of advise suggest me best.
 
Top
Sign up to the MyBroadband newsletter
X