[ILUG] Huawei e220 on Ubuntu Hardy
Gareth 'bigbro' Eason
bigbro at skynet.ie
Mon Sep 22 10:31:04 IST 2008
john Moylan wrote:
> My modem stopped working with Hardy and gnome-ppp for no apparent reason.
> I finall got it working again using UMTSMON.sf.net (highly recommended.)
>
> Howto for use with builtin DELL 3G modem below. You may be able to skip the
> module bits if you are using the USB Huawei, I think the kernel recognises
> it anyway.:
[snip]
Have been using an E220, an E270 and the Dell built in Novatel Wireless
HSDPA Modem on Linux (Ubuntu 7.x and 8.04) without problems.
On Ubuntu 8.04, I have removed ALL trickery re module loading, as far
as I can remember. It seems that the device IDs are now in the kernel,
and a modern kernel should recognise the devices correctly, loading them
as HSDPA/HSUPA/3G modems, rather than mass storage devices.
For reference, here's my wvdial.conf, which has all three operators in
Ireland working (or did have, last I tested.) Defaults to O2 which is
the SIM I most often have installed, but 'wvdial vodafone' or 'wvdial
three' will merrily use the respective operators, as required.
root at lynx:~# cat /etc/wvdial.conf
[Dialer Defaults]
Phone = *99#
Username = O2
Password = password
New PPPD = Yes
Stupid Mode = 1
Dial Command = ATDT
Baud = 460800
Init = ATZ
Init1 = AT
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init5 = AT+CGDCONT=1,"IP","open.internet";
ISDN = 0
Modem Type = USB Modem
Modem = /dev/ttyUSB0
[Dialer reset]
Modem = /dev/ttyUSB0
Init1 = AT
[Dialer o2]
Phone = *99#
Username = O2
Password = password
New PPPD = Yes
Stupid Mode = 1
Dial Command = ATDT
Baud = 460800
Init = ATZ
Init1 = AT
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init5 = AT+CGDCONT=1,"IP","open.internet";
ISDN = 0
Modem Type = USB Modem
[Dialer vodafone]
Modem = /dev/ttyUSB0
#Phone = *99***1#
Phone = *99#
Username = vodafone
Password = password
New PPPD = Yes
Stupid Mode = 1
Dial Command = ATDT
Baud = 460800
Init = ATZ
Init1 = AT
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init5 = AT+CGDCONT=1,"IP","vodafone.ie";
ISDN = 0
Modem Type = USB Modem
[Dialer three]
Phone = *99#
Username = three
Password = three
Stupid Mode = 1
Dial Command = ATDT
Modem = /dev/ttyUSB2
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem
Init5 =AT+CGDCONT=1,"IP","3ireland.ie";
Modem Type = USB Modem
Best regards,
-->Gar
More information about the ILUG
mailing list