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 "[email protected]"
 #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,                            [email protected]
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada                         www.sentex.net/mike

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[email protected]"

Reply via email to