From owner-freebsd-questions@FreeBSD.ORG Fri Jul 20 12:24:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95A50106566C for ; Fri, 20 Jul 2012 12:24:20 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc4-s20.blu0.hotmail.com (blu0-omc4-s20.blu0.hotmail.com [65.55.111.159]) by mx1.freebsd.org (Postfix) with ESMTP id 52E458FC18 for ; Fri, 20 Jul 2012 12:24:20 +0000 (UTC) Received: from BLU0-SMTP108 ([65.55.111.135]) by blu0-omc4-s20.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 20 Jul 2012 05:23:13 -0700 X-Originating-IP: [116.202.143.222] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [127.0.0.1] ([116.202.143.222]) by BLU0-SMTP108.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Fri, 20 Jul 2012 05:23:10 -0700 Date: Fri, 20 Jul 2012 17:55:21 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 Jul 2012 12:23:12.0055 (UTC) FILETIME=[6DF2DC70:01CD6672] Subject: 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2012 12:24:20 -0000 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 I am using opendns/google servers for DNS in resolv.conf : 208.67.222.222 8.8.8.8 DNS cannot really be an issue because when I ping the IP address 208.67.222.222, I get 100% packet loss. Can someone please point me in the right direction so that my FreeBSD system starts connecting to the internet using the new modem ? Thank you & -- Regards, Manish Jain +91-99620-10329