Difference between revisions of "3G Mobile Broadband Internet"

From FreekiWiki
Jump to navigation Jump to search
(REWRITE!!!)
Line 2: Line 2:
 
*A600
 
*A600
 
*UTStarcom UM100C
 
*UTStarcom UM100C
 +
*UM185C
  
 
==Setting Up Cricket UM100C==
 
==Setting Up Cricket UM100C==
This device "just works" in 9.04.
+
This device "just works" in 9.04 and above
  
== Setting Up Cricket A600 USB WiMax Device ==
+
===Easy Method for Installing A600===
  
'''Requires Ubuntu 9.04 to work'''
+
Step 1:
 +
Download the .deb file & install it: http://freegeek.errtech.com/cricket/cricket_flip_i386.deb
  
Credit goes [http://ubuntuforums.org/showthread.php?t=1146110 here]
+
Step 2:
 +
Download flipflop.sh: http://freegeek.errtech.com/cricket/flipflop.sh
  
These devices need to be activated on a Windows or MacOS machine before they will work on ubuntu. If the device needs to be activated after it gets to us, there is a machine with OS-X in mac land which we can use for activating. Just install the software package in OS-X, run the cricket program and when asked allow the machine to activate the device. The activation takes about 2 minutes, and may report (incorrectly) that it failed. Once the device is activated it should show the cricket wireless network inside of the program.
+
Now right click on the file and select "properties". Click over to the "permissions" tab, and check the box "allow executing file as a program". Now double click it and select "Run", enter your password. Wait a few moments and poof! Your 3g modem should now be appearing in your network manager.
  
Once the device has been activated on another machine, connect it to the Ubuntu machine and run the fallowing in terminal:
+
===Easy Method for Installing UM185C===
  
wget http://freegeek.errtech.com/Cricket_Mode_Switch.tar.gz
+
Step 1:
tar xzvf Cricket_Mode_Switch.tar.gz
+
Download the .deb file & install it: http://freegeek.errtech.com/cricket/cricket_flip_i386.deb
cd usb_modeswitch-0.9.7
 
sudo make install
 
chmod +x flipflop.sh
 
sudo ./flipflop.sh
 
  
The device will need to be activated with the flipflop script each time it is connected. To make things easier for the user you may wish to create a launcher on the desktop that runs this script (gksu ~/usb_modeswitch-0.9.7/flipflop.sh)
+
Step 2:
 +
Download cricketum185c.sh http://freegeek.errtech.com/cricket/cricketum185c.sh
  
Once activated, the device will appear in network manager as "Auto Mobile Broadband (CDMA) conenction". When connected it will show up as a 'cell tower' icon.
+
Now we just need to execute the cricketum185c.sh, it is in the directory of files you extracted, by running the following:
 +
Code:
  
== Automate usb mode switching ==
+
chmod +x cricketum185c.sh
 +
sudo ./cricketum185c.sh
  
move the flipflop.sh script to /usr/local/flipflop.sh
 
  
mv flipflop.sh /usr/local/
+
==Notes==
  
create a file for udev.
+
On Ubuntu 9.04 and earlier. You will need to run the .sh file every time you connect your modem. Starting with 9.10 the networkmanager auto detects when a modem that has already been attached gets connected and it takes care of "flipping" for you after the first time.
  
nano /etc/udev/rules.d/85-cricket_wireless.rules
+
Before this guide will work for you, you do need to load the device on a Windows/Mac system and install the software for the device and activate it. (I have a Windows VM for just such occasions, it worked fine)
  
paste
+
== (Hard Method) Installing from Source (A600 Only)==
 +
This is a quick how to, for getting the latest Cricket Wireless 3g Modem working under Ubuntu (with out first booting into Windows). I've spent the better part of 4 days trying to get this little bugger to work under Ubuntu natively, so I figured I would share my findings so other people do not have to go through the same head ache.
  
ACTION==”add”, ATTRS{idVendor}==”1f28″, ATTRS{idProduct}==”0021″, RUN+=”/usr/local/flipflop.sh”
+
This has been tested under Ubuntu 8.10 32bit & 64bit as well as Jaunty(9.04) 32bit and 64bit and Karmic 32bit, however I do not see any reason why it should not work under any distro/version of Ubuntu.
  
<s>Stolen from [http://www.draisberghof.de/usb_modeswitch/#automate here]
+
Step 1:
It is possible to use udev to automate the switching of the Cricket A600 making it unnecessary to run gksu ~/usb_modeswitch/flipflop.sh every time the device is plugged in.
 
  
First you need to find the product id and vendor id of your usb device using lsusb (this should be 1f28:0020 for the A600 but it is a good idea to check). Also make sure that the usb device is in the mass storage mode otherwise it will report the wrong product id.
+
Download the archive attached to this post and extract the contents to your preferred directory.
  
Bus 003 Device 009: ID 1f28:0020
+
Step 2:
  
Now that we have the usb ids we can go ahead and create our udev rule.
+
Open up terminal and use cd to change into the directory of the extracted files.
sudo nano /etc/udev/rules.d/45-hotplug.rules
+
 
Copy the following to the 45-hotplug.rules replacing <YourDefaultProdID> with 0020, <YourDefaultVendID> with 1f28 and <YourPathToUSB_ModeSwitch> with the path to flipflop.sh.
+
32 bit Users - Install usb_modeswitch with the following command:
SUBSYSTEM=="usb", SYSFS{idProduct}=="<YourDefaultProdID>", SYSFS{idVendor}=="<YourDefaultVendID>", RUN+="<YourPathToUSB_ModeSwitch>"
+
Code:
You will need to restart the computer for this to take effect.
+
 
</s>
+
sudo make install
 +
 
 +
64 bit Users - We need to recompile modeswitch to work on the 64bit platform. Run the following commands in terminal to do so
 +
Code:
 +
 
 +
sudo apt-get install build-essential libusb-dev
 +
rm usb_modeswitch
 +
make
 +
sudo make install
 +
 
 +
Step 3:
 +
 
 +
Plug in your Cricket A600 to an open USB port, wait a moment for it to be detected as a CD drive/the auto play menu to pop up. Now we just need to execute the flipflop.sh, it is in the directory of files you extracted, by running the following:
 +
Code:
 +
 
 +
sudo ./flipflop.sh
 +
 
 +
(Please note you need to first make this file executable by running
 +
Code:
 +
 
 +
chmod +x flipflop.sh
 +
 
 +
After running the flipflop.sh you need to wait about 12 seconds (while it works it's magic) and then poof! Your Cricket device should now appear in your network manager as a connection option.
 +
 
 +
Notes:
 +
 
 +
You will need to
 +
Code:
 +
 
 +
sudo ./flipflop.sh
 +
 
 +
each time you attach the device for it to work.
 +
 
 +
Before this guide will work for you, you do need to load the device on a Windows/Mac system and install the software for the device and activate it. (I have a Windows VM for just such occasions, it worked fine)
 +
 
 +
I played around with udev some trying to automate this process when you play the device in, but I could not get it to work properly, if someone smarter/experienced than myself would like to figure that out I'd be more than happy to add it to this guide.
 +
 
 +
Trouble Shooting -
 +
If this guide does not work for you try first opening up the flipflop.sh and increasing the sleep time from 10 seconds to 20 - some systems require a longer delay.
  
 
[[Category:Tech support]]
 
[[Category:Tech support]]

Revision as of 20:08, 21 November 2009

Supported Devices

  • A600
  • UTStarcom UM100C
  • UM185C

Setting Up Cricket UM100C

This device "just works" in 9.04 and above

Easy Method for Installing A600

Step 1: Download the .deb file & install it: http://freegeek.errtech.com/cricket/cricket_flip_i386.deb

Step 2: Download flipflop.sh: http://freegeek.errtech.com/cricket/flipflop.sh

Now right click on the file and select "properties". Click over to the "permissions" tab, and check the box "allow executing file as a program". Now double click it and select "Run", enter your password. Wait a few moments and poof! Your 3g modem should now be appearing in your network manager.

Easy Method for Installing UM185C

Step 1: Download the .deb file & install it: http://freegeek.errtech.com/cricket/cricket_flip_i386.deb

Step 2: Download cricketum185c.sh http://freegeek.errtech.com/cricket/cricketum185c.sh

Now we just need to execute the cricketum185c.sh, it is in the directory of files you extracted, by running the following: Code:

chmod +x cricketum185c.sh sudo ./cricketum185c.sh


Notes

On Ubuntu 9.04 and earlier. You will need to run the .sh file every time you connect your modem. Starting with 9.10 the networkmanager auto detects when a modem that has already been attached gets connected and it takes care of "flipping" for you after the first time.

Before this guide will work for you, you do need to load the device on a Windows/Mac system and install the software for the device and activate it. (I have a Windows VM for just such occasions, it worked fine)

(Hard Method) Installing from Source (A600 Only)

This is a quick how to, for getting the latest Cricket Wireless 3g Modem working under Ubuntu (with out first booting into Windows). I've spent the better part of 4 days trying to get this little bugger to work under Ubuntu natively, so I figured I would share my findings so other people do not have to go through the same head ache.

This has been tested under Ubuntu 8.10 32bit & 64bit as well as Jaunty(9.04) 32bit and 64bit and Karmic 32bit, however I do not see any reason why it should not work under any distro/version of Ubuntu.

Step 1:

Download the archive attached to this post and extract the contents to your preferred directory.

Step 2:

Open up terminal and use cd to change into the directory of the extracted files.

32 bit Users - Install usb_modeswitch with the following command: Code:

sudo make install

64 bit Users - We need to recompile modeswitch to work on the 64bit platform. Run the following commands in terminal to do so Code:

sudo apt-get install build-essential libusb-dev rm usb_modeswitch make sudo make install

Step 3:

Plug in your Cricket A600 to an open USB port, wait a moment for it to be detected as a CD drive/the auto play menu to pop up. Now we just need to execute the flipflop.sh, it is in the directory of files you extracted, by running the following: Code:

sudo ./flipflop.sh

(Please note you need to first make this file executable by running Code:

chmod +x flipflop.sh

After running the flipflop.sh you need to wait about 12 seconds (while it works it's magic) and then poof! Your Cricket device should now appear in your network manager as a connection option.

Notes:

You will need to Code:

sudo ./flipflop.sh

each time you attach the device for it to work.

Before this guide will work for you, you do need to load the device on a Windows/Mac system and install the software for the device and activate it. (I have a Windows VM for just such occasions, it worked fine)

I played around with udev some trying to automate this process when you play the device in, but I could not get it to work properly, if someone smarter/experienced than myself would like to figure that out I'd be more than happy to add it to this guide.

Trouble Shooting - If this guide does not work for you try first opening up the flipflop.sh and increasing the sleep time from 10 seconds to 20 - some systems require a longer delay.