From owner-freebsd-questions@FreeBSD.ORG Wed Jan 25 11:12:27 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E177B1065670 for ; Wed, 25 Jan 2012 11:12:27 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6A72C8FC0A for ; Wed, 25 Jan 2012 11:12:27 +0000 (UTC) Received: by eaai10 with SMTP id i10so2135433eaa.13 for ; Wed, 25 Jan 2012 03:12:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=gKntlscn23zKkzkS3Op2Ru0FdOooBe5Ngc7hXDt3J+k=; b=Okygl9CUHZTznijH0btwQHKKzDgHJwac4f3k6JKx5MydMDPc/FE15zbdRJ0tcHMsdg eq16kEn5eX4nnJIeBy7zOj+6cX0800rSJOiaRVHWfMXkKsOj8gzZYAlLpb7C4ZiBMJlv 0WHBeAFfngG+qOOqE6gMIvzpSSJXSK/jBQIvI= Received: by 10.213.19.1 with SMTP id y1mr3028683eba.12.1327489945330; Wed, 25 Jan 2012 03:12:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.34.5 with HTTP; Wed, 25 Jan 2012 03:11:43 -0800 (PST) In-Reply-To: References: From: Odhiambo Washington Date: Wed, 25 Jan 2012 14:11:43 +0300 Message-ID: To: Ivan Frosty Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alejandro Imass , questions Subject: Re: FreeBSD 9 and 3G Modems 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: Wed, 25 Jan 2012 11:12:28 -0000 On Wed, Jan 25, 2012 at 09:23, Ivan Frosty wrote: > The FreeBSD u3g driver =C2=B6=C2=B6 > > > Introduction =C2=B6=C2=B6 > This driver supports 3G (UMTS, HSDPA, HSUPA, HSPA) cards that provide > access to one or more serial ports through a USB interface, providing > PPP and AT command channels simultaneously. Some devices provide > access to multiple pairs of channels for integrated GPS', or other > access methods (Option HSO driver). > > Transfer speeds should be above 30k on a good UMTS connection and a > fast server: > > % curl -o /dev/null ftp://ftp.nl.freebsd.org/pub/FreeBSD/ls-lR.gz > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 12 19.9M 12 2486k 0 0 40203 0 0:08:39 0:01:03 0:07:36 > 43921 > Some (older) devices (from Sierra for example) provide 1 serial port > through a normal serial port or the normal serial USB drivers. They > usually support the ETSI / 3GPP 27.010 3GPPMultiplexProtocol, making > it possible to open a AT command channel and a PPP connection channel > simultaneously. A basic implementation which works on an Option > Globetrotter GPRS card is available. Contact me for details. > > Verified to work =C2=B6=C2=B6 > See the man page. > > Installation instructions =C2=B6=C2=B6 > The driver is available in both FreeBSD 7 and FreeBSD 8. The one in > FreeBSD 8 and up was written by Hans Petter Selasky. Consult > freebsd-usb@=E2=80=A6 for more information and bug reports. > > The driver from FreeBSD 7 should be usable on FreeBSD 6, without too > many changes. You will need to patch ucom.c though with the attached > patch (see below). > > Tricks =C2=B6=C2=B6 > To start your connection automatically use something like the > following snippet in your devd.conf: > > attach 100 { > device-name "ucom[0-9]+"; > match "vendor" "0x12d1"; > match "product" "0x1003"; > action "/usr/sbin/ppp -ddial kpn"; > }; > Some people have been able to get their device to successfully switch > from driver mode to modem mode using usb_modeswitch. You can compile > it on !FreeBSD with > > cc -L /usr/local/lib -I/usr/local/include -lusb -o usb_modeswitch > usb_modeswitch.c > if you have libusb installed. The mass storage devices the devices > present should be available through ugen. Note that umass must not be > present in your kernel nor as a module (or it should be made to ignore > these devices). > > To see signal strength for example while online: > > Start ppp (See also PPPFor3GModems). > > > prolly that could help......... > > I read this, but one thing I am sure about is that those details need to be changed to reflect what I have on my system. But I'm trying to see if there is an easier way out. --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.