From owner-freebsd-questions@FreeBSD.ORG Mon Jul 23 09:44:54 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 75EC8106564A; Mon, 23 Jul 2012 09:44:54 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from blu0-omc1-s9.blu0.hotmail.com (blu0-omc1-s9.blu0.hotmail.com [65.55.116.20]) by mx1.freebsd.org (Postfix) with ESMTP id 32B0A8FC0C; Mon, 23 Jul 2012 09:44:54 +0000 (UTC) Received: from BLU0-SMTP157 ([65.55.116.7]) by blu0-omc1-s9.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 Jul 2012 02:43:47 -0700 X-Originating-IP: [180.215.31.69] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Received: from [127.0.0.1] ([180.215.31.69]) by BLU0-SMTP157.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 Jul 2012 02:43:44 -0700 Date: Mon, 23 Jul 2012 15:16:04 +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: Matthias Apitz References: <201207210840.18122.erichfreebsdlist@ovitrap.com> <20120721133611.GA3755@tinyCurrent> In-Reply-To: <20120721133611.GA3755@tinyCurrent> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 23 Jul 2012 09:43:45.0919 (UTC) FILETIME=[A75398F0:01CD68B7] Cc: Erich Dollansky , freebsd-questions@freebsd.org, brix@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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2012 09:44:54 -0000 On 21-Jul-12 19:06, Matthias Apitz wrote: > 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 Hi, I am still stuck because I can't know the syntax to run usbdump. usbdump says use the id's provided by lsusb but I forgot to install sysutils/usbutils while I still had the EC1261 Huawei stick. Can someone please send me the sources for this port (sysutils/usbutils) ? I will need the complete sources for PORTVERSION 0.86 as a gzipped tar (please remove freebsd-questions@freebsd.org from addresses if sending), as I cannot currently connect my FreeBSD box to the internet. BTW, cuaU0[.*] are always there on my system, whether my EC1561 stick is plugged in or not. So I am surely using the wrong device as the modem. The following lines are there in my devfs.conf : link ugen0.2 usv own usv root:operator perm usv 666 link cuaU0.0 modem own modem root:operator perm modem 666 Thank you & Regards, Manish Jain +91-99620-10329