Novatel MC547 on FreeBSD 8.2

Not really an IPV6 posting, but I am curious how fast this will appear in google. (I will file a format PR later). But for users of the Novatel MC547 3g stick from Bell Canada, a bit of changes need to be made to the FreeBSD source code in order to get it to work.

diff  -u usbdevs.orig usbdevs
--- usbdevs.orig        2011-01-17 10:30:36.000000000 -0500
+++ usbdevs     2011-01-17 11:33:06.000000000 -0500
@@ -2388,6 +2388,7 @@
 product NOVATEL ZEROCD2                0x5030  Novatel ZeroCD
 product NOVATEL U727_2         0x5100  Merlin U727 CDMA
 product NOVATEL U760           0x6000  Novatel U760
+product NOVATEL MC547          0x7042  Novatel MC547
 product NOVATEL MC760          0x6002  Novatel MC760
 product NOVATEL2 FLEXPACKGPS   0x0100  NovAtel FlexPack GPS receiver

--- u3g.c       2010-12-02 21:34:53.000000000 -0500
+++ /tmp/u3g.c  2011-01-18 13:48:23.000000000 -0500
@@ -65,7 +65,7 @@
#include

#ifdef USB_DEBUG
-static int u3g_debug = 0;
+static int u3g_debug = 1;

SYSCTL_NODE(_hw_usb, OID_AUTO, u3g, CTLFLAG_RW, 0, "USB 3g");
SYSCTL_INT(_hw_usb_u3g, OID_AUTO, debug, CTLFLAG_RW,
@@ -302,6 +302,7 @@
U3G_DEV(NOVATEL, EU730, 0),
U3G_DEV(NOVATEL, EU740, 0),
U3G_DEV(NOVATEL, EU870D, 0),
+       U3G_DEV(NOVATEL, MC547, 0),
U3G_DEV(NOVATEL, MC760, 0),
U3G_DEV(NOVATEL, MC950D, 0),
U3G_DEV(NOVATEL, U720, 0),

camcontrol eject pass0 in some cases will put it in the correct modem mode after that. For the APN, I used pda.bell.ca and the following ppp.conf seems to work just fine on FreeBSD 8.x

bpppgprs:
set device /dev/cuaU5.0
set speed 921600
set timeout 0
set authname wapuser1
set authkey wap
set dial "ABORT BUSY TIMEOUT 2 \
\"\" \
AT OK-AT-OK \
AT+CFUN=1 OK-AT-OK \
AT+CMEE=2 OK-AT-OK \
AT+CSQ OK \
AT+CGDCONT=1,\\\"IP\\\",\\\"pda.bell.ca\\\" OK \
AT+CGACT? OK-AT-OK \
AT+CGATT? OK \
AT+CGCLASS? OK \
AT+COPS? OK \
AT&v OK \
ATD*99# CONNECT"
set crtscts on
#set mtu maximum 296
#set mru maximum 296
disable vjcomp
disable acfcomp
disable deflate
disable deflate24
disable pred1
disable protocomp
disable mppe
disable ipv6cp
disable lqr
disable echo
nat enable yes
disable dns
resolv writable
set dns 8.8.8.8
set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0
#add default HISADDR          # See ppp.link*

…. PR created

http://www.freebsd.org/cgi/query-pr.cgi?pr=154127

This entry was posted in freebsd and tagged , , , , . Bookmark the permalink.

One Response to Novatel MC547 on FreeBSD 8.2

  1. mike says:

    wow, just 2hrs and its in google

Leave a Reply