From owner-freebsd-questions@FreeBSD.ORG Fri Jul 20 13:24:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45A761065670 for ; Fri, 20 Jul 2012 13:24:59 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id CA61C8FC16 for ; Fri, 20 Jul 2012 13:24:58 +0000 (UTC) Received: from [89.204.139.28] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SsDCM-0006Rm-V5; Fri, 20 Jul 2012 15:24:51 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q6KDOmR9002317; Fri, 20 Jul 2012 15:24:48 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q6KDOl0p002316; Fri, 20 Jul 2012 15:24:47 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 20 Jul 2012 15:24:47 +0200 From: Matthias Apitz To: Manish Jain Message-ID: <20120720132446.GA2045@tiny.Sisis.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.28 Cc: freebsd-questions@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 13:24:59 -0000 El día Friday, July 20, 2012 a las 05:55:21PM +0530, Manish Jain escribió: > > Hello all, > > I earlier had a Huawei EC1261-based USB modem which used to connect > smoothly to the internet under FreeBSD 8.2 using the u3g module. For > some reasons, I have had to switch to another provider (MTS) who swapped > the Huawei EC1261-based USB modem with a Huawei EC1561-based USB modem. > And my FreeBSD system cannot connect to the internet anymore. > > Here are the contents of my ppp.conf (I assume authkey means password) : > > default: > set log Phase Chat LCP IPCP CCP tun command > allow users bourne > set device /dev/cuaU0.0 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ > \"\" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > set timeout 180 # 3 minute idle timer (the default) > enable dns # request DNS info (for resolv.conf) > > huawei: > set phone "#777" > set login > set authname "internet@internet.mtsindia.in" > set authkey "MTS" > set timeout 0 > disable ipv6cp > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR > set dial AT+CRM=1 > accept CHAP > > The u3g module is loaded at boot-time via /etc/rc.local : > > kldload u3g > sleep 3 > ppp -auto huawei Please provide the logs of chat and ppp; matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5