From owner-freebsd-questions@FreeBSD.ORG Sat Jul 21 13:36:25 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 4E8A71065670 for ; Sat, 21 Jul 2012 13:36:25 +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 D4BDE8FC18 for ; Sat, 21 Jul 2012 13:36:24 +0000 (UTC) Received: from [93.104.2.248] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SsZqw-00008P-TG; Sat, 21 Jul 2012 15:36:15 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q6LDaDCY003795; Sat, 21 Jul 2012 15:36:13 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q6LDaCYk003794; Sat, 21 Jul 2012 15:36:12 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 21 Jul 2012 15:36:11 +0200 From: Matthias Apitz To: Manish Jain Message-ID: <20120721133611.GA3755@tinyCurrent> References: <201207210840.18122.erichfreebsdlist@ovitrap.com> 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 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.2.248 Cc: Erich Dollansky , 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: Sat, 21 Jul 2012 13:36:25 -0000 El día Saturday, July 21, 2012 a las 06:01:11PM +0530, Manish Jain escribió: > > Hello Erich/Matthias, > > Thanks for your responses. > > I do not have the usbdump command on my system. usbconfig gives the > following output : > ... > ugen0.2: Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON > ugen1.2: at usbus1, cfg=0 md=HOST > spd=FULL (12Mbps) pwr=ON > ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE > > > PFA ppp.log. As you will find, it repeatedly complains of /dev/cuaU0.0 > being an invalid file. But the output of 'ls -l' shows the contrary : > > ... > crw-rw---- 1 uucp dialer 0, 143 Jul 21 17:38 cuaU0.0 > crw-rw---- 1 uucp dialer 0, 144 Jul 21 17:38 cuaU0.0.init > crw-rw---- 1 uucp dialer 0, 145 Jul 21 17:38 cuaU0.0.lock > crw-rw---- 1 uucp dialer 0, 149 Jul 21 17:38 cuaU0.1 > crw-rw---- 1 uucp dialer 0, 150 Jul 21 17:38 cuaU0.1.init > crw-rw---- 1 uucp dialer 0, 151 Jul 21 17:38 cuaU0.1.lock > crw-rw---- 1 uucp dialer 0, 155 Jul 21 17:38 cuaU0.2 > crw-rw---- 1 uucp dialer 0, 156 Jul 21 17:38 cuaU0.2.init > crw-rw---- 1 uucp dialer 0, 157 Jul 21 17:38 cuaU0.2.lock > crw-rw---- 1 uucp dialer 0, 44 Jul 21 17:38 cuau0 > crw-rw---- 1 uucp dialer 0, 45 Jul 21 17:38 cuau0.init > crw-rw---- 1 uucp dialer 0, 46 Jul 21 17:38 cuau0.lock > ... > > > Thanks for any tips/help. Which port do I need to install to get usbdump ? First of all, do not top-post. 'usbdump' is part of the system, but only from beginning at some version; Are you sure that /dev/cuaU0.0 belongs to the modem? Please, detach it, look with 'ls -l /dev/cuaU*' if it went away, attach it again. Please show the messages from /var/log/messages on attach. If the /dev/cuaU0.0 device really belongs to the modem, install 'kermit' from the ports, create a file ~/.kermrc with set line /dev/cuaU0.0 set speed 9600 set escape 21 set carrier-watch off set rec pack 1000 set send pack 1000 set window 5 set prompt FreeBSD Kermit> and check it you can talk to the modem with kermit; the command ATI2 should say something about the modem device. One should be first able to talk to the modem with a terminal (like kermit), then bring chat(1) to work and after this watch ppp log, in that order. HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 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