From owner-freebsd-questions@FreeBSD.ORG Tue Jun 28 08:40:22 2011 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 7F771106564A for ; Tue, 28 Jun 2011 08:40:22 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 53A688FC18 for ; Tue, 28 Jun 2011 08:40:22 +0000 (UTC) Received: by pzk27 with SMTP id 27so1302831pzk.13 for ; Tue, 28 Jun 2011 01:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=pAmgo2YDFEfskp5WTSmHze2m2P4eiTDwoshA3xbQGYU=; b=Xg4xP071RgtLAG5Xx4XTfBD4G1bG4PHnw9+upqnVolWiuZikbI3jby9mLNy/rDgCW4 64mRmPuN1SGBtNl7nSlvmnlSUdsmTKKmV1+hBzI6CD7cCqiBu8JOjmWbThMbyUNoPCs0 2jlrnsLsuK1jCDHUsPtzYzBKm7T0ejE8tprYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=Yis3TEd9bWTB1+ThjOPEscvxTQhk6hPqOvSJqxoIj/HAPISxRJWdftr4uUpq0s1vMv Vdzyl5Ue1clVsEKhvf9fnZDeEGzymBwEtrlzyNISm8AUzMnbRDbZS/dfA1oSmzUJ//kS Z0mrEv0MPuxo+2Pv61T1F9Aa5LA1HDEhKNwQs= Received: by 10.142.177.1 with SMTP id z1mr1314402wfe.174.1309249053249; Tue, 28 Jun 2011 01:17:33 -0700 (PDT) Received: from [127.0.0.1] ([14.96.149.1]) by mx.google.com with ESMTPS id d15sm5343120wfl.18.2011.06.28.01.17.30 (version=SSLv3 cipher=OTHER); Tue, 28 Jun 2011 01:17:32 -0700 (PDT) Message-ID: <4E098E1B.2000700@gmail.com> Date: Tue, 28 Jun 2011 13:47:31 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 To: freebsd-questions@freebsd.org Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Can someone please help me set up my tata-photon (huawei) modem ? 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: Tue, 28 Jun 2011 08:40:22 -0000 Hi all, My tata-photon (huawei) modem works painlessly on Win XP. Every setting is auto (including getting the nameserver). The auth protocol is CHAP. But when I boot into FreeBSD 8.0 (stable), and run 'ppp -auto pmdemand' followed by 'ping [1]www.google.com' (or yahoo or any other site, for that matter), I always get "Hostname lookup failure". BTW, I don't have an /etc/resolv.conf. I only configured ppp.conf (please see below for details). Can someone please help me set up the modem so that I can dial out and connect to the internet from my FreeBSD box ? Thanks in advance. Manish Jain This is my ppp.conf : default: set log Phase Chat LCP IPCP CCP tun command allow users guru bourne # ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaU0 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) pmdemand: set phone "#777" set login set authname "internet" set authkey "" 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 accept CHAP References 1. http://www.google.com/