How can I set up the Huawei E220 vodafone USB box?
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
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
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:
the "rmmod usbserial" SHOULD produce an error,
then, plug in the modem.
type
this file lists all usb-devices. look for huawei, and notice the line:
now, enter
(or you according product number)
/var/log/messages should show something like this:
yes! The modem is now /dev/usb/ttyUSB0.
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: Select all
rmmod usb-storage
rmmod usbserial
Code: Select all
ERROR: Module usbserial does not exist in /proc/modules
type
Code: Select all
cat /proc/bus/usb
Code: Select all
P: Vendor=12d1 ProdID=1003 Rev= 0.00
Code: Select all
modprobe usbserial vendor=0x12d1 product=0x1003
/var/log/messages should show something like this:
Code: Select all
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
Last edited by wescht on Fri 09 Mar 2007, 20:11, edited 1 time in total.
playing around for a while, I got it!!!
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!
the "Cannot open" lines are because at the same time the following happens:
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?
Code: Select all
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
edit the huewei_e220 - section from the wvdial.conf above to:
Modem = /dev/usb/ttyUSB0
it connects to the modem!
Code: Select all
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
Code: Select all
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
Last edited by wescht on Fri 09 Mar 2007, 20:15, edited 1 time in total.
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: Select all
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#
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")
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")
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
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
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:
The system's messagess log file gives me something similar to this:
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: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
Thank you.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
-
- Posts: 1
- Joined: Fri 25 Jul 2008, 14:31
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
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
-
- Posts: 12
- Joined: Mon 29 Sep 2008, 09:44
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:
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: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 am using teen pup. and I am getting the same as above.
did anyone find a solution?
Thank you.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
i made a simple bash script and post some instructions to modify it here
http://www.murga-linux.com/puppy/viewtopic.php?t=37793
http://www.murga-linux.com/puppy/viewtopic.php?t=37793
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].