Re: wvdial problem:ALCATEL X020 hsdpa usb modem- Morocco

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Amos,

$man pppd  .
explains ERRORs in a section near its end, including
16     The link was terminated by the modem hanging up

The problem is likely here:
CONNECT
--> Carrier detected.  Starting PPP immediately.
---------

This indicates that you have set in /etc/wvdial.conf
Carrier Check  =  no

which may not allow enough time for negotiations.  Comment out:
# Carrier Check  =  no

Save,
Then test dialout again.

MarvS

On Tue, Jul 22, 2008 at 9:01 AM, amosse@xxxxxxxxx <amosse@xxxxxxxxx> wrote:
> Many thank for your reply.
>
>> Amos,
>>
>> $ man pppd
>> explains ERROR 16:
>>  16     The link was terminated by the modem hanging up.
>> ------
>> which is not particularly useful.
>>
>
> Sorry but I don't understand the point below, could you explain me better?
>
>> A cellphone success report which may be useful immeduately follows.
>>
>> MarvS
>>
>>
>> On Mon, Jul 21, 2008 at 6:22 AM, amosse@xxxxxxxxx <amosse@xxxxxxxxx> wrote:
>> > Hello to everybody
>> >
>> > I am trying to get connection with the modem  ALCATEL X020
>> > hsdpa usb modem, I am in Morocco and my provider is MEDITEL.
>> > With  help of
>> > suseitalia.org forum I get to this point:
>> > [code]
>> > linux-amos:/home/amosse #
>> > wvdial
>> > --> WvDial: Internet dialer version 1.56 (abuild@balli)
>> > --> Cannot get
>> > information for serial port.
>> > --> Initializing modem.
>> > --> Sending: ATZ
>> > OK
>> > -->
>> > Sending: ATE0V1&D2&C1S0=0+IFC=2,2
>> > ATE0V1&D2&C1S0=0+IFC=2,2
>> > OK
>> > --> Sending:
>> > AT+CGDCONT=1,"ip","internet1.medinet.ma"
>> > OK
>> > --> Modem initialized.
>> > --> Idle
>> > Seconds = 300, disabling automatic reconnect.
>> > --> Sending: ATDT*99***1#
>> > -->
>> > Waiting for carrier.
>> > CONNECT
>> > --> Carrier detected.  Starting PPP immediately.
>> > --
>> >> Starting pppd at Sun Jul 20 21:03:17 2008
>> > --> Pid of pppd: 4819
>> > --> Using
>> > interface ppp0
>> > --> pppd: hb???[17][06][08][18][1b][06][08]
>> > --> pppd: hb???[17]
>> > [06][08][18][1b][06][08]
>> > --> pppd: hb???[17][06][08][18][1b][06][08]
>> > --> pppd:
>> > hb???[17][06][08][18][1b][06][08]
>> > --> pppd: hb???[17][06][08][18][1b][06][08]
>> > --
>> >> pppd: hb???[17][06][08][18][1b][06][08]
>> > --> pppd: hb???[17][06][08][18][1b]
>> > [06][08]
>> > --> Disconnecting at Sun Jul 20 21:03:53 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.
>> > [/code]
>> >
>> > Here is my wvdial.
>> > conf file:
>> > [code]
>> > [Dialer Defaults]
>> > Init1 = ATZ
>> > Init2 = ATE0V1&D2&C1S0=0+IFC=2,
>> > 2
>> > Init3 = AT+CGDCONT=1,"ip","internet1.medinet.ma"
>> > Modem = /dev/ttyUSB0
>> > Phone =
>> > *99***1#
>> > Idle Seconds = 300
>> > Modem Type = Analog Modem
>> > Stupid Mode = 1
>> >
>> > Compuserve = 0
>> > Baud = 460800
>> > Auto DNS = 1
>> > Dial Command = ATDT
>> > Ask Password = 0
>> >
>> > ISDN = 0
>> > Password = amosse
>> > Username = bomba
>> > [/code]
>> >
>> > Some can help to get
>> > connection?
>> >
>> > Many thanks.
>> > Amos
>> >
>>
>
>

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux