From owner-freebsd-questions@FreeBSD.ORG Tue Jun 28 18:45:05 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 9C00F1065678 for ; Tue, 28 Jun 2011 18:45:05 +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 5A9638FC1D for ; Tue, 28 Jun 2011 18:45:05 +0000 (UTC) Received: from [82.113.99.190] (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 1QbdHO-0002mx-Si; Tue, 28 Jun 2011 20:45:03 +0200 Received: from tiny.Sisis.de. (localhost [127.0.0.1]) by tiny.Sisis.de. (8.14.3/8.14.3) with ESMTP id p5SIkE9a001097; Tue, 28 Jun 2011 20:46:15 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de. (8.14.3/8.14.3/Submit) id p5SIkDVC001096; Tue, 28 Jun 2011 20:46:13 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de.: guru set sender to guru@unixarea.de using -f Date: Tue, 28 Jun 2011 20:46:13 +0200 From: Matthias Apitz To: Manish Jain Message-ID: <20110628184613.GA1074@tiny> References: <4E098E1B.2000700@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4E098E1B.2000700@gmail.com> X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.19 (2009-01-05) X-Con-Id: 51246 X-Originating-IP: 82.113.99.190 Cc: freebsd-questions@freebsd.org Subject: Re: 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 Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2011 18:45:05 -0000 El día Tuesday, June 28, 2011 a las 01:47:31PM +0530, Manish Jain escribió: > > 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 : ... Hello Manish, Before digging into the ppp details (there is a log about in /var/log/ppp.log), do you have after attaching the Huawei modem a device /dev/cuaU0 at all? What does the following command gives: ls -l /dev/cua* chat -vs < /dev/cuaU0.0 > /dev/cuaU0.0 '' AT OK 'ATI2' O printf "\n" HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/