From: Bernard on
Bernard wrote:
> Hi to Everyone !
>
> Would anyone here have any experience about Huawei E1752 under Debian
> or Ubuntu ?
>
> I have previously succeeded in connecting a 'Huawei ABCD', using
> 'sakis 3G'. But I have now subscribed to another package, which uses
> E1752, and 'Sakis 3G' does not achieve any useful connexion.
>
> 'lsusb' tells me that the key has the ID 12d1:1446 as a mass storage
> device. After switching (using either 'Sakis 3G' or 'usb_modeswitch'),
> it identifies as 12d1:141b. /var/log/messages then tells me that it is
> being reckognized as a GSM modem and that it is attached to ttyUSB0
> and to ttyUSB1. So far so good.
>
> Then, the connecting process starts. 'Sakis 3G' does a few guesses and
> tests and it tries various parameters for various Internet Providers.
> In the end, it seems to obtain a connection that only lasts one or two
> seconds, as shown below from /var/log/messages :
>
>
> *****************************
> pppd 2.4.4 started by root, uid 0
> using interface ppp0
> Connect: ppp0 <---> /dev/ttyUSB0
> Warning: secret file /etc/ppp/pap-secrets has world and/or group access
> Warning: secret file /etc/ppp/chap-secrets has world and/or group access
> CHAP authentification succeeded
> CHAP authentification succeeded (line repeated twice)
> Modem hangup
> Connexion terminated
> Exit.
> ******************************
>
> This being done, I have carried tests using wvdial. Here is the
> contents of my /etc/wvdial.conf file :
>
> ******************************
> [Dialer Defaults]
> Modem = /dev/ttyUSB0
> Init2 = ATZ
> Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> ISDN=0
> Modem Type = 3G Orange
> Phone = *99#
> Username = orange.ie
> Password = orange.ie
> *****************************
>
> Therefore, I type :
> sudo comgt -d /dev/ttyUSB0
>
> My PIN code is then requested, and I enter it (0000)
> I get this :
>
> *****************************
> SIM ready
> Waiting for Registration..(120 sec max)
> Registered on Home network: "20801",2
> Signal Quality: 11,99
> *******************************
>
> Then I tape :
> sudo wvdial
>
> **********************************
> bd(a)dell-desktop:~$ sudo wvdial
> --> 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#
> --> Waiting for carrier.
> ATDT*99#
> CONNECT
> --> Carrier detected. Waiting for prompt.
> --> Don't know what to do! Starting pppd and hoping for the best.
> --> Starting pppd at Fri Aug 6 18:09:22 2010
> --> Pid of pppd: 29127
> --> Using interface ppp0
> --> Disconnecting at Fri Aug 6 18:09:24 2010
> **********************
>
> And here is the output of /var/log/messages :
>
> *************************
> Aug 6 18:09:22 dell-desktop pppd[29127]: pppd 2.4.4 started by root, uid
> 0
> Aug 6 18:09:22 dell-desktop pppd[29127]: Using interface ppp0
> Aug 6 18:09:22 dell-desktop pppd[29127]: Connect: ppp0 <--> /dev/ttyUSB0
> Aug 6 18:09:22 dell-desktop pppd[29127]: Warning - secret
> file /etc/ppp/pap-secrets has world and/or group access
> Aug 6 18:09:22 dell-desktop pppd[29127]: Warning - secret
> file /etc/ppp/chap-secrets has world and/or group access
> Aug 6 18:09:22 dell-desktop pppd[29127]: CHAP authentication succeeded
> Aug 6 18:09:22 dell-desktop pppd[29127]: CHAP authentication succeeded
> Aug 6 18:09:23 dell-desktop pppd[29127]: Modem hangup
> Aug 6 18:09:23 dell-desktop pppd[29127]: Connection terminated.
> Aug 6 18:09:23 dell-desktop pppd[29127]: Exit.
> *****************************
>
> No need to say that I have tried this several times, with same results.
> A test under MSWIN XP did give a connection.
>
> It may be that the sent parameters are not the right ones to obtain a
> connexion with wvdial, but I don't know what else to try.
>
> Thanks in advance for your help.
>
>
>
>
I just found what was wrong, while watching what happened during a
connection under MSWIN. The Username and Password were supposed to be
both set to 'orange.ie', so I believed, especially since this was
supposed to be a short for 'Orange Internet Everywhere'. 'orange.ie' was
also the first choice that was being proposed by 'Sakis 3G'. I learnt
that it had to be changed to 'orange.fr'. Once this was done, I could
get connexions under Ubuntu without any further problems, whether using
'wvdial' or 'Sakis 3G'.



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C5CA165.4070707(a)teaser.fr