How to install HUAWEI USB CDC MODEM (C300)?

Post Reply
Message
Author
rajesh009
Posts: 4
Joined: Thu 05 Mar 2009, 06:41

How to install HUAWEI USB CDC MODEM (C300)?

#1 Post by rajesh009 »

Hello everyone,

I am a new user of Puppy Linux. I downloaded Puppy Linux 4.1.2 and loaded yesterday on my PC from live cd.Everything is so far so good.

I have a Huawei CDMA Mobile C5320 which supports three modes:

1. USB Disk
2. Data
3. PC Sync

Windows XP detects it as HUAWEI USB CDC C300 modem in data mode and dial to the internet. Problem is that I cannot install my HUAWEI USB CDC MODEM (C300) on Puppy Linux. I tried the Connect panel on the Puppy Linux desktop, through dial-up,lan and wireless options. But my modem remains undetected. I put my mobile in data mode many times and restart PC many times but Puppy Linux cannot detect it. I clicked the Probe button many times, but Puppy Linux cannot detect it. As a result I cannot connect to the internet.

How will I set up the network connection with the aforesaid modem? Is there any other alternative way out? I am hopeful with Puppy Linux and I want to switch with it from Windows XP I am currently having. One thing to mention that I am novice in coding in Linux.

I would be grateful if you dedicated Puppy Linux users help me out for solving this problem with simple easy steps. I am yet to understand the confusing coding used to deliver commands in Linux overall.Then again I will try if coding has to be done. Please help me.

Thank You

User avatar
Patriot
Posts: 733
Joined: Thu 15 Jan 2009, 19:04

#2 Post by Patriot »

Hmmm .....

An acquaintance of mine had similar issues some time ago. He has since switched to wired connectivity ...

While looking up info on this issue back then, someone seems to have a method to get it to work, here :

http://anand.tch.in/2008/06/connecting- ... uawei.html
http://ubuntuforums.org/showthread.php?t=836952

From what I understand, it seems that huawei uses serial protocol over usb ...

Hope that helps.

Rgds

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#3 Post by dejan555 »

This is how I connect my huawei e220 usb3g modem:

Open terminal (console icon on desktop or Menu -> Utility -> rxvt terminal emulator) then type into it:

Code: Select all

rmmod usb-storage
rmmod usbserial
modprobe usbserial vendor=0x12d1 product=0x1003
After that click on the connect icon -> Internet by wireles GPRS modem,
it should be listed as /dev/ttyUSB0, enter correctly your network settings
(username, password, APN, card PIN, etc.) then open terminal again and type:

Code: Select all

pgprs-connect
If it doesn't connect at first, it will give you choice to quit or retry, type r and the second time it should work.
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#4 Post by rerwin »

rajesh009,
I see elsewhere that your modem IDs are vendor 12d1, product 3197, which is apparently not yet supported in linux, except that someone has posted a fix to a good driver to add it.

I have created a package to add support for Huawei modems (and others) to puppy. In Puppy 4.1.x there is a piece missing, which my package supplies. http://www.murga-linux.com/puppy/viewto ... 979#266979
But it does not have that fix. I could attempt to make that fix; however, the modem may require a "mode switch specification", which has not yet been published. There might be a chance that a mode switching is not needed; so give me a couple of days to work on the fix.

I also read that using a variation on dejan555's technique, results in slow operation. This is it modified for your modem:

Code: Select all

Open terminal (console icon on desktop or Menu -> Utility -> rxvt terminal emulator) then type into it:

rmmod usb-storage
rmmod usbserial
modprobe usbserial vendor=0x12d1 product=0x3197
I have some other things to try, including the mode switching, but they will have to wait a day or so before I can work them out for you.
Richard

User avatar
daftdog
Posts: 120
Joined: Thu 22 Jun 2006, 00:47
Location: Western Australia

usb_modeswitch

#5 Post by daftdog »

This small program is a mode switching tool for controlling "flip flop" (multiple device) USB modems. It doesn't list your modem but is able to be customized to some extent.
Get it here: http://www.draisberghof.de/usb_modeswitch/#hardware
"We are monkeys with money and guns." Tom Waits

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

Added your modem to wireless-integration package

#6 Post by rerwin »

rajesh009,
I have something for you to try, that should make using your modem almost as easy as using other dialup modems. In the package that supports wireless modems, I have added the mode-switch part of the solution, but require that you cause the driver to be loaded, since it is not already recognized.

My announcement of the upgrade is here:
http://www.murga-linux.com/puppy/viewto ... 258#282258
and the download posting is here:
http://www.murga-linux.com/puppy/viewto ... 979#266979

1. Download the first two dotpets (pupdial...-7, usb_modeswitch) to somewhere you can get to from a fresh (pfix=ram) puppy session.

2. Boot into puppy 4.1.2 and install the dotpets by single-clicking and following the dialog for each.

3. Reboot, creating a new pupsave (personal data) file.

4. In Menu>System>BootManager, click on the third (...add a new module) button, then find in the left pane the module name "option", click on it to select it, and click the "Add" button to move it to the right pane. Then click "OK" and "OK" again when asked for any required parameters. "Quit" the BootManager.

5. Reboot again. Click on the Connect icon. It might show /tty/USB0 as found, or maybe only "no modem found". click on the "internet by dialup modem" button, to get to PupDial.

6. If no modem was found, try the "Probe", then "probe" buttons to attempt detection.

7. If /dev/ttyUSB0 is detected, enter whatever else you need and try to connect.

8. If not detected, at all, or unable to connect, please check a few things:
- In a console/terminal window, enter "lsmod" (without the quotes) and in its output look for a line starting with "option". (It should be there because you forced it to load.)
- In the file manager (ROX) verify that the following file exists: /etc/init.d/Option.
- Copy the following files to somewhere you can access to upload them as an attachment into a PM message to me:
/tmp/pupdial.log
/tmp/udevtrace-modems.log
/tmp/udevtrace.log
/var/log/messages

Let's hope all works as I intend. Eagerly awaiting your report.
Richard

puppydame
Posts: 3
Joined: Sun 15 Mar 2009, 06:20

internet key alcatel and huawey E160 with puppy

#7 Post by puppydame »

in italy these internet key usb modem are very used:

Internet Key Alcatel Essential this:
http://www.wind.it/it/telefoni/telefono ... ez=Privati
and this:

Internet Key Huawei E160 here:
http://www.wind.it/it/telefoni/telefono ... ez=Privati

how these usb key modem run with linux (puppy and ubuntu)?
have someone tried them?

(i ask this because my modem (dial up) Aztech CNR 2800-W (C1) eeprom doesn't run with puppy, and i must buy now a internet key usb modem)

thanks

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#8 Post by tempestuous »

daftdog wrote:This small program is a mode switching tool for controlling "flip flop" (multiple device) USB modems
Yes, rerwin includes the usb_modeswitch utility as part of his "3G_pupdial-wireless-7" dotpet package, available in the "Integration of 3G Wireless Modem Autodetection - Please Test" thread -
http://www.murga-linux.com/puppy/viewtopic.php?t=37828

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#9 Post by tempestuous »

puppydame wrote:Internet Key Alcatel Essential
...
Internet Key Huawei E160
...
how these usb key modem run with linux (puppy and ubuntu)?
Both of those wireless modems will work in Linux with the standard "usbserial" driver ... but only after being activated with the "usb_modeswith" utility.
rerwin has automated the setup process with his "3G_pupdial-wireless-7" dotpet package, available here -
http://www.murga-linux.com/puppy/viewtopic.php?t=37828

Post Reply