Pleas help fix my connecting to my E220 huawei modem

Asked by Juvencio

I read this forum (Solved Question #21387, asked on 2008-01-04 by jbb ) but I don’t get any help from it

This is my setup I use after about a week of trial and error and about 10 or more how to forums

Only difference is my Username and Password the rest is as is

sudo gedit /etc/wvdial.conf

[Dialer Defaults]
Phone = *99***1#
Username = username
Password = password
Stupid Mode = 1
Dial Command = ATDT

[Dialer hsdpa]
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

This is as far as I can get

juvencio@juvencio-desktop:~$ wvdial hsdpa
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> 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*99***1#
--> Waiting for carrier.
ATDT*99***1#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Jul 9 21:07:25 2008
--> Pid of pppd: 7769
--> Using interface ppp0
--> pppd: [06][08] [06][08] [06][08]
--> pppd: [06][08] [06][08] [06][08]
--> pppd: [06][08] [06][08] [06][08]
--> pppd: [06][08] [06][08] [06][08]
--> pppd: [06][08] [06][08] [06][08]
--> Disconnecting at Wed Jul 9 21:07:56 2008
--> 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 seconds

ps exit code = 16 is modem hung up explained by man pppd

not much help to me

Pleas keep you answers essay I’ve never got rout to reading Linux for dummies

KNOWLEDGE IS NOT A PRIVILEGE..................IT’S A NECESSITY

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu wvdial Edit question
Assignee:
No assignee Edit question
Solved by:
Juvencio
Solved:
Last query:
Last reply:
Revision history for this message
mgoz (magnus-modernafilmer) said :
#1

My first thought is that the number might be *99# (star-nine-nine-hash) - I am using Ubuntu with E220 using the
Vodafone Mobile Connect Card driver from https://forge.betavine.net/frs/?group_id=12&release_id=14

And, you might need a gateway from your provider, such as internet.operator.net or similar host.

Good luck,
/m

Revision history for this message
Juvencio (juvencio-vodamail) said :
#2

thank mgoz for the hint mine works with *99***16#

this works like a boom

open terminal and type

sudo -i

go to root then type

Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem. then type

sudo gedit /etc/wvdial.conf

modify and save wvdial.conf with this

# wvdial for Vodacom Data. Created by Tazz_tux
# Version 1.0

# Change Log:
#
# Added support for HSDPA.
# Added Headers and version control.

[Dialer Defaults]
Phone = *99***1#
Username = username
Password = password
Stupid Mode = 1
Dial Command = ATDT

[Dialer hsdpa]
Modem = /dev/ttyUSB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

look up your Phone number in windows and replace the *99***1# with the one from windows
mine worked with *99***16#
replace Username
replace Password

then save file and close then type

wvdial hsdpa

You should be connected.

Do not close the terminal where wvdial is running.

CTRL+C ends the connection.

ps if it dose not work try unplug and replug the modem