From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Lj7YQ-0002Gw-2T for garchives@archives.gentoo.org; Mon, 16 Mar 2009 07:48:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32624E0145; Mon, 16 Mar 2009 07:48:08 +0000 (UTC) Received: from mail-fx0-f161.google.com (mail-fx0-f161.google.com [209.85.220.161]) by pigeon.gentoo.org (Postfix) with ESMTP id D19FCE0146 for ; Mon, 16 Mar 2009 07:48:07 +0000 (UTC) Received: by fxm5 with SMTP id 5so935901fxm.34 for ; Mon, 16 Mar 2009 00:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:x-homepage:x-operating-system :user-agent; bh=PT2EtE3QqZO8shoUsmGelOABShpfNjkB5aknwV6utIQ=; b=ktmCVcrI7pS/yi9x9hj7U5RWiMLJ9by1njuhfIkPNTged8+vit0LYxFb6P+TqNIKSQ +UjwEETdzWxBZfa4ZGJJzOwaAkU6MwYMagtD9Cz0JbumberxO+K68C6tQfKv5Ci/yKpr oIyRhVp1jImiK/aB8o4JwUaLNUUQhnVRo2DPQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :x-homepage:x-operating-system:user-agent; b=Mca0IHXQm4Daqap/uW3Orl0gannIO1WmexLD32WDw+fxY9rsW0a5hjZkLiRvAcMVwf OplxWt6zZ5lCmi/kWd8pGftaBDrGmCmzASc1IEttXM5rHLPNoG0BfYlqfHc9EdV1uDnk AjB4xAlsvhPqvme2ZUdDTLXwCeC4/APrUb6zk= Received: by 10.223.107.68 with SMTP id a4mr2935347fap.104.1237189683070; Mon, 16 Mar 2009 00:48:03 -0700 (PDT) Received: from cubotto.ath.cx (host155-182-dynamic.56-82-r.retail.telecomitalia.it [82.56.182.155]) by mx.google.com with ESMTPS id h2sm7763041fkh.29.2009.03.16.00.47.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Mar 2009 00:48:00 -0700 (PDT) Date: Mon, 16 Mar 2009 08:43:30 +0000 From: Momesso Andrea To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Wireless broadband modems - Working? Message-ID: <20090316084330.GA552@cubotto.ath.cx> Mail-Followup-To: gentoo-user@lists.gentoo.org References: <49bf44f10903071637n7e4499ffv5263288db54029b3@mail.gmail.com> <20090308101530.401e5abe@krikkit.digimed.co.uk> <49bf44f10903080856p269ef101ja2b0461d1da1739e@mail.gmail.com> <20090308165923.5eb1a00b@krikkit.digimed.co.uk> <49bf44f10903140501t5d3f8d31yd43e80aa41935f5c@mail.gmail.com> <20090314204810.6e5451f4@krikkit.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Q68bSM7Ycu6FN28Q" Content-Disposition: inline In-Reply-To: <20090314204810.6e5451f4@krikkit.digimed.co.uk> X-Homepage: http://topperh.blogspot.com X-Operating-System: Gentoo Linux User-Agent: Mutt/1.5.16 (2007-06-09) X-Archives-Salt: 76d149ef-3761-4f54-ada1-69f79d87db78 X-Archives-Hash: 63f4093e09daf45e23427da44419cd6e --Q68bSM7Ycu6FN28Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 14, 2009 at 08:48:10PM +0000, Neil Bothwick wrote: > On Sat, 14 Mar 2009 05:01:38 -0700, Grant wrote: >=20 > > Any better way to manage the connection than 'wvdial' and ctrl+c ? >=20 > I've used Kppp with simlar settings. >=20 If you can do it with wvdial, it can also be done using gentoo net.* init scirpts. For example this is the wvdial.conf for my gprs phone: [Dialer Defaults] #Modem =3D /dev/ttyACM0 Modem =3D /dev/rfcomm0 Baud =3D 460800 Init1 =3D ATZ Init2 =3D AT+CGDCONT=3D1,"ip","internet.wind","",0,0 ISDN =3D 0 Modem Type =3D Analog Modem Carrier Check =3D no Phone =3D *99***1# Username =3D wind Password =3D wind And this is the equivalent part in my /etc/conf.d/net config_ppp2=3D( "ppp" ) link_ppp2=3D"/dev/rfcomm0" username_ppp2=3D'wind' password_ppp2=3D'wind' pppd_ppp2=3D( "noauth" "defaultroute" "usepeerdns" ) phone_number_ppp2=3D( "*99***1#" ) chat_ppp2=3D" ABORT '\nBUSY\r' ABORT '\nERROR\r' ABORT '\nNO ANSWER\r' ABORT '\nNO CARRIER\r' ABORT '\nNO DIALTONE\r' ABORT '\nRINGING\r\n\r\nRINGING\r' '' '\rAT' TIMEOUT 12 OK ATZ OK 'AT+cgdcont=3D1,\"IP\",\"internet.wind\"' OK 'ATDT\T' TIMEOUT '60' CONNECT '' TIMEOUT '5' '~--' '' " So, instead of using wvdial I just run "/etc/init.d/net.ppp2 start" and "/etc/init.d/net.ppp2 stop". --- TopperH http://topperh.blogspot.com --Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkm+ETIACgkQTusdC+HYtiLx+wCguLwBv6vvVNo/RQMdcfXs8NM4 zR0An3Cy2EpGiKs6yBocJElHuZ8mS4pF =IzuE -----END PGP SIGNATURE----- --Q68bSM7Ycu6FN28Q--