|
|
Home Linux and 3G Forum
|
|
PHARscape 3G Datacards and Linux
|
| View previous topic :: View next topic |
| Author |
Message |
cmp
Joined: 13 Aug 2008 Posts: 4

|
Posted: Thu Aug 28, 2008 2:05 am Post subject: GT Ultra Express & 64 bit Hardy Heron 8.04.1 |
|
|
Option GT Ultra Express (GlobeTrotter Express HSUPA), ATT and 64 bit Ubuntu Hardy Heron 8.04.1
***
UPDATE 2008-10-20
The last Ubuntu update of the kernel (from 2.6.21-19 to 2.6.21-21) "breaks" this configuration. I'm now booting into the previous version of the kernel (2.6.21-19) through grub. I reinstalled just to be safe, and everything still works under the earlier kernel. But if I boot into the latest updated kernel, it acts like the rezero program isn't working i.e. I have no hso ports, just another USB mass storage device. I've tried reinstalling rezero, but to no effect.
I'll update when/if I resolve it.
Same problem is being experienced here
***
I want to thank everyone on the Pharscape site, and Paul Hardwick especially for all the hard work that they've put into HSOconnect and this site. Without it, him, and other posters, I would have never been able to piece-meal my way through getting my new Option GT Ultra ExpressCard working on my laptop under Ubuntu.
But it wasn't easy, even so.
First, because I wasn't sure how all the different pieces of software and drivers came together to make the card work, and second, because I chose to install the 64 bit Ubuntu OS (knowing that the 32 bit would be easier to find software and drivers).
And a lot of the information is about European situation, and not US carriers and setups.
I ended up doing two installations, and I took detailed notes both times (for when I'll have to do it yet again when I muck up my second Ubuntu installation!).
I'm not sure that the following "Howto" is totally error free (although it's as accurate as I can make it), and I suspect that somethings can be done easier or quicker. But it worked for me, and I wanted to package it, and post it for anyone else in my situation.
So, here is how I installed and got my Option GT Ultra Express (also known as the GlobeTrotter Express HSUPA W) ExpressCard 34 to work in my new HP Pavillion dv6000 laptop:
***
# Before you ever put your card in the slot ...
Check in your Synaptics Manager and ensure you have the following packages installed. If you don't, then install them:
apt
dpkg
dpkg-dev
***
# Blacklist interfering modules:
Applications -> Accessories -> Terminal
Enter your password when asked. First we'll make a backup, and then modify the file:
| Code: | gksudo cp /etc/modprobe.d/blacklist /etc/modprobe.d/blacklist_original
gksudo gedit /etc/modprobe.d/blacklist |
Add the following to the end of the file:
| Code: | # replaced by HSO for option cards
blacklist option
# replaced by HSO for option cards
blacklist usbserial
# replaced by HSO for option cards
blacklist usb_storage |
Save the file, and exit. You will be returned to the terminal.
***
# Update your repositories to add Treenaks's "rezero" package.
| Code: | gksudo cp /etc/apt/sources.list /etc/apt/sources.list_original
gksudo gedit /etc/apt/sources.list |
This will bring up your Repositories file. Add these three lines to the bottom of the page:
| Code: | # This repository is needed to add rezero to your Synaptic Package Manager:
deb http://ppa.launchpad.net/martijn/ubuntu intrepid main
deb-src http://ppa.launchpad.net/martijn/ubuntu intrepid main |
Save the file, and exit.
When you have returned to the Terminal window, type the following commands:
| Code: | sudo apt-get update
sudo apt-get install rezero |
***
# Install additional modules that you'll soon need.
While you are in terminal, install some more modules that you will need later (if you don't already have them):
| Code: | sudo apt-get install build-essential
sudo apt-get install module-assistant
sudo apt-get install debhelper |
Once they have installed exit terminal.
***
Reboot (at least once!)
***
# Setup the root account.
(You can skip this step if you already have a root account, and know your password). Once you have rebooted, open up the terminal window again, and ensure you can enter "root" by setting up a root password:
This will prompt for a new (or your first) root password. You must enter it twice (the second time for confirmation). Once you confirm your root password, you can start using the root account to login.
***
# Download and install 1) the drivers, 2) the hsolink program and 3) the GUI interface:
1. hso-source_1.2-0raceme1_all.deb
2. hsolink_1.0.46-1_amd64.deb
3. hsoconnect-py2.5_1.1.83_all.deb
***
# hso-source_1.2-0raceme1_all.deb
The first package you can get and install by typing the following in terminal:
| Code: | wget http://ombos.raceme.org/tof/hso/hso-source/hso-source_1.2-0raceme1_all.deb
dpkg -i hso-source_1.2-0raceme1_all.deb
m-a a-i hso |
***
The other two packages that you'll need, you'll have to go to the web download page and manually download them (I couldn't figure out the direct download link from the forum, but they are both in threads here on Pharscape).
***
# hsolink_1.0.46-1_amd64.deb
Open your browser, and paste the following url into your address bar: http://www.pharscape.org/index2.php?option=com_forum&Itemid=68&page=download&id=40&sid=d0c189e3b09f462381ca29a8e52aa400 (or just click on this link).
The "file download" window will open. Choose to save file in "Filesystem -> Home -> (your user name). In my case, that path was /home/cmp.
Go back to Terminal and run
| Code: | | sudo dpkg -i hsolink_1.0.46-1_amd64.deb |
***
# Test your work.
At this point, you can test whether or not all of these changes and installations have done you much good. Plug your card in and give it about 15 or 30 seconds to settle, and type:
The last few lines of this long list should read something like this:
[ 964.570929] [2835:set_ethernet_addr]: Attempting to get MAC address failed: using default
[ 964.570936] HSO: Found Network port hso0
[ 964.571032] HSO: Found Control port /dev/ttyHS0
[ 964.571068] HSO: Found Application port /dev/ttyHS1
[ 964.572285] HSO: Found Diagnostic port /dev/ttyHS2
It's critical that the ttyHS* ports show up, and not ttyUSB. Don't worry about any failure to get the MAC address. It hasn't made any difference, as far as I can tell.
Next type:
And you should see everything hooked up to your USB ports. The GT Ultra Express card will show up as "Option":
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 010: ID 043d:007b Lexmark International, Inc.
Bus 003 Device 009: ID 043d:007c Lexmark International, Inc.
Bus 003 Device 008: ID 043d:007a Lexmark International, Inc.
Bus 003 Device 007: ID 152e:2507 LG (HLDS)
Bus 003 Device 006: ID 1058:0702 Western Digital Technologies, Inc.
Bus 003 Device 005: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 003 Device 003: ID 0424:2507 Standard Microsystems Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 011: ID 0af0:7011 Option
Bus 001 Device 009: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 001 Device 001: ID 0000:0000
***
# hsoconnect-py2.5_1.1.83_all.deb
Download the GUI control program HSOconnect:
Open your browser, and paste the following url into your address bar: http://www.pharscape.org/index2.php?option=com_forum&Itemid=68&page=download&id=50 (or just click on this link).
The "file download" window will open. Choose to save file in "Filesystem -> Home -> (your user name). In my case, that path was /home/cmp.
Go back to Terminal and type:
| Code: | | sudo dpkg -i hsoconnect-py2.5_1.1.83_all.deb |
This will install the GUI interface that controls your connection. It places the icon goes to the "Internet" part of the main application menu.
***
# Set up the HSOconnect interface.
When you click on the icon to start the program, a "debug window" will open up, and underneath is the actual control interface. Simply close the debug window to work on the interface.
On the interface, click on the "Profile" menu, and choose "Edit Connection". If you are an ATT customer, here is the information you will need to get the card working:
Connection: (whatever you want. I use "ATT".)
apn name: isp.cingular
user: ISP@CINGULARGPRS.COM
pwd: CINGULAR1
***
Generally, this should be all you need to do, but there are two extra steps that I had to do to get everything working. It won't hurt to do either of this things before you reboot and try to connect:
1. Make sure you are an authorized user of the "dialout group"
2. Change the UDEV rules.
***
# Make sure your in the dial out group:
In the terminal, if you are still in root:
| Code: | | usermod -a -G dialout cmp |
("cmp" is my user name. You need to put your username there instead of mine.)
If you aren't in root, the type:
And enter your password, and then the "usermod -a -G dialout cmp" command.
***
# Update the UDEV rules.
In the terminal:
| Code: | | gksudo cp /etc/udev/rules.d/z20_hso-udev.rules /etc/udev/rules.d/49-hso.rules |
I've read that you have to rename another rules file, but I did not have this file in my installation, and things work fine. I'd suggest you check the /etc/udev/rules.d directory, and if you have this file, then rename it as well.
| Code: | | gksudo cp /etc/udev/rules.d/50-pcmcia.rules /etc/udev/rules.d/48-pcmcia.rules |
Now, you should be able to close your terminal, reboot (I had to reboot twice with the card installed), and be able to connect to the net through HSOconnect!
Well ... maybe.
***
# Network Manager bug.
Turns out that the default Hardy Heron 8.04.1 Network Manager doesn't talk very well with any kind of "dialup" modem, including the Option card, and any USB modem. It simply doesn't know it is there, and doesn't report to some browsers that it's working and a network connection is available. If you google for "ubuntu offline bug" you'll find a lot of information and several ways to correct this.
The way that it affected me was that the HSOconnect showed that I was online, sending and receiving data, but my Firefox 3.0.1 refused to load any webpages.
Interestingly enough though, I had three other browsers, and two of them did work (the fourth didn't work either).
Of 4 browsers:
1. Firefox 3.01 64 bit doesn't connect.
2. Swiftweasel 3 64 bit doesn't connect.
3. IceCat32 32 bit does connect.
4. IE6 32 bit (through wine) does connect.
IceCat was set on "Direct Connection"
IE6 has nothing in the "Lan settings" (no checked blocks) and no connection in the box.
On FF and SW, I tried all the available network connections in the "Settings", but nothing got them to work.
There is a simple solution, however. Go to the browsers "File" menu and unclick the "Work Offline" line. You'll have to do this each time you start one of the affected browsers, or you can install this nifty little utility:
always online from http://yellosoft.us/index.php?id=88
(FYI, although it might appear to be a 64 versus 32 bit browser issue, in my first installation, the 64 bit Swiftweasel worked, until the reinstallation.)
***
I hope this is helpful, and doesn't lead anyone too far astray. If someone has any suggestions on how to do things better, or write this "how to" in a clearer manner, I'm all ears.
cmp. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
|
|
|
|