From owner-freebsd-usb@FreeBSD.ORG Thu Aug 13 13:52:44 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62D7F106566C for ; Thu, 13 Aug 2009 13:52:44 +0000 (UTC) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by mx1.freebsd.org (Postfix) with ESMTP id 1AEFD8FC56 for ; Thu, 13 Aug 2009 13:52:43 +0000 (UTC) Received: from mdt-xp.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.14.3/8.14.3) with ESMTP id n7DDnbow055488; Thu, 13 Aug 2009 09:49:38 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <200908131349.n7DDnbow055488@lava.sentex.ca> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 13 Aug 2009 09:52:24 -0400 To: freebsd-usb@freebsd.org From: Mike Tancsa Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Verizon Novatel U760 (u3g) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Aug 2009 13:52:44 -0000 Some notes for the archives in case anyone else gets one of these evdo USB sticks with FreeBSD (in this case, RELENG_7) I had to make this small addition to u3g.c in order to get the device to work. Note, you still have to do a camcontrol eject pass0 --- u3g.c.orig 2009-08-11 09:25:47.000000000 -0400 +++ u3g.c 2009-08-11 09:26:37.000000000 -0400 @@ -144,6 +144,7 @@ {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 }, U3GSP_HSPA, U3GINIT_HUAWEI }, /* OEM: Novatel */ {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_CDMA_MODEM }, U3GSP_CDMA, U3GINIT_EJECT }, + {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U760 }, U3GSP_CDMA, U3GINIT_EJECT }, {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_ES620 }, U3GSP_UMTS, U3GINIT_EJECT }, // XXX {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_MC950D }, U3GSP_HSUPA, U3GINIT_EJECT }, {{ USB_VENDOR_NOVATEL, USB_PRODUCT_NOVATEL_U720 }, U3GSP_UMTS, U3GINIT_EJECT }, // XXX before and after camcontrol eject pass0 full speed, power 500 mA, config 1, Novatel Wireless CDMA(0x6000), Novatel Wireless Inc.(0x1410), rev 0.00 full speed, power 500 mA, config 1, Novatel Wireless CDMA(0x5030), Novatel Wireless Inc.(0x1410), rev 0.00 Also, not sure if its an "activation" thing or not, but we had to run the device once on a windows machine, otherwise we would get 0.0.0.0 as the IP address assigned. It might also be peculiar to Verizon, but we also needed to add deny chap to our ppp.conf stanza. evdo2: set device /dev/cuaU0.0 set speed 115200 #set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ # \"\" AT OK-AT-OK ATZ OK AT\$QCMDR=3 OK \\dATDT\\T TIMEOUT 50 CONNECT" set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATZ OK \\dATDT\\T TIMEOUT 50 CONNECT" set phone "#777" # The authname and authkey are meaningless, but you need to have them set. # Verizon's servers don't seem to care what you auth as. #set authname "notneeded@vzw3g.com" #set authkey "vzw" disable vjcomp disable acfcomp disable chap disable pap deny chap disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route disable dns ---Mike -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike