From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-146405-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 18A4F138010 for <garchives@archives.gentoo.org>; Tue, 2 Apr 2013 13:08:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6D506E0D2C; Tue, 2 Apr 2013 13:08:41 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB6DEE0D22 for <gentoo-user@lists.gentoo.org>; Tue, 2 Apr 2013 13:08:39 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id hr17so2520252wib.5 for <gentoo-user@lists.gentoo.org>; Tue, 02 Apr 2013 06:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:reply-to:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=soQQBSm2L7Lv8CTK9eDWLyIhx3RwmprTr5eScr0e8eU=; b=GChmXNGUk/rFWSDiXGiVnwXmwat9D6FpnVLjT71j/8A9R8O3GTQx/QaT2E6vcHo7Nh +OrotlEGnSRlCTPR+KiAeipi/BgA3T3X2zsd1a7S4juwbtGS/FLzBd7uAkFmhpMx5LGU AlWn7ojnuKximt2/zDByi/QQzwCb2v9ycGD9sWMk0M1b+L4c71Uault/YorXk1ExO53Y QR/KMeTZAY1ENvSOUyyfnOMQLkx4rDG44BwoZylIts+VTBGtY20hukLsKQzTnXU3mAfR ad/3vIxbfAVQILoCObTBjZe3KgZuERyD0o5k8BVNG4IH5jFxeY+fF2QumkWoYMr2OKqQ 4MMw== X-Received: by 10.194.57.137 with SMTP id i9mr21667222wjq.18.1364908118594; Tue, 02 Apr 2013 06:08:38 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPS id s2sm2501591wib.4.2013.04.02.06.08.36 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 06:08:37 -0700 (PDT) From: Mick <michaelkintzios@gmail.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] 4G Stick Huawei E3276 Date: Tue, 2 Apr 2013 14:06:37 +0100 User-Agent: KMail/1.13.7 (Linux/3.7.10-gentoo; KDE/4.10.1; x86_64; ; ) References: <5155A0BA.4060406@xunil.at> <5156CE30.6020501@xunil.at> <515ACB66.4040605@xunil.at> In-Reply-To: <515ACB66.4040605@xunil.at> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1909152.PbgoRgBRdl"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201304021406.47643.michaelkintzios@gmail.com> X-Archives-Salt: b0720c16-3b40-4093-bd02-9ffa789d94ef X-Archives-Hash: 31b0cc7088bfa5b627146711c3b07889 --nextPart1909152.PbgoRgBRdl Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tuesday 02 Apr 2013 13:13:26 Stefan G. Weichinger wrote: > Am 30.03.2013 12:36, schrieb Stefan G. Weichinger: > > But small progress, yes. >=20 > I am close, I feel it :-) >=20 > Switched to wvdial to rule out NM etc. >=20 > wvdialconf etc .... >=20 > I now have: >=20 > [Dialer Defaults] > Modem Type =3D Analog Modem Are you sure it is an analogue modem? Is this entry needed? > Dial Attempts =3D 1 > ISDN =3D 0 > New PPPD =3D yes > Init1 =3D ATZ > Init3 =3D ATQ0 V1 E1 S0=3D0 > Modem =3D /dev/ttyUSB0 The driver should create a number of devices, ttyUSB0/ttyUSB1/ttyUSB2/... = Try=20 them all in turn, only some may allow PPP connections. > Baud =3D 9600 Unless you are just trying to dial out over a PSTN number (which you are no= t)=20 you should be able to increase the baud to a higher number; e.g. 115200 > [Dialer pin] > Init2 =3D AT+CPIN=3D3451 >=20 > [Dialer eins] > Init4 =3D AT+CGDCONT=3D1,"IP","A1.net","",0,0,0,0 > Username =3D ppp@a1plus.at > Password =3D ppp > Dial Command =3D ATDT > Dial Attempts =3D 3 > Phone =3D *99# > Stupid Mode =3D 1 >=20 > ----> I first run "wvdial pin" then : >=20 >=20 > # wvdial eins > --> WvDial: Internet dialer version 1.61 > --> Initializing modem. > --> Sending: ATZ > ATZ > OK > --> Sending: ATQ0 V1 E1 S0=3D0 > ATQ0 V1 E1 S0=3D0 > OK > --> Sending: AT+CGDCONT=3D1,"IP","A1.net","",0,0,0,0 > AT+CGDCONT=3D1,"IP","A1.net","",0,0,0,0 > OK > --> Modem initialized. > --> Sending: ATDT*99# > --> Waiting for carrier. > ATDT*99# > CONNECT > --> Carrier detected. Starting PPP immediately. > --> Starting pppd at Tue Apr 2 14:09:43 2013 > --> Pid of pppd: 24968 > --> Using interface ppp0 > --> Disconnecting at Tue Apr 2 14:10:13 2013 > --> The PPP daemon has died: A modem hung up the phone (exit code =3D 16) > --> man pppd explains pppd error codes in more detail. Did you get anything more detailed in your logs? Do you have a pap-secrets file even if empty? If not: touch /etc/ppp/pap-secrets; chmod 600 /etc/ppp/pap-secrets If it still fails try adding something like this: # Secrets for authentication using PAP # client server secret IP addresses "user" * "" HOWEVER ...=20 I thought that the whole idea is to use this modem to connect on a 4G (LTE)= =20 network ... yes? In which case PPP is not the correct protocol. If this Huawei is using=20 Qualcomm chipset you should be using the qmi protocol and the cdc_ncm drive= r=20 ought to do all the dialling using this device (from your dmesg): [22765.769603] cdc_ncm 1-1.1:1.1 wwan0: register 'cdc_ncm' at usb-0000:00:1a.0-1.1, Mobile Broadband Network Device, 0c:5b:8f:27:9a:64 Other driver/protocols that can achieve high speeds of 4G are cdc-ether, cd= c- acm, but your card ought to pick out the correct available protocol from th= e=20 corresponding kernel module. PPP incurs an overhead (due to packet=20 encapsulation) and throughput speeds will be slower. That's how I understand these devices to work, but unfortunately I can't=20 verify any of this because I do not have access to such a device or a 4G=20 network. :-( I hope someone else who does can chime in. =2D-=20 Regards, Mick --nextPart1909152.PbgoRgBRdl Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEABECAAYFAlFa1+cACgkQVTDTR3kpaLbbRQCguKyxi/QSjxNpz5kTebDtlFxM 1QwAoKuu4ZvrikheOE4lhSHOODgSxbjI =JyxV -----END PGP SIGNATURE----- --nextPart1909152.PbgoRgBRdl--