How to Install USB WiMax Modem: Green-packet UH235

Asked by Fahad Mahmud

I have an external USB WiMax Modem: 'Green packet UH235'. In Windows 7 this device performs as plug-and-play. When I connect it with my laptop the autorun program runs and the device drivers and softwares are installed automatically. Then the launcher program of the modem starts and it connects me with the Network.

But in Netbook Session mode of Ubuntu 10.10, when I connect the modem Ubuntu, It identifies the modem Only as a USB storage.

My question is, How can I install this modem in my Ubuntu 10.10 Netbook Edition.

P. S: I am a new user to Ubuntu. Two days ago I installed Ubuntu netbook editon 10.10. Now since I can't install the modem I can't install the updates that are reported by the Ubuntu Software Center.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Can you reboot and login with the device dettached and run:

lsusb

Can you the insert the device, wait 10 seconds and then run:

dmesg | tail -n 15; lsusb

Copy all the output and paste here as an update.

Thanks

The device appears as a storage device as in Windows the drivers are on the stick, the OS then switches the device to a modem. Linux doesn't need the Windows drivers so the switch won't get switched. There is a command usb-modeswitch which can do it but you need some config to use it.

Revision history for this message
Fahad Mahmud (mahmud-fahad-du) said :
#2

Here is the first Output:
-------------------------------------------------------------------
fahad@Rony-AOD260:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0402:9665 ALi Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-------------------------------------------------------------------

Here is the second output after connecting the usb WiMax modem
---------------------------------------------------------------------------------------------------
fahad@Rony-AOD260:~$ dmesg | tail -n 15; lsusb
[ 32.648170] Skipping EDID probe due to cached edid
[ 32.952637] Skipping EDID probe due to cached edid
[ 38.600622] Skipping EDID probe due to cached edid
[ 123.976130] usb 1-2: new high speed USB device using ehci_hcd and address 4
[ 124.188579] Initializing USB Mass Storage driver...
[ 124.188941] scsi4 : usb-storage 1-2:1.0
[ 124.189257] usbcore: registered new interface driver usb-storage
[ 124.189265] USB Mass Storage support registered.
[ 125.189085] scsi 4:0:0:0: CD-ROM MediaTek WiMAX Install CD 1.00 PQ: 0 ANSI: 0 CCS
[ 125.191809] sr0: scsi3-mmc drive: 0x/0x caddy
[ 125.191825] Uniform CD-ROM driver Revision: 3.20
[ 125.201040] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 125.205684] sr 4:0:0:0: Attached scsi generic sg1 type 5
[ 125.553156] ISO 9660 Extensions: Microsoft Joliet Level 3
[ 125.573051] ISOFS: changing to secondary root
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0e8d:7109 MediaTek Inc.
Bus 001 Device 003: ID 0402:9665 ALi Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
fahad@Rony-AOD260:~$
---------------------------------------------------------------------------------------------------

In Ubuntu Desktop mode (session), after connecting the device, I can see a CD icon named 'WiMAX CD'.
Double clicking the icon opens the file browser where I can see 4 files -
 1) QUBEEWCM.exe
 2) autorun.inf
 3) version
 4) Version.txt
If I right click the CD icon and click 'Open with Autorun Prompt' a message box says "This medium contains software intended to be automatically started. Would you like to run it?" Then I click run and another messsage box says
"Error Autorunning software".

Will I be able to use the device (Greenpacket UH235) with Ubuntu?
How can I use 'usb-modeswitch' and how can I configure it for the modem?

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

The CD is of no value to you unless you use Windows. Ubuntu isn't Windows. Companies don't support Linux like they do Windows as they don't make nearly as much money.

http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?p=3755&sid=2bb528d834e9fa34a47db2a96472d712

Details stuff, you may have to change some values in the commands given but you'll get the idea.

Revision history for this message
zkam83 (zkam83) said :
#4

Hi Fahad, did you manage to get it to work? I have the exact same modem. Though mine comes with a Linux driver, but only for 32bit architecture, won't work on my Ubuntu 64bit.

Revision history for this message
zkam83 (zkam83) said :
#5

Here's the driver I have (Win 32 & 64bit, Mac, Linux 32bit only): http://content.wuala.com/contents/zaidka/public/greenpacket/greenpacket.zip

It would be great if I can get a hold of a 64bit driver for Linux.

Revision history for this message
Fahad Mahmud (mahmud-fahad-du) said :
#6

@zkam83: No it didn't work. The link only provides the basic idea and it also failed to solve the problem.

However where did you get the driver. Because as far as I have learn that Greenpacket does not provide any type of driver. My modem is supplied by my Internet Service Provider and they haven't provide the drivers for Linux yet though they have plan to provide in future.

If you got your modem in similar way, then I think the supplier will be able to solve your problem (i.e. provide the drivers).

You may search in this forum cause there are a lot of users use 64bit version. I think many others have encountered the problem like you.

Thanks

Revision history for this message
Fahad Mahmud (mahmud-fahad-du) said :
#7

@zkam83: No it didn't work. The link only provides the basic idea and it also failed to solve the problem.

However where did you get the driver. Because as far as I have learn that Greenpacket does not provide any type of driver. My modem is supplied by my Internet Service Provider and they haven't provide the drivers for Linux yet though they have plan to provide in future.

If you got your modem in similar way, then I think the supplier will be able to solve your problem (i.e. provide the drivers).

You may search in this forum cause there are a lot of users use 64bit version. I think many others have encountered the problem like you.

Thanks

Revision history for this message
Sarim Khan (sarim2005) said :
#8

thanks zkam83, got your driver, but while trying to install it
we've got an error that it's not loading kernel modules.

here are the errors:
****************************************************************
FATAL: Error inserting mt7118_usb_glue (/lib/modules/2.6.35-22-generic/kernel/drivers/net/mt7118_usb_glue.ko): Invalid module format
FATAL: Error inserting mt7118_usb (/lib/modules/2.6.35-22-generic/kernel/drivers/net/mt7118_usb.ko): Invalid module format
WARNING: Error inserting mt7118_usb (/lib/modules/2.6.35-22-generic/kernel/drivers/net/mt7118_usb.ko): Invalid module format
FATAL: Error inserting mt7118_usb_os (/lib/modules/2.6.35-22-generic/kernel/drivers/net/mt7118_usb_os.ko): Invalid module format
********************************************************************

what to do now ???

Revision history for this message
zkam83 (zkam83) said :
#9

I don't know. It doesn't work for me either. I have contacted greenpacket regarding a 64bit driver but didn't hear back from them yet. What a miserable company.

I wonder if it's possible to reverse engineer the windows driver for linux like they used to do for certain ADSL drivers.

Revision history for this message
Sarim Khan (sarim2005) said :
#10

At last i succeeded. The kernel modules inside the driver are made for version 2.6.28 of linux kernel. So we need to use an older distro. I tried in ubntu jaunty 9.04 and bingo. IT WORKS.

First, create a iso image using any iso imageing software, like isomaster
sudo apt-get install isomaster

then extract the zip file and create a new ISO by adding the files.

open the terminal and switch to root, sudo -i

then mount the iso

mount /home/sarim/wimax.iso /mnt -o loop

then navigate to the directory and install the driver,

cd /mnt/linux
sudo dpkg -i ./*.deb

now it works.

Revision history for this message
Sarim Khan (sarim2005) said :
#11

At last i succeeded. The kernel modules inside the driver are made for version 2.6.28 of linux kernel. So we need to use an older distro. I tried in ubntu jaunty 9.04 and bingo. IT WORKS.

First, create a iso image using any iso imageing software, like isomaster
sudo apt-get install isomaster

then extract the zip file and create a new ISO by adding the files.

open the terminal and switch to root, sudo -i

then mount the iso

mount /home/sarim/wimax.iso /mnt -o loop

then navigate to the directory and install the driver,

cd /mnt/linux
sudo dpkg -i ./*.deb

now it works.

Revision history for this message
zkam83 (zkam83) said :
#12

Sarim,

I managed to install the driver on Fedora 14. But when I run it it tells me modem is not detected. Other than that, it doesn't show any errors whatsoever. Any ideas?

Revision history for this message
Sarim Khan (sarim2005) said :
#13

Fedora 14 use new kernel, the modules dont work this that i think, maybe u just installed the software.

Revision history for this message
zkam83 (zkam83) said :
#14

I was under the impression that when you have a newer kernel you get error messages when you try to run it. The daemon is working and so is wcm.

I tried it with CentOS 5.5 but I got an error regarding some missing library from GTK (because CentOS uses an older version of GTK).

When you tried it with newer kernels, did you get error messages? or did it work but modem wasn't detected?

Revision history for this message
Sarim Khan (sarim2005) said :
#15

When you try wil newer kernels, You get some error messeges like i said earlier
****
FATAL: Error inserting mt7118_usb_glue (/lib/modules/2.6.35-22-generic/kernel/drivers/net/mt7118_usb_glue.ko): Invalid module format
****
then the Deamon will work, the software will run, but couldn't detect the modem.

Revision history for this message
Hafiz (myphnix) said :
#16

i've already installed the "green-packet-wimax-usb_1.12-3_i386.deb" without error on Ubuntu kernel 2.6.39.The application launcher works but it can't detect wimax daemon.

Revision history for this message
wassa (waqar-sadiq) said :
#17

Hey Zakaria,
Can you please elaborate how were you able to install the .deb without error?
I mean thru typing here the commands used? Are you using Ubuntu or any other Distro?

When I use this device on Ubuntu 11.04 it even fails to mount the media? dmesg shows just two messages first for USB connection and second for SCSI identification and nothing more..

Revision history for this message
minhazzahin (minhazzahin) said :
#18

i am using ubuntu 11.04(latest version).i have the ssme Modem(greenpacket UH-235).but i cant connect the modem!!plz help me with this.

Can you help with this problem?

Provide an answer of your own, or ask Fahad Mahmud for more information if necessary.

To post a message you must log in.