| Author |
Message |
SFTMartin
Joined: 30 Aug 2006 Posts: 7
|
Posted: Fri 10 Nov 2006, 18:04 Post subject:
How can I set up the Huawei E220 vodafone USB box? |
|
Hallo,
I have a Huawei E220 Vodafone " Internet Connect Box" This works fine for windows and OSX but I want to use it for my puppy. I found a link
http://the.taoofmac.com/space/Huawei/E220 with some info which I couldn´t work out how to use for Puppy. Has anyone used this equipment successfully on Puppy--can anyone assist ?
TIA
Martin
|
|
Back to top
|
|
 |
wescht
Joined: 18 Jan 2007 Posts: 15
|
Posted: Fri 09 Mar 2007, 14:04 Post subject:
|
|
EDIT: totally redone this Post.
The point is, puppy detects an usb-storage (which contains the drivers for windows) and stops detecting. But the device not detected is the actual modem ... so you have to do following:
| Code: | rmmod usb-storage
rmmod usbserial |
the "rmmod usbserial" SHOULD produce an error,
| Code: | | ERROR: Module usbserial does not exist in /proc/modules |
then, plug in the modem.
type
this file lists all usb-devices. look for huawei, and notice the line:
| Code: | | P: Vendor=12d1 ProdID=1003 Rev= 0.00 |
now, enter
| Code: | | modprobe usbserial vendor=0x12d1 product=0x1003 |
(or you according product number)
/var/log/messages should show something like this:
| Code: | Mar 9 21:10:09 (none) user.info kernel: usbcore: registered new driver usbserial
Mar 9 21:10:09 (none) user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Mar 9 21:10:09 (none) user.info kernel: usbserial_generic 1-1:1.0: generic converter detected
Mar 9 21:10:10 (none) user.info kernel: usb 1-1: generic converter now attached to ttyUSB0
Mar 9 21:10:10 (none) user.info kernel: usbcore: registered new driver usbserial_generic
Mar 9 21:10:10 (none) user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
|
yes! The modem is now /dev/usb/ttyUSB0.
Last edited by wescht on Fri 09 Mar 2007, 16:11; edited 1 time in total
|
|
Back to top
|
|
 |
wescht
Joined: 18 Jan 2007 Posts: 15
|
Posted: Fri 09 Mar 2007, 15:15 Post subject:
|
|
playing around for a while, I got it!!!
| Code: | Mar 9 19:59:57 (none) user.info kernel: usb 1-2: new full speed USB device using uhci_hcd and address 8
Mar 9 19:59:58 (none) user.info kernel: usb 1-2: configuration #1 chosen from 1 choice
Mar 9 19:59:58 (none) user.info kernel: usbserial_generic 1-2:1.0: generic converter detected
Mar 9 19:59:58 (none) user.info kernel: usb 1-2: generic converter now attached to ttyUSB0
|
put the wvdial.conf from the first post on http://www.mybroadband.co.za/vb/showthread.php?t=21726 (well ... ok: here is the direct link: http://www.insync.za.net/3g_docs/wvdial.conf ) into /etc e.g. /etc/wvdial.conf
edit the huewei_e220 - section from the wvdial.conf above to:
Modem = /dev/usb/ttyUSB0
it connects to the modem!
| Code: | sh-3.00# wvdial huewai_e220
--> WvDial: Internet dialer version 1.42
--> Initializing modem.
--> Sending: ATZ
--> Modem not responding.
--> Cannot open /dev/usb/ttyUSB0: No such device
--> Cannot open /dev/usb/ttyUSB0: No such device
|
the "Cannot open" lines are because at the same time the following happens:
| Code: | Mar 9 20:01:27 (none) user.info kernel: usb 1-2: USB disconnect, address 8
Mar 9 20:01:27 (none) user.info kernel: generic ttyUSB0: generic converter now disconnected from ttyUSB0
Mar 9 20:01:27 (none) user.info kernel: usbserial_generic 1-2:1.0: device disconnected
Mar 9 20:01:47 (none) user.info kernel: usb 1-2: new full speed USB device using uhci_hcd and address 9
Mar 9 20:01:48 (none) user.info kernel: usb 1-2: configuration #1 chosen from 1 choice
Mar 9 20:01:48 (none) user.info kernel: usbserial_generic 1-2:1.0: generic converter detected
Mar 9 20:01:48 (none) user.info kernel: usb 1-2: generic converter now attached to ttyUSB0
|
so, at the time the wvdial tries to connect, the usb modem disconnects, and reconnects some (usually 10 to 20) seconds later. What could I do?
Last edited by wescht on Fri 09 Mar 2007, 16:15; edited 1 time in total
|
|
Back to top
|
|
 |
wescht
Joined: 18 Jan 2007 Posts: 15
|
Posted: Fri 09 Mar 2007, 15:26 Post subject:
|
|
after trying to connect once, and letting the device reconnect (by itself; it does this after 10-20 seconds after disconnecting), is does not disconnect any more. But it still does not respond:
| Code: | sh-3.00# wvdial huewai_e220
--> WvDial: Internet dialer version 1.42
--> Initializing modem.
--> Sending: ATZ
--> Modem not responding.
--> Cannot open /dev/usb/ttyUSB0: No such device
--> Cannot open /dev/usb/ttyUSB0: No such device
sh-3.00# wvdial huewai_e220
--> WvDial: Internet dialer version 1.42
--> Initializing modem.
--> Sending: ATZ
--> Modem not responding.
--> Initializing modem.
--> Sending: ATZ
--> Modem not responding.
--> Initializing modem.
--> Sending: ATZ
--> Modem not responding.
sh-3.00#
|
|
|
Back to top
|
|
 |
wescht
Joined: 18 Jan 2007 Posts: 15
|
Posted: Fri 16 Mar 2007, 15:57 Post subject:
|
|
try to have the modem connected at the time you boot - this worked for me!
then, create a file "/etc/ppp/peers/wvdial" containing the line "defaultroute" (I don't know if this file can also be empty - just try)
do the above changes (change /dev/ttyUSB0 to /dev/usb/ttyUSB0 in wvdial.conf)
then, "wvdial huewai_e220" - it worked for me! (If it doesn't: make sure the pin is deactivated - can be done using the windows software, or edit the pin in the [pin]-section of wvdial.conf and call "wvdial pin huewai_e220")
|
|
Back to top
|
|
 |
kultex
Joined: 17 Nov 2007 Posts: 39
|
Posted: Sat 17 Nov 2007, 16:09 Post subject:
|
|
Hallo,
I am totally new to Puppy. I installed puppy to the harddisk
What I have to do, that the modem is recognized correctly at boot? I do not want to type
modprobe usbserial vendor=0x12d1 product=0x1003 (thats the only thing you have to type)
EDIT: strange - this works only, if you reboot without putting another networkcard in the meantime to the compter - if you do so - you have to type also
rmmod usb-storage
rmmod usbserial
EDIT
again.
If you have the modem work correctly, it is easier to connect through ppp and chat-scripts
there is a very good howto here: http://linux.frankenberger.at/Huawei_E220.html
you only have to change /dev/ttyUSB0 to /dev/usb/ttyUSB0
|
|
Back to top
|
|
 |
fargo
Joined: 10 Jan 2008 Posts: 8
|
Posted: Fri 25 Jan 2008, 11:14 Post subject:
|
|
I'm trying to setup 3G USB modem under puppy. wvDial gives "Modem not responding" after trying to send ATZ initializing command.
The system's messagess log file gives me something similar to this:
| Quote: | Mar 9 21:10:09 (none) user.info kernel: usbcore: registered new driver usbserial
Mar 9 21:10:09 (none) user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Mar 9 21:10:09 (none) user.info kernel: usbserial_generic 1-1:1.0: generic converter detected
Mar 9 21:10:10 (none) user.info kernel: usb 1-1: generic converter now attached to ttyUSB0
Mar 9 21:10:10 (none) user.info kernel: usbcore: registered new driver usbserial_generic
Mar 9 21:10:10 (none) user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core |
I have the feeling that the use of "generic serial convertor" is the problem. So, any help on how to move one step farther to have something similar to this:
| Quote: | Mar 9 19:59:57 (none) user.info kernel: usb 1-2: new full speed USB device using uhci_hcd and address 8
Mar 9 19:59:58 (none) user.info kernel: usb 1-2: configuration #1 chosen from 1 choice
Mar 9 19:59:58 (none) user.info kernel: usbserial_generic 1-2:1.0: generic converter detected
Mar 9 19:59:58 (none) user.info kernel: usb 1-2: generic converter now attached to ttyUSB0 |
Thank you.
|
|
Back to top
|
|
 |
goofyas007
Joined: 25 Jul 2008 Posts: 1
|
Posted: Fri 25 Jul 2008, 10:46 Post subject:
handy tool for the Huawei E220 |
|
Guys,
for a nice interface to control the Huawei E220 check this out.
http://umtsmon.sourceforge.net/
I've been using it quit intensive & I think it's a good add on for controlling the Huawei
|
|
Back to top
|
|
 |
johnh10000
Joined: 29 Sep 2008 Posts: 12
|
Posted: Sat 24 Jan 2009, 08:50 Post subject:
huawei e220 3 usb box |
|
| fargo wrote: | I'm trying to setup 3G USB modem under puppy. wvDial gives "Modem not responding" after trying to send ATZ initializing command.
The system's messagess log file gives me something similar to this:
| Quote: | Mar 9 21:10:09 (none) user.info kernel: usbcore: registered new driver usbserial
Mar 9 21:10:09 (none) user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Mar 9 21:10:09 (none) user.info kernel: usbserial_generic 1-1:1.0: generic converter detected
Mar 9 21:10:10 (none) user.info kernel: usb 1-1: generic converter now attached to ttyUSB0
Mar 9 21:10:10 (none) user.info kernel: usbcore: registered new driver usbserial_generic
Mar 9 21:10:10 (none) user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core |
I have the feeling that the use of "generic serial convertor" is the problem. So, any help on how to move one step farther to have something similar to this:
I am using teen pup. and I am getting the same as above.
did anyone find a solution?
Thank you. |
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Sat 24 Jan 2009, 10:47 Post subject:
|
|
Hi guys
Try this
http://www.murga-linux.com/puppy/viewtopic.php?t=37828
Aitch
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Sat 24 Jan 2009, 11:55 Post subject:
|
|
i made a simple bash script and post some instructions to modify it here
http://www.murga-linux.com/puppy/viewtopic.php?t=37793
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
|