Is it a card, or a USB "dongle" that you're using?
If it is the latter, then you won't need any drivers, but will need to use a utility to make the connection. There is a
free utility to do this, though I haven't used it personally so can't vouch for it. I do have a Vodafone Huawei E220, and connect using
wvdial, which should be available through your packet manager if it's not already installed. My
wvdial.conf file contains:
Code:
[Dialer Defaults]
Phone = *99***16#
Username = web
Password = web
Stupid Mode = 1
Dial Command = ATDT
Auto DNS = 0
Modem = /dev/ttyUSB0
[Dialler huawei]
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT+CGDCONT=1,"IP","Internet"
ISDN = 0
Modem Type = Analog Modem
I also have the following rule set up for udev (
/etc/udev/rules.d/99-huawei.rules) (shouldn't be necessary with newer kernels, but was needed when I first got my dongle, allow the device to be accessed as a modem rather than a CD-ROM drive).
Code:
##
#
# udev rule for HUAWEI E220 3G HSDPA Modem
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# (c)opyleft OOZIE < oozie@poczta.fm >
#
# This file prevents the pseudo scsi cdrom device from enabling,
# thus providing a workaround for kernel versions < 2.6.20
#
##
SUBSYSTEM=="block", \
ACTION=="add", \
SYSFS{idVendor}=="12d1", \
SYSFS{idProduct}=="1003", \
IMPORT{program}="/usr/local/bin/huawei-mobile.sh", \
OPTIONS="ignore_device"
/usr/local/bin/huawei-mobile.sh contains:
Code:
#!/bin/bash
#
# (c)opyleft 2007 by 00ZIE <oozie@poczta.fm>
#
# This software gives you no warranty whatsoever, you can copy and modify
# it under terms and conditions of GPLv2 or later available at
#
# http://www.gnu.org/licences/gpl.txt
#
# This is the executable part of the workaround udev-rule for
# HUAWEI 220 modem on kernels prior to 2.6.20
#
# The latest version of this script and many more can be found there:
# http://oozie.fm.interia.pl/pro/huawei-e220/
#
####
export LOG=/dev/null
#
# If you experiece a wierd problem and want to contribute
# please change the value of $LOG variable to /tmp/huawei.log
# or so and send the file to me. Thanks!
#
export CONFIGFILE=/root/.huawei-config
#
# the $CONFIGFILE variable is created to give a possibility
# of executing arbitrary commands just after the device is
# enabled. (e.g. wvdial --config /etc/wvdial-3ireland.conf)
#
(
uname -a
/sbin/modprobe usbserial vendor=0x12d1 product=0x1003
test -e $CONFIGFILE && ( . $CONFIGFILE ) &
#
# If found $CONFIGFILE will be executed in the background,
# otherwise it could possibly slow down execution of other
# udev rules.
#
) 2>&1 >> $LOG