Skip to content

Instantly share code, notes, and snippets.

@bewest
Created June 24, 2012 22:41
Show Gist options
  • Select an option

  • Save bewest/2985343 to your computer and use it in GitHub Desktop.

Select an option

Save bewest/2985343 to your computer and use it in GitHub Desktop.
How to get Virgin Mobile USA Broadband2Go working in Ubuntu Linux 9.10
# /etc/udev/rules.d/99-novatel.rules
ENV{ID_CDROM}==”?*”, ENV{ID_SERIAL}==”Novatel_Mass_Storage*”, RUN+=”/usr/local/bin/bb2go %k”
http://mike-carson.com/blog/?p=20
MC-760, MC760
Here is the complete process I followed:
1. Activate the modem on a Windows or OS X system, as instructed in the package.
2. Install usb-modeswitch on the Ubuntu system
The file /usr/local/bin/bb2go must be executable and should not be owned or writable by a non-privileged user:
chown root /usr/local/bin/bb2go
chmod 755 /usr/local/bin/bb2go
After restarting udev or rebooting, inserting the device will automatically eject the pseudo CD and create the modem.
Then, about 10 seconds after inserting the device, the normal Ubuntu network manager option for a CDMA data connection becomes available. Tell it your connection is through Virgin Mobile/Helio (if it asks) and it will connect.
And that’s all it took!
#! /bin/sh
# /usr/local/bin/bb2go
CD=$1
eject $CD
sleep 2
modprobe -r usbserial
sleep 2
modprobe usbserial vendor=0×1410 product=0×6002
sleep 2
# /etc/usb_modeswitch.conf
########################################################
# Novatel U760 USB modem
#
# Contributor: Richard Laager
DefaultVendor= 0×1410
DefaultProduct= 0×5031
TargetVendor= 0×1410
TargetProduct= 0×6002
# only for reference
MessageEndpoint=0×08
MessageContent=”5553424312345678000000000000061b000000020000000000000000000000″
########################################################
@bewest
Copy link
Author

bewest commented Jun 25, 2012

success?

@netsettler
Copy link

Wow, this was brilliantly easy and works great for me in Ubuntu 14.04 LTS. Thanks very much.

@sgharris1213
Copy link

Ben...I'm pretty good with computers but I am not a programmer. The files and code above as included in your zipfile for download appear to be simple script files. However, you advise that the file "bb2go" must be executable. Do I need to compile it.? Also, will this work on an OpenSuse Linux platform? Thanks!

@netsettler
Copy link

It still works for Ubuntu 16.04.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment