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 Sat 19 Jan 2019, 09:27
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Networking » Wireless
How to use Huawei USB Modem E220?
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [40 Posts]   Goto page: 1, 2, 3 Next
Author Message
Jan E

Joined: 04 Jan 2006
Posts: 19

PostPosted: Sun 22 Jun 2008, 17:10    Post subject:  How to use Huawei USB Modem E220?  

Is there anyone that has been able to connect the Huawei USB modem to a puppy?
usb_pic.JPG
 Description   picture of the modem
 Filesize   9.29 KB
 Viewed   8784 Time(s)

usb_pic.JPG

Back to top
View user's profile Send private message MSN Messenger 
Aitch


Joined: 04 Apr 2007
Posts: 6815
Location: Chatham, Kent, UK

PostPosted: Sun 22 Jun 2008, 20:19    Post subject:  

Hi, Jan E

see the posts by wescht here;

http://www.murga-linux.com/puppy/viewtopic.php?t=12603

I believe this was puppy v3.01, but I can't say for puppy v4/dingo

try it!

Aitch Smile
Back to top
View user's profile Send private message 
kjoe

Joined: 25 Jul 2007
Posts: 27
Location: Austria

PostPosted: Tue 24 Jun 2008, 20:12    Post subject:  

Hi Jan E,

I am using puppy 4 and I've got the modem working based on a script.
For more information see

http://www.murga-linux.com/puppy/viewtopic.php?p=209496

Hope thats useful for you.

kjoe
Back to top
View user's profile Send private message 
whooa

Joined: 27 May 2008
Posts: 3

PostPosted: Wed 25 Jun 2008, 12:56    Post subject:  

Try DSL(DamnSmallLinux) instead, it works directly off the live cd. Puppy is not worth the effort, I struggled for several days getting it to recognize hua wei e220 correct.

At boot prompt DSL, give command dsl toram and DSL will run in your ram memory(lang={sk} will give you the correct keyboard as well). When booted, open terminal(Aterm) and command sudo moodprobe usbserial vendor=0x12d1 product=0x1003, set up a connection using program dialupPPP(choose chap) and you are connected. Otherwise, give xubuntu a try, it works after giving command sudo modprobe -r uhci_hcd and then sudo modprobe uhci_hcd. Use the wvdial you configured.

//Peter, sweden.
Back to top
View user's profile Send private message 
ecube


Joined: 11 Jul 2008
Posts: 88
Location: Västerås, Sweden

PostPosted: Fri 10 Oct 2008, 04:29    Post subject: Solved  

To my surprise I was able to connect my E220 modem by PupDial in Puppy 4.1, without any problems. No username or password were needed only phone-number (#99***1#).

Give it a try!
Ecube Surprised
e220modem.jpg
 Description   
 Filesize   80.71 KB
 Viewed   7011 Time(s)

e220modem.jpg


Last edited by ecube on Fri 10 Oct 2008, 08:04; edited 1 time in total
Back to top
View user's profile Send private message 
Aitch


Joined: 04 Apr 2007
Posts: 6815
Location: Chatham, Kent, UK

PostPosted: Fri 10 Oct 2008, 06:09    Post subject:  

Well done ecube

Would you like to let other people searching, know that you succeeded?
Just edit [blue icon top right] your original post to show 'Solved' in the subject line & your done

thanks & welcome to the kennels

who needs dsl when you have puppy? eh? Wink

Aitch Smile
Back to top
View user's profile Send private message 
kjoe

Joined: 25 Jul 2007
Posts: 27
Location: Austria

PostPosted: Fri 19 Dec 2008, 18:17    Post subject: problem with modem detection by PupDial solved  

Hi Ecube,

I gave it a try (using puppy 4.1.2) but did not succeed at this time. PupDial could not detect the modem. It seems that it is primarily recognized as an USB storage drive. For instance I get an optical drive icon after plugging in the modem.

But entering the following line into the console did fix the problem:

modprobe usbserial vendor=0x12d1 product=0x1003

PupDial now could detect the modem. I just entered the right phone number (*99# in my case) and here I am.

Thank you, Ecube, for reporting that PupDial was working for you. Using this is much easier than modifying the script I've mentioned some months ago (see above).

kjoe

(@whooa: maybe this brings you back to puppy ... Wink )
Back to top
View user's profile Send private message 
plumtreed

Joined: 07 Dec 2008
Posts: 68
Location: Australia

PostPosted: Thu 01 Jan 2009, 06:04    Post subject:  

A great way to start the new year and I would like to thank Kjoe and other forum participants for the freely provided advice! Lets face it, without being able to connect to the net, an OS is of little value.

With the info given I was able to get on the net in the UK via the '3' 3G network. Just adding that line in a terminal made it happen. After that I just followed the prompts in the gprs GUI, using /dev/ttyUSB0; 3internet as the APN; 'three' as user & password, '1234' as pin.

I had to make the connection attempt 2 to 3 times but this can also happen with my usual, Ubuntu, OS. I was elated when it scored!

Thanks everybody!

(Using Puppy 4.1.2; E160G USB Modem; '3' UK mobile broadband)
Back to top
View user's profile Send private message 
rerwin


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

PostPosted: Thu 01 Jan 2009, 16:14    Post subject:  

kjoe, et al,
Quote:
But entering the following line into the console did fix the problem:

modprobe usbserial vendor=0x12d1 product=0x1003


If this is the only remaining obstacle to fully automated detection of this device, maybe I can contribute. I have just learned about the udev rules that puppy now uses to set up drivers for the devices -- and am now really dangerous!

Although I cannot test it, could you try adding a new rule file to issue the special modprobe command for the device? Just create a new file in /etc/udev/rules.d and call it:
30-udev-usb-serial-modem.rules
Code:
#Huawei USB Modem E220
#SYSFS{vendor}=="0x12d1", SYSFS{device}=="0x1003" RUN+="modprobe -r usbserial"
SYSFS{vendor}=="0x12d1", SYSFS{device}=="0x1003" RUN+="modprobe usbserial vendor=0x12d1 product=0x1003"
(Do not break up the three lines.)
If it does not work as expected, try uncommenting the "#SYSFS" line and rebooting. This all assumes the device is plugged in at bootup. I have not experimented with hotplug detection, but suspect that prepending whatever SYSFS lines you end up using, with:
ACTION=="add",

might handle plugging in while running. Thanks for any help you provide.
Richard
Back to top
View user's profile Send private message 
scotto_puppy


Joined: 22 Mar 2007
Posts: 39
Location: Elvina Bay, NSW,Australia

PostPosted: Thu 01 Jan 2009, 17:00    Post subject:  

I have been reading with great interest all of the entries in this section of the forum. I am using puppy 4.1.2, have a huawei 220 wireless modem and have tried to follow all the steps outlined.
What I have done: I thought I had blacklisted my internal modem and after rebooting the BootManager shows it is blacklisted. I have run the command modprobe usbserial vendor=0x12d1 product=0x1003 in a terminal window.
When I go into PupDial and re-probe the modem I get the only device selected as /dev/ttySL0 rather than my usb modem.
I am sure it is my ignorance that is causing this to be a problem and I hope you might be able to put me straight!
Back to top
View user's profile Send private message 
plumtreed

Joined: 07 Dec 2008
Posts: 68
Location: Australia

PostPosted: Thu 01 Jan 2009, 18:17    Post subject:  

Scotto, I type in /dev/ttyUSB0 only because it was declared the 'device' by other operating systems, Ubuntu, Knoppix, and successfully!

Try it, Confused
Back to top
View user's profile Send private message 
scotto_puppy


Joined: 22 Mar 2007
Posts: 39
Location: Elvina Bay, NSW,Australia

PostPosted: Thu 01 Jan 2009, 19:22    Post subject:  

plumtreed wrote:
Scotto, I type in /dev/ttyUSB0 only because it was declared the 'device' by other operating systems, Ubuntu, Knoppix, and successfully!

Try it, Confused

Sounds good! But where do you type it?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6750
Location: hobart

PostPosted: Thu 01 Jan 2009, 20:13    Post subject:  

scotto_puppy,

after running modprobe usbserial vendor=0x12d1 product=0x1003, have you tried running pupdial & then running Probe to rescan for modems?
Back to top
View user's profile Send private message 
scotto_puppy


Joined: 22 Mar 2007
Posts: 39
Location: Elvina Bay, NSW,Australia

PostPosted: Thu 01 Jan 2009, 21:17    Post subject:  

muggins wrote:
scotto_puppy,

after running modprobe usbserial vendor=0x12d1 product=0x1003, have you tried running pupdial & then running Probe to rescan for modems?

Hi Muggins

You were absolutely correct! I am so impressed that puppy can now use my wireless modem. Fantastic resurrection of a ten year old laptop.
BUT: One small hiccup. I seem to have to run the modprobe command on each reboot. Is there a way to avoid this?
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5472
Location: Australia

PostPosted: Fri 02 Jan 2009, 05:11    Post subject:  

rerwin, before you delve too deeply into pupevent, let me add something to the mix;
under recent kernels there is a module called "option" which works as a "helper" module with usbserial.
From what I've read, the option module is compatible with with most usb modems. Indeed, if you run "modinfo option" you will see that the option module is compatible with the Huawei e220: vendor/product 12d1 1003 is listed.
And since the option module specifies vendor/product ID's, it's no longer necessary to load the usbserial module with forced device recognition.

EDIT:
The Huawei E220 wireless modem is known by several different USB device id's.
12d1:1003 is recognised by the "option" module, but with other USB device ID's it may be necessary to use the old-fashioned method of loading the "usbserial" module with the correct USB ID's specified, as explained by forum member wescht here -
http://www.murga-linux.com/puppy/viewtopic.php?p=102973#102973

Last edited by tempestuous on Sun 15 Mar 2009, 00:19; edited 1 time in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [40 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Networking » Wireless
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.0689s ][ Queries: 12 (0.0186s) ][ GZIP on ]