View Single Post
  #6 (permalink)  
Old 22-Apr-2009, 15:53
deano_ferrari deano_ferrari is online now
Wise Penguin
 
Join Date: Jun 2008
Location: NZ
Posts: 1,849
deano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura aboutdeano_ferrari has a spectacular reputation aura about
Default Re: Huawei E220 problems

@pdc_2: Thanks for kind words. I only know what I know because of experience with this particular device.

Hi fallenstar. I have same device but usually just connect via NetworkManager (thru knetworkmanager). No configuration required as login details etc are stored on card. However, after an update recently, NetworkManager broke and I was forced to revert to kinternet dialer (same method as for opensuse 10.X)for couple of days. It was just a matter of configuring modem via yast first (and making link /dev/modem --> /dev/ttyUSB0).

Now, I have tried wvdial occasionally to test modems (and configurations) in the past. I've just tried it now with my Vodafone Huawei device. I had to dial out as root, otherwise it complained about /dev/ttyUSB0 being busy. (Haven't has time to check, but I suspect user might need to be part of uucp group as well).

Quote:
linux:/home/dean # wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Idle Seconds = 300, disabling automatic reconnect.
--> Sending: ATDT0
--> Waiting for carrier.
My /etc/wvdial.conf for reference:

Quote:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Phone = 0
Idle Seconds = 300
Modem Type = Analog Modem
Stupid Mode = 1
Compuserve = 0
Baud = 9600
Auto DNS = 1
Dial Command = ATDT
Modem = /dev/ttyUSB0
ISDN = 0
Password = <your login pasword>
Username = <your login username>
BTW, dev/ttyUSB0 and /dev/ttyUSB1 both seem to work the same with this device. So, try running wvdial as root first. See how that works...
Reply With Quote