Date: Mon, 23 Jul 2012 15:16:04 +0530 From: Manish Jain <bourne.identity@hotmail.com> To: Matthias Apitz <guru@unixarea.de> Cc: Erich Dollansky <erichfreebsdlist@ovitrap.com>, freebsd-questions@freebsd.org, brix@freebsd.org Subject: Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ? Message-ID: <BLU0-SMTP1571F208F049EDC078EC837F6DD0@phx.gbl> In-Reply-To: <20120721133611.GA3755@tinyCurrent> References: <BLU0-SMTP1086684ACF08C894823C3B0F6D80@phx.gbl> <201207210840.18122.erichfreebsdlist@ovitrap.com> <BLU0-SMTP224B597A4C9F50882E74A8F6DF0@phx.gbl> <20120721133611.GA3755@tinyCurrent>
next in thread | previous in thread | raw e-mail | index | archive | help
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:<Back-UPS ES 650Y-IN FW:853.m4.I USB FW:m4 American Power >> Conversion> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON >> ugen1.2:<HUAWEI Mobile HUAWEI TECHNOLOGIES> at usbus1, cfg=0 md=HOST >> spd=FULL (12Mbps) pwr=ON >> ugen2.2:<USB2.0 Hub vendor 0x05e3> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BLU0-SMTP1571F208F049EDC078EC837F6DD0>