Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 06:27
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Dialup
How to install HUAWEI USB CDC MODEM (C300)?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [9 Posts]  
Author Message
rajesh009

Joined: 05 Mar 2009
Posts: 4

PostPosted: Thu 05 Mar 2009, 03:25    Post subject:  How to install HUAWEI USB CDC MODEM (C300)?  

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
Back to top
View user's profile Send private message 
Patriot


Joined: 15 Jan 2009
Posts: 734

PostPosted: Thu 05 Mar 2009, 11:27    Post subject:  

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-to-internet-using-huawei.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
Back to top
View user's profile Send private message 
dejan555


Joined: 30 Nov 2008
Posts: 2648
Location: Montenegro

PostPosted: Thu 05 Mar 2009, 12:34    Post subject:  

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:

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:
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.

_________________


Back to top
View user's profile Send private message Visit poster's website MSN Messenger 
rerwin


Joined: 24 Aug 2005
Posts: 1513
Location: Maine, USA

PostPosted: Fri 06 Mar 2009, 20:00    Post subject:  

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/viewtopic.php?p=266979#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:
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
Back to top
View user's profile Send private message 
daftdog


Joined: 21 Jun 2006
Posts: 120
Location: Western Australia

PostPosted: Sat 07 Mar 2009, 06:48    Post subject: usb_modeswitch  

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
Back to top
View user's profile Send private message 
rerwin


Joined: 24 Aug 2005
Posts: 1513
Location: Maine, USA

PostPosted: Sun 08 Mar 2009, 19:39    Post subject: Added your modem to wireless-integration package  

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/viewtopic.php?p=282258#282258
and the download posting is here:
http://www.murga-linux.com/puppy/viewtopic.php?p=266979#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
Back to top
View user's profile Send private message 
puppydame

Joined: 15 Mar 2009
Posts: 3

PostPosted: Sun 15 Mar 2009, 03:25    Post subject: internet key alcatel and huawey E160 with puppy
Subject description: Internet Key Alcatel Essential - Internet Key Huawei E160
 

in italy these internet key usb modem are very used:

Internet Key Alcatel Essential this:
http://www.wind.it/it/telefoni/telefono86.phtml?sez=Privati
and this:

Internet Key Huawei E160 here:
http://www.wind.it/it/telefoni/telefono85.phtml?sez=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
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5245
Location: Australia

PostPosted: Sun 15 Mar 2009, 06:15    Post subject:  

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
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5245
Location: Australia

PostPosted: Sun 15 Mar 2009, 06:17    Post subject:  

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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [9 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Dialup
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0743s ][ Queries: 12 (0.0044s) ][ GZIP on ]