Date: Tue, 02 Sep 2014 16:16:22 -0400 From: Mike Tancsa <mike@sentex.net> To: atar <atar.yosef@gmail.com> Cc: "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Using a USB modem. Message-ID: <54062596.30801@sentex.net> In-Reply-To: <F2640BC6-51F8-4CCF-B3FB-13F8628F7E7B@gmail.com> References: <EF5844FF-F79C-450E-B35A-B11B8FC705E4@gmail.com> <5405D76A.3060400@sentex.net> <F2640BC6-51F8-4CCF-B3FB-13F8628F7E7B@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/2/2014 2:59 PM, atar wrote: >> Typically, they will show up as /dev/cuaUx or /dev/cuaUx.x (note the capital U). > > That's interesting since in the output of 'ls -lh /dev' in my PC it appears with no capital 'U'. Thats your onboard serial ports (uart0 and uart1). > > In addition, I've tried to initialize the both devices with 'ppp' but when I tried to enter the 'term' command, ppp hangs up and don't give me an option to send to the modem commands. Any idea what's the problem? Did you load the driver (kldload u3g) ? what is the output of usbconfig it should show something like # usbconfig ugen0.1: <OHCI root HUB AMD> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE ugen1.1: <EHCI root HUB AMD> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.2: <product 0xf103 vendor 0x2001> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE ugen1.3: <USB Modem U.S.Robotics> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: <Back-UPS ES 650 FW825.B1.D USB FWB1 APC> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ugen1.4: <ZTE CDMA Technologies MSM ZTE, Incorporated> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON note the #s for the device. On mine, it shows 1.4. So do the matching command for yours so it provides the following output usbconfig -d 1.4 dump_device_desc ugen1.4: <ZTE CDMA Technologies MSM ZTE, Incorporated> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x19d2 idProduct = 0x0031 bcdDevice = 0x0000 iManufacturer = 0x0002 <ZTE, Incorporated> iProduct = 0x0001 <ZTE CDMA Technologies MSM> iSerialNumber = 0x0003 <1234567890ABCDEF> bNumConfigurations = 0x0001 Then provide the output of # sysctl -a dev.u3g ---Mike > > Regards, > > Atar. > >> On 9/2/2014 10:29 AM, atar wrote: >>> >>> I've a ZTE USB modem and I want to use it with FreeBSD. I've attached it to one of the USB slots on my PC and run the "ls -lh /dev/" command to see what's going on. I've saw that two modem devices have been created in the 'dialup' group: cuau0 and cuau1. >>> >>> My question is why were two devices nodes created instead of one and how should I know which of them I need to use? >> >> Typically, they will show up as /dev/cuaUx or /dev/cuaUx.x (note the capital U). Make sure you have the u3g driver loaded as well. (kldload u3g). Also, some ZTE sticks need to be put in "modem mode". This can often be done by sending the eject command to its "cdrom" >> >> if its listed as pass0, try the command >> camcontrol eject pass0 >> >> ---Mike >> >> >> >> -- >> ------------------- >> Mike Tancsa, tel +1 519 651 3400 >> Sentex Communications, mike@sentex.net >> Providing Internet services since 1994 www.sentex.net >> Cambridge, Ontario Canada http://www.tancsa.com/ > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54062596.30801>