[ubuntu-za] wvdial and Huawei E220

Hannes Coetzee scorpking at scorpking.za.org
Mon Jul 23 07:36:28 UTC 2012


On 21/07/2012 20:34, Wesley Werner wrote:
> Hello,
>
> I need another pair of eyes or some fresh ideas.
>
> I have a 3G Huawei E220 modem. the thing works via network-manager's
> nm-applet, but not via wvdial. This is on a bare-bones WM without a
> panel/icons tray.
>
> wvdialconfg says 'no modem detected', but I manually configured it to my
> known-working device and it recognizes the ATZ commands. It fails with a
> 'invalid dial command'.
>
> I tried:
> - internet and vdata APN setting (virgin sim)
> - dial commands *99# and *99***1#
> - updating usb_modeswitch to latest version
>
> any tips? thanks :-)
>
>
> *full output*
>
> :~$ sudo wvdial thenet
> --> WvDial: Internet dialer version 1.60
> --> Cannot get information for serial port.
> --> Initializing modem.
> --> Sending: ATZ
> OK
> --> Sending: ATZ
> OK
> --> Sending: ATE0V1&D2&C1S0=0+IFC=2,2
> OK
> --> Sending: AT+CGDCONT=1,"IP","vdata"
> OK
> --> Modem initialized.
> --> Sending: ATDT*99***1#
> --> Waiting for carrier.
> ERROR
> --> Invalid dial command.
>
>
>
This is the wvdial.conf I used on 8.04 with my E220 modem.

#-------------------------------------------------------------------------------
[Dialer Defaults]
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","Internet",,0,0
Modem Type = USB Modem
Stupid Mode = 1
New PPPD = yes

#### ---- Use this modem setting for Vodafone USB Modems ---- ####
Modem = /dev/ttyUSB0
Baud = 460800

#### ---- Use this modem setting for Mobile phones ---- ####
#Modem = /dev/ttyACM0
#Baud = 9600

ISDN = 0
Carrier Check = no
Phone = *99***1#
Password = ''
Username = ''

#### ---- Just run sudo wvdial and enjoy! ---- ####

#-------------------------------------------------------------------------------



More information about the ubuntu-za mailing list