Novatel MC950D in Ubuntu
This neat little USB device is a wireless high speed internet device, as well as a USB mass storage device.Â In Windows, this makes for an easy way to connect it to any machine without a need for drivers, as they come on the disk!Â I had some hoops to jump through to get it to work in Ubuntu 8.10.Â Here’s how I did it.
First off, you need to know your product id and vendor id.Â These are obtained by using usbview [ sudo apt-get install usbview ].Â This is a graphical app, so you should have no issue locating your Novatel device, and drilling down to the vendor and product ids.Â For me, it was vendor=1410 product=5010.
The device itself has two modes. When first inserted, it will activate the USB mass storage capabilities.Â In Windows, this is to install the drivers and software to your machine.Â When it is done, it unmounts the volume and swaps into modem mode.Â This is done presumably in the Win32 application that is stored on the disc.Â Since you cannot run the Win32 app in Ubuntu, you have to force this switch.Â This is relatively simpler than it sounds.
Before inserting your device, remove the usbserial kernel module [ sudo rmmod usbserial ].Â After inserting your device, you will notice that it gets mounted as a CD or USB storage.Â Eject it.Â [ eject ].Â Now load the usbserial module with the vendor id and product id you searched out earlier.Â In my case [ sudo modprobe usbserial vendor=0x1410 product=0x4400 ].Â Congrats!Â Simple enough.Â At this point, I went ahead to configure wvdial to my liking from an older script I had around, however, I believe you can use the Ubuntu network manager to configure it and use it.Â YMMV.Â I have not tested this yet.Â I’m a rather big fan of wvdial and have been for a long time. Here is my wvdial.conf, which you can place in /etc.
[Dialer Defaults] Dial Command = ATDT Stupid Mode = 1
[Dialer reset] Modem = /dev/ttyUSB0 Init1 = AT
[Dialer rogers] Phone = 99**1# Username = user Password = pass Modem = /dev/ttyUSB0 Baud = 460800 Init2 = ATZ Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ISDN = 0 Modem Type = USB Modem Init5 =AT+CGDCONT=1,“IP”,“internet.com”,“”,0,0;
Now you just have to run [ sudo wvdial rogers ] and wait for it to connect.Â If you find that your dns servers are something strange like 10.11.12.13 then set them in /etc/resolv.conf
Turns out that Ubuntu’s network manager supports this quite well!Â You can ignore everything that I posted earlier.Â All you do from a fresh boot is put your device in, then type [ eject ] in your terminal.Â The first time you do this, network manager will find the device, ask you who your provider is, and set it up.Â Even easier than setting up WiFi!